[cmake-developers] Alternate if() without implicit variable expansion

Brad King brad.king at kitware.com
Fri Sep 5 11:28:51 EDT 2014


On 09/05/2014 10:17 AM, Nils Gladitz wrote:
>>> On 09/05/2014 03:31 PM, Brad King wrote:
>>
>> I think the description of RunCMake can just be updated.
>> All of its tests are about running "cmake" command lines.
> 
> So you see no advantage to having the distinction?
> 
> E.g. if you consider testing a set of generators (or variants of the 
> same generator) possibly non-native and distinct from the generator 
> being used to build cmake itself it might make sense to run tests which 
> perform configuration once for each of those but script mode tests would 
> only have to be run once.

RunCMake already has tests of both types, so if we want to make
such a distinction then a lot more work is needed.

Using CMake_TEST_EXTERNAL_CMAKE we already have a few dashboards
that run the CMake test suite using a different generator/compiler
than was used to build CMake.  The tests that are independent of
the compiler/generator tend to be very small and very fast so it
does not hurt to run them again.

-Brad




More information about the cmake-developers mailing list