[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

Re: [CMake] ExternalProject, continuous integration and caching builds

2018-09-05 Thread Antoine Pitrou
Le 05/09/2018 à 14:37, Antoine Pitrou a écrit : > >> When AppVeyor restores the cached directories and files, does it also >> preserve their timestamps? If not, that might explain why it always >> rebuilds. > > I do not know. I've found out this utility: >

Re: [CMake] ExternalProject, continuous integration and caching builds

2018-09-05 Thread Antoine Pitrou
Le 05/09/2018 à 14:28, Craig Scott a écrit : > > > On Wed, Sep 5, 2018 at 9:56 PM, Antoine Pitrou <mailto:anto...@python.org>> wrote: > > > Hello, > > On our project (Apache Arrow - https://arrow.apache.org/) we're using > CMake for t

[CMake] ExternalProject, continuous integration and caching builds

2018-09-05 Thread Antoine Pitrou
Hello, On our project (Apache Arrow - https://arrow.apache.org/) we're using CMake for the C++ source tree and have many external dependencies fetched using ExternalProject. In turn building those dependencies can make up a significant portion of build times on CI services, especially AppVeyor.