summaryrefslogtreecommitdiff
path: root/Source/cmAddCustomTargetCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-26 16:32:17 -0500
committerBrad King <brad.king@kitware.com>2011-01-26 18:02:02 -0500
commit88548a45fbd35205469ac9fd332349551e172496 (patch)
tree7fb78e2070cd8320d73b0f4f2c8e1b2cf962e5d3 /Source/cmAddCustomTargetCommand.h
parent7befc00783ca9739e7585ff4d2b645a762a38396 (diff)
downloadcmake-88548a45fbd35205469ac9fd332349551e172496.tar.gz
Handle relative WORKING_DIRECTORY in add_custom_(command|target)
This also fixes handling of trailing slashes in the directory name.
Diffstat (limited to 'Source/cmAddCustomTargetCommand.h')
-rw-r--r--Source/cmAddCustomTargetCommand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmAddCustomTargetCommand.h b/Source/cmAddCustomTargetCommand.h
index 7a2b3962b9..6d94fb2926 100644
--- a/Source/cmAddCustomTargetCommand.h
+++ b/Source/cmAddCustomTargetCommand.h
@@ -79,6 +79,8 @@ public:
"empty target will be created. "
"If WORKING_DIRECTORY is set, then the command will be run in that "
"directory. "
+ "If it is a relative path it will be interpreted relative to the "
+ "build tree directory corresponding to the current source directory. "
"If COMMENT is set, the value will be displayed as a "
"message before the commands are executed at build time. "
"Dependencies listed with the DEPENDS argument may reference files "