[Cmake-commits] [cmake-commits] alex committed cmDocumentVariables.cxx 1.29 1.30

cmake-commits at cmake.org cmake-commits at cmake.org
Sat May 9 17:25:23 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv1985

Modified Files:
	cmDocumentVariables.cxx 
Log Message:
STYLE: document CMAKE_INCLUDE_CURRENT_DIR

Alex


Index: cmDocumentVariables.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDocumentVariables.cxx,v
retrieving revision 1.29
retrieving revision 1.30
diff -C 2 -d -r1.29 -r1.30
*** cmDocumentVariables.cxx	19 Apr 2009 16:48:22 -0000	1.29
--- cmDocumentVariables.cxx	9 May 2009 21:25:21 -0000	1.30
***************
*** 780,783 ****
--- 780,797 ----
    //
    cm->DefineProperty
+     ("CMAKE_INCLUDE_CURRENT_DIR", cmProperty::VARIABLE,
+      "Automatically add the current source- and build directories "
+      "to the include path.",
+      "If this variable is enabled, CMake automatically adds in each "
+      "directory ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} "
+      "to the include path for this directory. These additional include "
+      "directories do not propagate down to subdirectories. This is useful "
+      "mainly for out-of-source builds, where files generated into the "
+      "build tree are included by files located in the source tree.\n"
+      "By default CMAKE_INCLUDE_CURRENT_DIR is OFF.",
+      false,
+      "Variables that Control the Build");
+ 
+   cm->DefineProperty
      ("CMAKE_INSTALL_RPATH", cmProperty::VARIABLE,
       "The rpath to use for installed targets.",



More information about the Cmake-commits mailing list