CMake/Tests/RunCMake/GeneratorExpression
Stephen Kelly b3d8f5dab7 GenEx: Parse comma after colon tokens specially
Otherwise the comma is treated as plain text by ParseContent.

$<STREQUAL:,> should be valid and true.
$<STREQUAL:,something> should be valid and false.

$<STREQUAL:,,> should be non-valid as it is 3 parameters.
$<STREQUAL:something,,> should be non-valid as it is 3 parameters.

Additionally, this allows reporting the correct error for other
expressions. For example $<TARGET_PROPERTY:,> should be invalid
because it has an empty target and empty property. It shouldn't
attempt to read the property ',' on the 'implicit this' target.
2012-10-09 08:26:43 -04:00
..
BadAND-result.txt Add boolean generator expressions 2012-08-15 11:44:49 -04:00
BadAND-stderr.txt cmGeneratorExpression: Re-write for multi-stage evaluation 2012-09-18 17:02:23 -04:00
BadAND.cmake cmGeneratorExpression: Re-write for multi-stage evaluation 2012-09-18 17:02:23 -04: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 cmGeneratorExpression: Re-write for multi-stage evaluation 2012-09-18 17:02:23 -04:00
BadOR.cmake cmGeneratorExpression: Re-write for multi-stage evaluation 2012-09-18 17:02:23 -04: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