diff options
author | Brad King <brad.king@kitware.com> | 2009-04-01 14:31:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-04-01 14:31:41 (GMT) |
commit | 5982224a73231989f7452ee43395068d01ed4ce4 (patch) | |
tree | eb83ca4c847431496947ee880a422371805a6023 /Source/cmAddCustomTargetCommand.h | |
parent | 475e1d78cb736e360ca3e388939389357af50765 (diff) | |
download | CMake-5982224a73231989f7452ee43395068d01ed4ce4.zip CMake-5982224a73231989f7452ee43395068d01ed4ce4.tar.gz CMake-5982224a73231989f7452ee43395068d01ed4ce4.tar.bz2 |
ENH: Clarify VERBATIM option documentation
The previous wording of the VERBATIM option documentation in the
add_custom_command and add_custom_target commands was confusing. It
could be interpreted as the opposite of what the option means (no
escaping instead of escaping). This clarifies the documentation to
explicitly state that it escapes.
Diffstat (limited to 'Source/cmAddCustomTargetCommand.h')
-rw-r--r-- | Source/cmAddCustomTargetCommand.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmAddCustomTargetCommand.h b/Source/cmAddCustomTargetCommand.h index c4895c0..71b60e6 100644 --- a/Source/cmAddCustomTargetCommand.h +++ b/Source/cmAddCustomTargetCommand.h @@ -89,14 +89,14 @@ public: "Dependencies listed with the DEPENDS argument may reference files " "and outputs of custom commands created with add_custom_command() in " "the same directory (CMakeLists.txt file).\n" - "If VERBATIM is given then all the arguments to the commands will be " - "passed exactly as specified no matter the build tool used. " + "If VERBATIM is given then all arguments to the commands will be " + "escaped properly for the build tool so that the invoked command " + "receives each argument unchanged. " "Note that one level of escapes is still used by the CMake language " "processor before add_custom_target even sees the arguments. " "Use of VERBATIM is recommended as it enables correct behavior. " - "When VERBATIM is not given the behavior is platform specific. " - "In the future VERBATIM may be enabled by default. The only reason " - "it is an option is to preserve compatibility with older CMake code." + "When VERBATIM is not given the behavior is platform specific because " + "there is no protection of tool-specific special characters." "\n" "The SOURCES option specifies additional source files to be included " "in the custom target. " |