Commits


Hatem Helal authored and Sutou Kouhei committed 34e2fd658a8
ARROW-5638: [C++][CMake] Fixes for xcode project builds This patch fixes the following build failures with Xcode projects generated with the `-G Xcode` option for Cmake: * Link failure with google test * Cmake error with `ARROW_GANDIVA_JAVA` * Build failure for lz4_ep This patch effectively disables the ability to do multi-configuration builds with the generated Xcode project and makes them behave more like a single-configuration Makefile driven build. I see no problem with this as supporting it would add a lot of extra complexity to the rest of the build system and one can always generate multiple projects with different configurations as needed. Closes #5046 from hatemhelal/arrow-5638 and squashes the following commits: 86de87920 <Sutou Kouhei> Close CMAKE_BUILD_TYPE related codes b9417f7f9 <Hatem Helal> Move UPPERCASE_BUILD_TYPE definition and also rebase w/ master ad7f8826a <Hatem Helal> Code review feedback afd5d032b <Hatem Helal> cmake-format changes 04485e127 <Hatem Helal> update xcode example to include CMAKE_BUILD_TYPE 6576e970a <Hatem Helal> Pass CMAKE_SYSTEM_NAME when building lz4 for xcode project support 35e771164 <Hatem Helal> Fixes for xcode project builds Lead-authored-by: Hatem Helal <hhelal@mathworks.com> Co-authored-by: Hatem Helal <hatem.helal@gmail.com> Co-authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>