Переглянути джерело

BUG: Command should be inherited.

Brad King 22 роки тому
батько
коміт
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.
    */