rules were not inherited when they should be

This commit is contained in:
Ken Martin 2001-04-25 11:47:03 -04:00
parent c3ab706698
commit 61091234c3
3 changed files with 18 additions and 0 deletions

View File

@ -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.
*/ */

View File

@ -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.
*/ */

View File

@ -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.
*/ */