[Cmake-commits] [cmake-commits] king committed cmSourceFile.cxx 1.52 1.53

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Sep 22 09:42:29 EDT 2008


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

Modified Files:
	cmSourceFile.cxx 
Log Message:
ENH: Improve docs of OBJECT_DEPENDS property

Specify exactly what the value of the property should contain and the
resulting behavior.  Note alternatives for a common out-dated usage.


Index: cmSourceFile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSourceFile.cxx,v
retrieving revision 1.52
retrieving revision 1.53
diff -C 2 -d -r1.52 -r1.53
*** cmSourceFile.cxx	27 May 2008 17:10:09 -0000	1.52
--- cmSourceFile.cxx	22 Sep 2008 13:42:27 -0000	1.53
***************
*** 508,515 ****
  
    cm->DefineProperty
!     ("OBJECT_DEPENDS", cmProperty::SOURCE_FILE, 
!      "Additional dependencies.",
!      "Additional dependencies that should be checked as part of "
!      "building this source file.");
  
    cm->DefineProperty
--- 508,527 ----
  
    cm->DefineProperty
!     ("OBJECT_DEPENDS", cmProperty::SOURCE_FILE,
!      "Additional files on which a compiled object file depends.",
!      "Specifies a semicolon-separated list of full-paths to files on which "
!      "any object files compiled from this source file depend.  "
!      "An object file will be recompiled if any of the named files is newer "
!      "than it.\n"
!      "This property need not be used to specify the dependency of a "
!      "source file on a generated header file that it includes.  "
!      "Although the property was originally introduced for this purpose, it "
!      "is no longer necessary.  "
!      "If the generated header file is created by a custom command in the "
!      "same target as the source file, the automatic dependency scanning "
!      "process will recognize the dependency.  "
!      "If the generated header file is created by another target, an "
!      "inter-target dependency should be created with the add_dependencies "
!      "command (if one does not already exist due to linking relationships).");
  
    cm->DefineProperty



More information about the Cmake-commits mailing list