Commit 61091234 authored by Ken Martin's avatar Ken Martin
Browse files

rules were not inherited when they should be

parent c3ab7066
...@@ -40,6 +40,12 @@ public: ...@@ -40,6 +40,12 @@ public:
*/ */
virtual bool Invoke(std::vector<std::string>& args); 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. * The name of the command as specified in CMakeList.txt.
*/ */
......
...@@ -40,6 +40,12 @@ public: ...@@ -40,6 +40,12 @@ public:
*/ */
virtual bool Invoke(std::vector<std::string>& args); 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. * The name of the command as specified in CMakeList.txt.
*/ */
......
...@@ -71,6 +71,12 @@ public: ...@@ -71,6 +71,12 @@ public:
return "start an if block"; return "start an if block";
} }
/**
* This determines if the command gets propagated down
* to makefiles located in subdirectories.
*/
virtual bool IsInherited() {return true;}
/** /**
* More documentation. * More documentation.
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment