diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-12-16 21:48:27 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-12-16 21:50:47 (GMT) |
commit | 42de5d02dddec69ee045b423fbd58751f210839d (patch) | |
tree | ef4e5be3b9b77c42eb146efe79922fe6584150b4 /Source/cmAddTestCommand.h | |
parent | 7679f9fab099e729b61320927a9e0b8d03546f7f (diff) | |
download | CMake-42de5d02dddec69ee045b423fbd58751f210839d.zip CMake-42de5d02dddec69ee045b423fbd58751f210839d.tar.gz CMake-42de5d02dddec69ee045b423fbd58751f210839d.tar.bz2 |
Add WORKING_DIRECTORY argument to add_test
Diffstat (limited to 'Source/cmAddTestCommand.h')
-rw-r--r-- | Source/cmAddTestCommand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h index 79fb481..9eb4e9f 100644 --- a/Source/cmAddTestCommand.h +++ b/Source/cmAddTestCommand.h @@ -68,12 +68,15 @@ public: "in the binary tree.\n" "\n" " add_test(NAME <name> [CONFIGURATIONS [Debug|Release|...]]\n" + " [WORKING_DIRECTORY dir]\n" " COMMAND <command> [arg1 [arg2 ...]])\n" "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. " "If a CONFIGURATIONS option is given then the test will be executed " "only when testing under one of the named configurations." + "If a WORKING_DIRECTORY option is given then the test will be executed " + "in the given directory." "\n" "Arguments after COMMAND may use \"generator expressions\" with the " "syntax \"$<...>\". " |