Procházet zdrojové kódy

ENH: Macro should be scriptable

Andy Cedilnik před 22 roky
rodič
revize
bfe234da93
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  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.
    */