summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-19 14:35:30 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-19 14:35:30 (GMT)
commitbfe234da939d57be7b6d54835a57f0f6fdf413d3 (patch)
treed688901f8a78f5a25e32cdc20cbadb93c8278b50
parent985f3dd3b4c7f71b3baee3cafec3381926720951 (diff)
downloadCMake-bfe234da939d57be7b6d54835a57f0f6fdf413d3.zip
CMake-bfe234da939d57be7b6d54835a57f0f6fdf413d3.tar.gz
CMake-bfe234da939d57be7b6d54835a57f0f6fdf413d3.tar.bz2
ENH: Macro should be scriptable
-rw-r--r--Source/cmMacroCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMacroCommand.h b/Source/cmMacroCommand.h
index aa9dc0a..c1c0df5 100644
--- a/Source/cmMacroCommand.h
+++ b/Source/cmMacroCommand.h
@@ -68,6 +68,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.
*/
virtual const char* GetName() { return "MACRO";}