CMake/Tests/RunCMake/GeneratorExpression
Stephen Kelly 4bacff7a4c GenEx: Test early determination of AND and OR
It should be possible for example to do this:

 "$<AND:${FOO},$<BOOL:${TGT}>,$<BOOL:$<TARGET_PROPERTY:${TGT},PROP>"

such that it works simliarly to the C code:

 if (foo && tgt && tgt->prop())
   {
   }

The example of generator expression code is a little bit contrived as
it could be written other ways with the same functionality. Nevertheless,
as these cases already work and are intentional, test for them.
2012-10-20 14:23:47 +02:00
..
BadAND-result.txt Add boolean generator expressions 2012-08-15 11:44:49 -04:00
BadAND-stderr.txt GenEx: Test early determination of AND and OR 2012-10-20 14:23:47 +02:00
BadAND.cmake GenEx: Test early determination of AND and OR 2012-10-20 14:23:47 +02:00
BadCONFIG-result.txt Add $<CONFIG:...> boolean query generator expression 2012-08-15 11:44:49 -04:00
BadCONFIG-stderr.txt cmGeneratorExpression: Re-write for multi-stage evaluation 2012-09-18 17:02:23 -04:00
BadCONFIG.cmake cmGeneratorExpression: Re-write for multi-stage evaluation 2012-09-18 17:02:23 -04:00
BadNOT-result.txt Add boolean generator expressions 2012-08-15 11:44:49 -04:00
BadNOT-stderr.txt GenEx: Parse comma after colon tokens specially 2012-10-09 08:26:43 -04:00
BadNOT.cmake cmGeneratorExpression: Re-write for multi-stage evaluation 2012-09-18 17:02:23 -04:00
BadOR-result.txt Add boolean generator expressions 2012-08-15 11:44:49 -04:00
BadOR-stderr.txt GenEx: Test early determination of AND and OR 2012-10-20 14:23:47 +02:00
BadOR.cmake GenEx: Test early determination of AND and OR 2012-10-20 14:23:47 +02:00
BadStrEqual-result.txt GenEx: Parse comma after colon tokens specially 2012-10-09 08:26:43 -04:00
BadStrEqual-stderr.txt GenEx: Parse comma after colon tokens specially 2012-10-09 08:26:43 -04:00
BadStrEqual.cmake GenEx: Parse comma after colon tokens specially 2012-10-09 08:26:43 -04:00
CMakeLists.txt Add boolean generator expressions 2012-08-15 11:44:49 -04:00
RunCMakeTest.cmake GenEx: Parse comma after colon tokens specially 2012-10-09 08:26:43 -04:00