diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-08 15:58:36 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-08 15:58:36 (GMT) |
commit | 347c5f4b46396e974ff164b44f23b37eef779138 (patch) | |
tree | e6457f6b3ce5ec7e54f3991e4e7912d2531f98b3 /Source/cmCustomCommand.h | |
parent | 6fe45fe9c3348645a0fe145e1f32c487829cea64 (diff) | |
download | CMake-347c5f4b46396e974ff164b44f23b37eef779138.zip CMake-347c5f4b46396e974ff164b44f23b37eef779138.tar.gz CMake-347c5f4b46396e974ff164b44f23b37eef779138.tar.bz2 |
ENH: add working directory support
Diffstat (limited to 'Source/cmCustomCommand.h')
-rw-r--r-- | Source/cmCustomCommand.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h index 966cab3..e48d531 100644 --- a/Source/cmCustomCommand.h +++ b/Source/cmCustomCommand.h @@ -35,11 +35,15 @@ public: cmCustomCommand(const char* output, const std::vector<std::string>& depends, const cmCustomCommandLines& commandLines, - const char* comment); + const char* comment, + const char* workingDirectory); /** Get the output file produced by the command. */ const char* GetOutput() const; + /** Get the working directory. */ + const char* GetWorkingDirectory() const; + /** Get the vector that holds the list of dependencies. */ const std::vector<std::string>& GetDepends() const; @@ -58,6 +62,7 @@ private: std::vector<std::string> m_Depends; cmCustomCommandLines m_CommandLines; std::string m_Comment; + std::string m_WorkingDirectory; bool m_Used; }; |