[cmake-commits] alex committed cmDefinePropertyCommand.h 1.2 1.3 cmSetPropertiesCommand.h 1.3 1.4 cmGetPropertyCommand.h 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jun 26 13:50:16 EDT 2007


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

Modified Files:
	cmDefinePropertyCommand.h cmSetPropertiesCommand.h 
	cmGetPropertyCommand.h 
Log Message:

STYLE: rename chain to inherit in the docs

Alex


Index: cmSetPropertiesCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSetPropertiesCommand.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cmSetPropertiesCommand.h	11 Dec 2006 15:26:10 -0000	1.3
+++ cmSetPropertiesCommand.h	26 Jun 2007 17:50:14 -0000	1.4
@@ -55,7 +55,7 @@
         "  SET_PROPERTIES(scope_value\n"
         "                 PROPERTIES prop1 value1\n"
         "                 prop2 value2 ...)\n"
-        "Set properties on something. The scope_value is either GLOBAL "
+        "Set properties on something. The scope_value is either GLOBAL, "
         "DIRECTORY dir_name, TARGET tgt_name, SOURCE_FILE src_name, "
         "or TEST test_name."
         ;

Index: cmDefinePropertyCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDefinePropertyCommand.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cmDefinePropertyCommand.h	25 Jun 2007 14:34:21 -0000	1.2
+++ cmDefinePropertyCommand.h	26 Jun 2007 17:50:14 -0000	1.3
@@ -54,16 +54,15 @@
       return
         "  DEFINE_PROPERTY(property_name scope_value\n"
         "                  short_description\n"
-        "                  full_description chain)\n"
-        "Define a property for a scope. The scope_value is either GLOBAL "
-        "DIRECTORY, TARGET, TEST, SOURCE_FILE, VARIABLE, CACHED_VARIABLE. "
-        "The short and full "
-        "descriptions are used to document the property, chain indicates "
-        "if that property chains such that a request for the property "
-        "on a target will chain up to the directory if it is not set on the "
-        "target. In such cases the property's scope is the most specific. "
-        "In that example the scope would be TARGET even though it can "
-        "chain up to DIRECTORY and GLOBAL."
+        "                  full_description inherit)\n"
+        "Define a property for a scope. scope_value is either GLOBAL, "
+        "DIRECTORY, TARGET, TEST, SOURCE_FILE, VARIABLE or CACHED_VARIABLE. "
+        "The short and full descriptions are used to document the property. "
+        "If inherit is TRUE, it will inherit its value from the next more "
+        "global property if it hasn't been set at the specified scope. "
+        "This means that e.g. a TARGET property inherits it's value from the "
+        "DIRECTORY property with the same name if it hasn't been set for the "
+        "target, and then from GLOBAL if it hasn't been set for the directory."
         ;
     }
   

Index: cmGetPropertyCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGetPropertyCommand.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cmGetPropertyCommand.h	25 Jun 2007 14:33:25 -0000	1.1
+++ cmGetPropertyCommand.h	26 Jun 2007 17:50:14 -0000	1.2
@@ -58,7 +58,7 @@
     {
       return
         "  GET_PROPERTY(VAR scope_value property)\n"
-        "Get a property from cmake.  The scope_value is either GLOBAL "
+        "Get a property from cmake.  The scope_value is either GLOBAL, "
         "DIRECTORY dir_name, TARGET tgt_name, SOURCE_FILE src_name, "
         "or TEST test_name. The resulting value is "
         "stored in the variable VAR. If the property is not found, "



More information about the Cmake-commits mailing list