From 3031467e33e61d9e7daa3357ee5f6b31c233e7fd Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 20 May 2004 16:56:34 -0400 Subject: ENH: Implement additional make clean files as a directory property instead of cmake variable --- Source/cmSetDirectoryPropertiesCommand.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Source/cmSetDirectoryPropertiesCommand.h') diff --git a/Source/cmSetDirectoryPropertiesCommand.h b/Source/cmSetDirectoryPropertiesCommand.h index d5e5acfc4e..14272354db 100644 --- a/Source/cmSetDirectoryPropertiesCommand.h +++ b/Source/cmSetDirectoryPropertiesCommand.h @@ -33,6 +33,12 @@ public: */ virtual bool InitialPass(std::vector const& 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. */ @@ -55,8 +61,10 @@ public: " SET_DIRECTORY_PROPERTIES(PROPERTIES prop1 value1 prop2 value2)\n" "Set a property for the current directory and subdirectories. If the " "property is not found, CMake will report an error. The properties " - "include: INCLUDE_DIRECTORIES, LINK_DIRECTORIES, and " - "INCLUDE_REGULAR_EXPRESSION."; + "include: INCLUDE_DIRECTORIES, LINK_DIRECTORIES, " + "INCLUDE_REGULAR_EXPRESSION, and ADDITIONAL_MAKE_CLEAN_FILES.\n" + "ADDITIONAL_MAKE_CLEAN_FILES is a list of files that will be cleaned " + "as a part of \"make clean\" stage."; } cmTypeMacro(cmSetDirectoryPropertiesCommand, cmCommand); -- cgit v1.2.1