diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-07 16:39:08 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-07 16:39:08 (GMT) |
commit | 02b961f29cc4dd5b53bcbde69e11ac4b012c1010 (patch) | |
tree | 3c8373de016f0b0a0069b6246549534a332ea3e9 /Source/cmGetDirectoryPropertyCommand.h | |
parent | 19398fd2c8a0bd1de6963374755aa594d7adc11b (diff) | |
download | CMake-02b961f29cc4dd5b53bcbde69e11ac4b012c1010.zip CMake-02b961f29cc4dd5b53bcbde69e11ac4b012c1010.tar.gz CMake-02b961f29cc4dd5b53bcbde69e11ac4b012c1010.tar.bz2 |
ENH: Make commands scriptable
Diffstat (limited to 'Source/cmGetDirectoryPropertyCommand.h')
-rw-r--r-- | Source/cmGetDirectoryPropertyCommand.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGetDirectoryPropertyCommand.h b/Source/cmGetDirectoryPropertyCommand.h index 88293a1..6892221 100644 --- a/Source/cmGetDirectoryPropertyCommand.h +++ b/Source/cmGetDirectoryPropertyCommand.h @@ -34,6 +34,11 @@ public: virtual bool InitialPass(std::vector<std::string> const& args); /** + * This determines if the command is invoked when in script mode. + */ + virtual bool IsScriptable() { return true; } + + /** * The name of the command as specified in CMakeList.txt. */ virtual const char* GetName() { return "GET_DIRECTORY_PROPERTY";} |