Просмотр исходного кода

ENH: Macro should be scriptable

Andy Cedilnik 22 лет назад
Родитель
Сommit
bfe234da93
1 измененных файлов с 5 добавлено и 0 удалено
  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.
    */