[CMake] When CMake re-runs with Ninja on Windows, it switches to Debug build type

2019-05-29 Thread Antoine Pitrou
Hello, I am having a weird issue on Windows when Ninja is used as a generator. As you can see below: https://ci.appveyor.com/project/pitrou/arrow/build/job/owq89j34spl9hy4d#L584 the build is first configured in Release mode as requested on the command-line. But for some reason CMake decides t

[CMake] FindBoost / boost-cmake

2019-05-29 Thread Giesecke, Simon
Hi, we are using the FindBoost module, and unfortunately it seems to be very slow under Windows. find_package(boost ...) is called at various places in imported projects with different COMPONENTS and each use takes about 30 seconds, causing the total CMake run to take up to 10 minutes. In the

[CMake] hiding targets from cmake build?

2019-05-29 Thread hex
In cmake mark_as_advanced will not display variables in any of the cmake GUIs unless the show advanced option is on. I wonder if there is an equivalent for build targets? I have a bunch of custom_targets custom_a, custom_b, custom_c, ... which all depend on custom_all I don't want all target