summaryrefslogtreecommitdiffstats
path: root/Source/cmExecProgramCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-23 03:07:02 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-23 03:07:02 (GMT)
commit007d2bbc50618a118fd18a203b97e6779ca58588 (patch)
treec6a259823705acf9840ce2be52c36f61116153d7 /Source/cmExecProgramCommand.h
parent183273bea2b093043abb06845dffa7b902b6d273 (diff)
downloadCMake-007d2bbc50618a118fd18a203b97e6779ca58588.zip
CMake-007d2bbc50618a118fd18a203b97e6779ca58588.tar.gz
CMake-007d2bbc50618a118fd18a203b97e6779ca58588.tar.bz2
ENH: Make more commands scriptable
Diffstat (limited to 'Source/cmExecProgramCommand.h')
-rw-r--r--Source/cmExecProgramCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h
index 274d8e1..8fc9c7d 100644
--- a/Source/cmExecProgramCommand.h
+++ b/Source/cmExecProgramCommand.h
@@ -50,6 +50,11 @@ public:
{return "EXEC_PROGRAM";}
/**
+ * This determines if the command is invoked when in script mode.
+ */
+ virtual bool IsScriptable() { return true; }
+
+ /**
* Succinct documentation.
*/
virtual const char* GetTerseDocumentation()