mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 08:08:24 -05:00
ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into a COMPILE_DEFINITIONS directory property.
This commit is contained in:
@@ -53,8 +53,7 @@ public:
|
||||
*/
|
||||
virtual const char* GetTerseDocumentation()
|
||||
{
|
||||
return
|
||||
"Removes -D define flags to the command line of C and C++ compilers.";
|
||||
return "Removes -D define flags added by add_definitions.";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -64,10 +63,8 @@ public:
|
||||
{
|
||||
return
|
||||
" remove_definitions(-DFOO -DBAR ...)\n"
|
||||
"Removes flags from command line of C and C++ compilers. "
|
||||
"This command can be used to remove any flag from a compile line, "
|
||||
"but the -D flag is accepted by most C/C++ compilers. "
|
||||
"Other flags may not be as portable.";
|
||||
"Removes flags (added by add_definitions) from the compiler command "
|
||||
"line for sources in the current directory and below.";
|
||||
}
|
||||
|
||||
cmTypeMacro(cmRemoveDefinitionsCommand, cmCommand);
|
||||
|
||||
Reference in New Issue
Block a user