Browse Source

BUG: Command should be inherited.

Brad King 23 years ago
parent
commit
33d55456c3
1 changed files with 6 additions and 0 deletions
  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);
   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.
    * The name of the command as specified in CMakeList.txt.
    */
    */