Explorar o código

ENH: Macro should be scriptable

Andy Cedilnik %!s(int64=22) %!d(string=hai) anos
pai
achega
bfe234da93
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      Source/cmMacroCommand.h

+ 5 - 0
Source/cmMacroCommand.h

@@ -67,6 +67,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.
    */