diff options
author | Brad King <brad.king@kitware.com> | 2009-08-11 13:54:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-08-11 13:54:56 (GMT) |
commit | d2e1f2b4d6d87c171464b5dc41b00b609c90bf26 (patch) | |
tree | d0108fae5ed9b014939c0f7baee8a6ad4d6daa42 /Source/CMakeLists.txt | |
parent | 463b3f03bd848a345ab535d31be31d395fe66b13 (diff) | |
download | CMake-d2e1f2b4d6d87c171464b5dc41b00b609c90bf26.zip CMake-d2e1f2b4d6d87c171464b5dc41b00b609c90bf26.tar.gz CMake-d2e1f2b4d6d87c171464b5dc41b00b609c90bf26.tar.bz2 |
Introduce "generator expressions" to add_test()
This introduces a new syntax called "generator expressions" to the test
COMMAND option of the add_test(NAME) command mode. These expressions
have a syntax like $<TARGET_FILE:mytarget> and are evaluated during
build system generation. This syntax allows per-configuration target
output files to be referenced in test commands and arguments.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 6474cb0..01d3976 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -159,6 +159,8 @@ SET(SRCS cmFileTimeComparison.cxx cmFileTimeComparison.h cmGeneratedFileStream.cxx + cmGeneratorExpression.cxx + cmGeneratorExpression.h cmGlobalGenerator.cxx cmGlobalGenerator.h cmGlobalUnixMakefileGenerator3.cxx |