summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-31 14:57:25 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-07 14:38:01 (GMT)
commit3917d86b261f0b88eb5cf0e8d2700c70cebdbe4b (patch)
treeb870364a3fec0acba6eb8c320f665ed181281535 /Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
parent5169130539110ff479875e76784109f174c28c69 (diff)
downloadCMake-3917d86b261f0b88eb5cf0e8d2700c70cebdbe4b.zip
CMake-3917d86b261f0b88eb5cf0e8d2700c70cebdbe4b.tar.gz
CMake-3917d86b261f0b88eb5cf0e8d2700c70cebdbe4b.tar.bz2
Genex: Add a nullary form for CONFIG
This is consistent with other similar expressions such as PLATFORM_ID, and makes the CONFIGURATION expression obsolete. Fix an off-by-one error in GeneratorExpressionContent::EvaluateParameters exposed by a unit test. Remove the test for 'bad' nullary use of $<CONFIG>. Add a unit test to verify that $<CONFIG> and $<CONFIGURATION> have the same value.
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake')
-rw-r--r--Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake b/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
index c27ea5f..5c22aaa 100644
--- a/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
+++ b/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
@@ -1,5 +1,4 @@
add_custom_target(check ALL COMMAND check
- $<CONFIG>
$<CONFIG:.>
$<CONFIG:Foo,Bar>
$<CONFIG:Foo-Bar>