From 6a47c37ccf7049d5ac3fa6224def8d17ee82c7f5 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 7 Aug 2013 18:08:54 -0400 Subject: [PATCH] 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. --- Source/cmAddTestCommand.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h index ec7fda3f3..ce98aaad5 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 [CONFIGURATIONS [Debug|Release|...]]\n" " [WORKING_DIRECTORY dir]\n"