Handle relative WORKING_DIRECTORY in add_custom_(command|target)

This also fixes handling of trailing slashes in the directory name.
This commit is contained in:
Brad King
2011-01-26 16:32:17 -05:00
parent 7befc00783
commit 88548a45fb
5 changed files with 28 additions and 2 deletions
+2
View File
@@ -110,6 +110,8 @@ public:
"will be treated as PRE_LINK.\n"
"If WORKING_DIRECTORY is specified the command will be executed "
"in the directory given. "
"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. "
"If APPEND is specified the COMMAND and DEPENDS option values "