summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-10-29 13:58:54 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-10-29 13:58:54 (GMT)
commit69dd3218ba0bcdbcf3869f229199df8cd545612f (patch)
tree17711cdc8c7fcad61896efbaf4c2b3ba8c0cf2db /Source/cmCommand.h
parentb79c2f5a4c0e1a36ccffa751046b3e0a16c892d1 (diff)
downloadCMake-69dd3218ba0bcdbcf3869f229199df8cd545612f.zip
CMake-69dd3218ba0bcdbcf3869f229199df8cd545612f.tar.gz
CMake-69dd3218ba0bcdbcf3869f229199df8cd545612f.tar.bz2
ENH: Start includding the scripting support
Diffstat (limited to 'Source/cmCommand.h')
-rw-r--r--Source/cmCommand.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index c11b71b..5380b5a 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -91,6 +91,14 @@ public:
}
/**
+ * This determines if the command is invoked when in script mode.
+ */
+ virtual bool IsScriptable()
+ {
+ return false;
+ }
+
+ /**
* This determines if the method is deprecated or not.
*/
virtual bool IsDeprecated(int /*major*/, int /*minor*/)