summaryrefslogtreecommitdiffstats
path: root/Source/cmSetDirectoryPropertiesCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-20 20:56:34 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-20 20:56:34 (GMT)
commit3031467e33e61d9e7daa3357ee5f6b31c233e7fd (patch)
tree971ff1363cd96f5821c1c59bd633801134578c58 /Source/cmSetDirectoryPropertiesCommand.h
parent17d6f9e17062d0ddf392823ba51e92f31ebdf7d5 (diff)
downloadCMake-3031467e33e61d9e7daa3357ee5f6b31c233e7fd.zip
CMake-3031467e33e61d9e7daa3357ee5f6b31c233e7fd.tar.gz
CMake-3031467e33e61d9e7daa3357ee5f6b31c233e7fd.tar.bz2
ENH: Implement additional make clean files as a directory property instead of cmake variable
Diffstat (limited to 'Source/cmSetDirectoryPropertiesCommand.h')
-rw-r--r--Source/cmSetDirectoryPropertiesCommand.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/cmSetDirectoryPropertiesCommand.h b/Source/cmSetDirectoryPropertiesCommand.h
index d5e5acf..1427235 100644
--- a/Source/cmSetDirectoryPropertiesCommand.h
+++ b/Source/cmSetDirectoryPropertiesCommand.h
@@ -34,6 +34,12 @@ public:
virtual bool InitialPass(std::vector<std::string> 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.
*/
virtual const char* GetName() { return "SET_DIRECTORY_PROPERTIES";}
@@ -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);