mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ENH: Implement additional make clean files as a directory property instead of cmake variable
This commit is contained in:
@@ -33,6 +33,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.
|
||||
*/
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user