diff --git a/Source/cmCMakeMinimumRequired.h b/Source/cmCMakeMinimumRequired.h index d227ec69eb..c947644705 100644 --- a/Source/cmCMakeMinimumRequired.h +++ b/Source/cmCMakeMinimumRequired.h @@ -47,6 +47,11 @@ public: */ virtual bool IsInherited() {return true;} + /** + * 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. */ diff --git a/Source/cmConfigureFileCommand.h b/Source/cmConfigureFileCommand.h index 5eb4105965..e9a01b379b 100644 --- a/Source/cmConfigureFileCommand.h +++ b/Source/cmConfigureFileCommand.h @@ -38,6 +38,11 @@ public: */ virtual const char* GetName() { return "CONFIGURE_FILE";} + /** + * This determines if the command is invoked when in script mode. + */ + virtual bool IsScriptable() { return true; } + /** * Succinct documentation. */ diff --git a/Source/cmElseCommand.h b/Source/cmElseCommand.h index 45d7b39306..fa2b36b8ef 100644 --- a/Source/cmElseCommand.h +++ b/Source/cmElseCommand.h @@ -47,6 +47,11 @@ public: */ virtual bool IsInherited() {return true;} + /** + * 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. */ diff --git a/Source/cmEndIfCommand.h b/Source/cmEndIfCommand.h index 1e47217149..230637d45b 100644 --- a/Source/cmEndIfCommand.h +++ b/Source/cmEndIfCommand.h @@ -47,6 +47,11 @@ public: */ virtual bool IsInherited() {return true;} + /** + * 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. */ diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h index 274d8e1e6d..8fc9c7dfd8 100644 --- a/Source/cmExecProgramCommand.h +++ b/Source/cmExecProgramCommand.h @@ -49,6 +49,11 @@ public: virtual const char* GetName() {return "EXEC_PROGRAM";} + /** + * This determines if the command is invoked when in script mode. + */ + virtual bool IsScriptable() { return true; } + /** * Succinct documentation. */ diff --git a/Source/cmFindFileCommand.h b/Source/cmFindFileCommand.h index 800cf0cebd..21c07eb000 100644 --- a/Source/cmFindFileCommand.h +++ b/Source/cmFindFileCommand.h @@ -50,6 +50,11 @@ public: */ virtual bool IsInherited() { return false; } + /** + * 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. */ diff --git a/Source/cmFindLibraryCommand.h b/Source/cmFindLibraryCommand.h index 9a3998570f..dc1d219d91 100644 --- a/Source/cmFindLibraryCommand.h +++ b/Source/cmFindLibraryCommand.h @@ -50,6 +50,11 @@ public: */ virtual bool IsInherited() {return false;} + /** + * 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. */ diff --git a/Source/cmFindPathCommand.h b/Source/cmFindPathCommand.h index 34d91a4d3a..4fa4c75b8e 100644 --- a/Source/cmFindPathCommand.h +++ b/Source/cmFindPathCommand.h @@ -50,6 +50,11 @@ public: */ virtual bool IsInherited() {return false;} + /** + * 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. */ diff --git a/Source/cmFindProgramCommand.h b/Source/cmFindProgramCommand.h index 221e475081..83d840b57a 100644 --- a/Source/cmFindProgramCommand.h +++ b/Source/cmFindProgramCommand.h @@ -50,6 +50,11 @@ public: */ virtual bool IsInherited() { return false; } + /** + * 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. */ diff --git a/Source/cmGetFilenameComponentCommand.h b/Source/cmGetFilenameComponentCommand.h index 78616060cc..4aee4721fc 100644 --- a/Source/cmGetFilenameComponentCommand.h +++ b/Source/cmGetFilenameComponentCommand.h @@ -48,6 +48,11 @@ public: */ virtual bool IsInherited() { return true; } + /** + * 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. */ diff --git a/Source/cmMakeDirectoryCommand.h b/Source/cmMakeDirectoryCommand.h index 908bb016b1..a25a8d4477 100644 --- a/Source/cmMakeDirectoryCommand.h +++ b/Source/cmMakeDirectoryCommand.h @@ -50,6 +50,11 @@ public: */ virtual const char* GetName() { return "MAKE_DIRECTORY";} + /** + * This determines if the command is invoked when in script mode. + */ + virtual bool IsScriptable() { return true; } + /** * Succinct documentation. */ diff --git a/Source/cmRemoveCommand.h b/Source/cmRemoveCommand.h index 4e926b2d59..82d1592527 100644 --- a/Source/cmRemoveCommand.h +++ b/Source/cmRemoveCommand.h @@ -47,6 +47,11 @@ public: */ virtual bool IsInherited() {return true;} + /** + * 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. */ diff --git a/Source/cmSeparateArgumentsCommand.h b/Source/cmSeparateArgumentsCommand.h index 8974e891df..64d669f824 100644 --- a/Source/cmSeparateArgumentsCommand.h +++ b/Source/cmSeparateArgumentsCommand.h @@ -47,6 +47,11 @@ public: */ virtual bool IsInherited() {return true;} + /** + * 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. */ diff --git a/Source/cmWriteFileCommand.h b/Source/cmWriteFileCommand.h index 0c52aed8f2..ef2561d270 100644 --- a/Source/cmWriteFileCommand.h +++ b/Source/cmWriteFileCommand.h @@ -40,6 +40,11 @@ public: */ virtual bool InitialPass(std::vector 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. */