diff options
-rw-r--r-- | Source/cmBuildNameCommand.h | 5 | ||||
-rw-r--r-- | Source/cmFindPackageCommand.h | 5 | ||||
-rw-r--r-- | Source/cmGetCMakePropertyCommand.h | 5 | ||||
-rw-r--r-- | Source/cmGetDirectoryPropertyCommand.h | 5 | ||||
-rw-r--r-- | Source/cmSetDirectoryPropertiesCommand.h | 5 | ||||
-rw-r--r-- | Source/cmSiteNameCommand.h | 5 |
6 files changed, 30 insertions, 0 deletions
diff --git a/Source/cmBuildNameCommand.h b/Source/cmBuildNameCommand.h index 5a33356..cf61be3 100644 --- a/Source/cmBuildNameCommand.h +++ b/Source/cmBuildNameCommand.h @@ -42,6 +42,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 "BUILD_NAME";} diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h index 144941d..9ea30d3 100644 --- a/Source/cmFindPackageCommand.h +++ b/Source/cmFindPackageCommand.h @@ -42,6 +42,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 "FIND_PACKAGE";} diff --git a/Source/cmGetCMakePropertyCommand.h b/Source/cmGetCMakePropertyCommand.h index 4849107..e4b095f 100644 --- a/Source/cmGetCMakePropertyCommand.h +++ b/Source/cmGetCMakePropertyCommand.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_CMAKE_PROPERTY";} 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";} diff --git a/Source/cmSetDirectoryPropertiesCommand.h b/Source/cmSetDirectoryPropertiesCommand.h index 1bc2310..ea9afbf 100644 --- a/Source/cmSetDirectoryPropertiesCommand.h +++ b/Source/cmSetDirectoryPropertiesCommand.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 "SET_DIRECTORY_PROPERTIES";} diff --git a/Source/cmSiteNameCommand.h b/Source/cmSiteNameCommand.h index a191032..465aeda 100644 --- a/Source/cmSiteNameCommand.h +++ b/Source/cmSiteNameCommand.h @@ -42,6 +42,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 "SITE_NAME";} |