summaryrefslogtreecommitdiffstats
path: root/Source/cmAddTestCommand.h
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2013-08-07 22:08:54 (GMT)
committerBrad King <brad.king@kitware.com>2013-09-20 12:18:22 (GMT)
commit6a47c37ccf7049d5ac3fa6224def8d17ee82c7f5 (patch)
tree3f8d414c3b4bf3fcdf9cb07c6878c3e4b79317e9 /Source/cmAddTestCommand.h
parentd331292c121269ccfceee302a0f9bbb960b9f02d (diff)
downloadCMake-6a47c37ccf7049d5ac3fa6224def8d17ee82c7f5.zip
CMake-6a47c37ccf7049d5ac3fa6224def8d17ee82c7f5.tar.gz
CMake-6a47c37ccf7049d5ac3fa6224def8d17ee82c7f5.tar.bz2
add_test: Mention generator expressions in old-style add_test docs
The old-style add_test() call does not support generator expressions at all. This also applies to the properties for the test, but it is not mentioned at all.
Diffstat (limited to 'Source/cmAddTestCommand.h')
-rw-r--r--Source/cmAddTestCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h
index ec7fda3..ce98aaa 100644
--- a/Source/cmAddTestCommand.h
+++ b/Source/cmAddTestCommand.h
@@ -66,7 +66,8 @@ public:
"built by this project or an arbitrary executable on the "
"system (like tclsh). The test will be run with the current working "
"directory set to the CMakeList.txt files corresponding directory "
- "in the binary tree.\n"
+ "in the binary tree. Tests added using this signature do not support "
+ "generator expressions.\n"
"\n"
" add_test(NAME <name> [CONFIGURATIONS [Debug|Release|...]]\n"
" [WORKING_DIRECTORY dir]\n"