From d0170584c54b515b7eb2d044c3d48332523b3a37 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 17 Jul 2013 08:11:37 -0400 Subject: add_test: Document test name restrictions (#14298) --- Source/cmAddTestCommand.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h index 6a0cd9d..ec7fda3 100644 --- a/Source/cmAddTestCommand.h +++ b/Source/cmAddTestCommand.h @@ -71,6 +71,9 @@ public: " add_test(NAME [CONFIGURATIONS [Debug|Release|...]]\n" " [WORKING_DIRECTORY dir]\n" " COMMAND [arg1 [arg2 ...]])\n" + "Add a test called . " + "The test name may not contain spaces, quotes, or other characters " + "special in CMake syntax. " "If COMMAND specifies an executable target (created by " "add_executable) it will automatically be replaced by the location " "of the executable created at build time. " -- cgit v0.12