summaryrefslogtreecommitdiffstats
path: root/Source/cmElseCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-25 15:47:03 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-04-25 15:47:03 (GMT)
commit61091234c37ebd104885418809a718910361e4ff (patch)
tree2c3896786b7fd265da6fdcc750f9678f0db63454 /Source/cmElseCommand.h
parentc3ab7066981037dcb96993c901ed970c39e5ad8b (diff)
downloadCMake-61091234c37ebd104885418809a718910361e4ff.zip
CMake-61091234c37ebd104885418809a718910361e4ff.tar.gz
CMake-61091234c37ebd104885418809a718910361e4ff.tar.bz2
rules were not inherited when they should be
Diffstat (limited to 'Source/cmElseCommand.h')
-rw-r--r--Source/cmElseCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmElseCommand.h b/Source/cmElseCommand.h
index b418b7e..ba97d1f 100644
--- a/Source/cmElseCommand.h
+++ b/Source/cmElseCommand.h
@@ -41,6 +41,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.
*/
virtual const char* GetName() { return "ELSE";}