[cmake-commits] martink committed cmForEachCommand.h 1.17 1.18
cmWhileCommand.h 1.6 1.7 cmake.cxx 1.322 1.323
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Oct 15 14:50:20 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv498/Source
Modified Files:
cmForEachCommand.h cmWhileCommand.h cmake.cxx
Log Message:
ENH: minor doc cleanups and an example of documenting a variable
Index: cmWhileCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmWhileCommand.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cmWhileCommand.h 10 Oct 2007 15:47:43 -0000 1.6
+++ cmWhileCommand.h 15 Oct 2007 18:50:18 -0000 1.7
@@ -104,7 +104,7 @@
"without being invoked. Once the endwhile is evaluated, the "
"recorded list of commands is invoked as long as the condition "
"is true. The condition is evaulated using the same logic as the "
- "IF command.";
+ "if command.";
}
cmTypeMacro(cmWhileCommand, cmCommand);
Index: cmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.cxx,v
retrieving revision 1.322
retrieving revision 1.323
diff -u -d -r1.322 -r1.323
--- cmake.cxx 9 Oct 2007 18:35:24 -0000 1.322
+++ cmake.cxx 15 Oct 2007 18:50:18 -0000 1.323
@@ -3076,6 +3076,18 @@
"List of packages which were not found during the CMake run.",
"List of packages which were not found during the CMake run. Whether a "
"package has been found is determined using the <NAME>_FOUND variables.");
+
+
+ // ================================================================
+ // define variables as well
+ // ================================================================
+
+ cm->DefineProperty
+ ("CMAKE_COMMAND", cmProperty::VARIABLE,
+ "The full path to the cmake executable.",
+ "This is the full path to the CMake executable cmake which is "
+ "useful from custom commands that want to use the cmake -E "
+ "option for portable system commands.");
}
Index: cmForEachCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmForEachCommand.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- cmForEachCommand.h 10 Oct 2007 15:47:43 -0000 1.17
+++ cmForEachCommand.h 15 Oct 2007 18:50:18 -0000 1.18
@@ -93,11 +93,11 @@
" COMMAND1(ARGS ...)\n"
" COMMAND2(ARGS ...)\n"
" ...\n"
- " ENDforeach(loop_var)\n"
+ " endforeach(loop_var)\n"
" foreach(loop_var RANGE total)\n"
" foreach(loop_var RANGE start stop [step])\n"
- "All commands between foreach and the matching ENDforeach are recorded "
- "without being invoked. Once the ENDforeach is evaluated, the "
+ "All commands between foreach and the matching endforeach are recorded "
+ "without being invoked. Once the endforeach is evaluated, the "
"recorded list of commands is invoked once for each argument listed "
"in the original foreach command. Before each iteration of the loop "
"\"${loop_var}\" will be set as a variable with "
More information about the Cmake-commits
mailing list