Merge topic 'doc-add_test-names'

d017058 add_test: Document test name restrictions (#14298)
This commit is contained in:
Brad King 2013-07-18 10:11:55 -04:00 committed by CMake Topic Stage
commit 085ed41f65
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ public:
" add_test(NAME <name> [CONFIGURATIONS [Debug|Release|...]]\n"
" [WORKING_DIRECTORY dir]\n"
" COMMAND <command> [arg1 [arg2 ...]])\n"
"Add a test called <name>. "
"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. "