summaryrefslogtreecommitdiff
path: root/Source/cmRemoveDefinitionsCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-17 19:29:43 -0500
committerBrad King <brad.king@kitware.com>2008-01-17 19:29:43 -0500
commit433099ecddb334cc6e43c6302594d7c713ef4d1e (patch)
tree65b1ec804f8e0e40c5b0c7083cbf6e0913572b55 /Source/cmRemoveDefinitionsCommand.h
parentcaca9b80652c7c36ed1e39e1faeec64e3397f632 (diff)
downloadcmake-433099ecddb334cc6e43c6302594d7c713ef4d1e.tar.gz
ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into a COMPILE_DEFINITIONS directory property.
Diffstat (limited to 'Source/cmRemoveDefinitionsCommand.h')
-rw-r--r--Source/cmRemoveDefinitionsCommand.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/cmRemoveDefinitionsCommand.h b/Source/cmRemoveDefinitionsCommand.h
index 2444ab0834..8ee5086dcc 100644
--- a/Source/cmRemoveDefinitionsCommand.h
+++ b/Source/cmRemoveDefinitionsCommand.h
@@ -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);