Re: [CMake] What is --build-two-config good for

2018-12-06 Thread Torsten
Hi Robert, > Am 06.12.2018 um 15:26 schrieb Robert Maynard : > > It is possible to have CMake projects where an initial configuration of the > project is insufficient for it to be in a valid state. This is generally > caused by a project which evaluates variables before they exist and saved >

Re: [CMake] What is --build-two-config good for

2018-12-06 Thread Robert Maynard via CMake
It is possible to have CMake projects where an initial configuration of the project is insufficient for it to be in a valid state. This is generally caused by a project which evaluates variables before they exist and saved into the cache. By running CMake a second time for these projects the evalua

[CMake] What is --build-two-config good for

2018-12-05 Thread Torsten Robitzki
Hello, can someone of you tell me, what the purpose of the CTest —build-two-config command line option is? The documentation says, that it is part of the CTest Build and Test Mode and that it will cause CTest to run CMake twice. I’ve checked the code and yes, it does exactly this. But why? What