diff --git a/Source/cmCMakeMinimumRequired.h b/Source/cmCMakeMinimumRequired.h index d227ec69e..c94764470 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 5eb410596..e9a01b379 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 45d7b3930..fa2b36b8e 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 1e4721714..230637d45 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 274d8e1e6..8fc9c7dfd 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 800cf0ceb..21c07eb00 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 9a3998570..dc1d219d9 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 34d91a4d3..4fa4c75b8 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 221e47508..83d840b57 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 78616060c..4aee4721f 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 908bb016b..a25a8d447 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 4e926b2d5..82d159252 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 8974e891d..64d669f82 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 0c52aed8f..ef2561d27 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. */