Explorar o código

ENH: Made UTILITY_SOURCE command inherited, just like FIND_PROGRAM.

Brad King %!s(int64=25) %!d(string=hai) anos
pai
achega
f2cd113761
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      Source/cmUtilitySourceCommand.h

+ 6 - 0
Source/cmUtilitySourceCommand.h

@@ -45,6 +45,12 @@ public:
    */
   virtual bool Invoke(std::vector<std::string>& 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.
    */