浏览代码

BUG: Command should be inherited.

Brad King 23 年之前
父节点
当前提交
33d55456c3
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Source/cmStringCommand.h

+ 6 - 0
Source/cmStringCommand.h

@@ -41,6 +41,12 @@ public:
    */
   virtual bool InitialPass(std::vector<std::string> const& args);
 
+  /**
+   * This determines if the command gets propagated down
+   * to makefiles located in subdirectories.
+   */
+  virtual bool IsInherited() {return true;}
+
   /**
    * The name of the command as specified in CMakeList.txt.
    */