summaryrefslogtreecommitdiffstats
path: root/Source/cmUtilitySourceCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-09 16:33:33 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-09 16:33:33 (GMT)
commitf2cd11376161eb63dd39dea78c38b394e7d681b6 (patch)
tree7ce9b93386c0ed80211819e702c226ceaa8c44c1 /Source/cmUtilitySourceCommand.h
parent2924befe14dde7c94534d5cc9d7a0de01980cae4 (diff)
downloadCMake-f2cd11376161eb63dd39dea78c38b394e7d681b6.zip
CMake-f2cd11376161eb63dd39dea78c38b394e7d681b6.tar.gz
CMake-f2cd11376161eb63dd39dea78c38b394e7d681b6.tar.bz2
ENH: Made UTILITY_SOURCE command inherited, just like FIND_PROGRAM.
Diffstat (limited to 'Source/cmUtilitySourceCommand.h')
-rw-r--r--Source/cmUtilitySourceCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmUtilitySourceCommand.h b/Source/cmUtilitySourceCommand.h
index 6fced25..588d314 100644
--- a/Source/cmUtilitySourceCommand.h
+++ b/Source/cmUtilitySourceCommand.h
@@ -46,6 +46,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 "UTILITY_SOURCE";}