[cmake-commits] alex committed cmakemain.cxx 1.57 1.58
cmRemoveDefinitionsCommand.h 1.3 1.4
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jun 14 08:49:59 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv17687
Modified Files:
cmakemain.cxx cmRemoveDefinitionsCommand.h
Log Message:
STYLE: add comment about the -D -P order and fix typo in doc
Alex
Index: cmakemain.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmakemain.cxx,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- cmakemain.cxx 27 Feb 2007 15:10:10 -0000 1.57
+++ cmakemain.cxx 14 Jun 2007 12:49:57 -0000 1.58
@@ -79,7 +79,8 @@
{"-P <file>", "Process script mode.",
"Process the given cmake file as a script written in the CMake language. "
"No configure or generate step is performed and the cache is not"
- " modified."},
+ " modified. If variables are defined using -D, this must be done "
+ "before the -P argument."},
{"--graphviz=[file]", "Generate graphviz of dependencies.",
"Generate a graphviz input file that will contain all the library and "
"executable dependencies in the project."},
Index: cmRemoveDefinitionsCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmRemoveDefinitionsCommand.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cmRemoveDefinitionsCommand.h 10 Mar 2006 16:13:14 -0000 1.3
+++ cmRemoveDefinitionsCommand.h 14 Jun 2007 12:49:57 -0000 1.4
@@ -66,7 +66,7 @@
" 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 most C/C++ compilers. "
+ "but the -D flag is accepted by most C/C++ compilers. "
"Other flags may not be as portable.";
}
More information about the Cmake-commits
mailing list