[Cmake-commits] [cmake-commits] hoffman committed cmAddCustomCommandCommand.h 1.33.2.2 1.33.2.3 cmAddCustomTargetCommand.h 1.22.2.1 1.22.2.2

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Mar 31 10:29:14 EDT 2009


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

Modified Files:
      Tag: CMake-2-6
	cmAddCustomCommandCommand.h cmAddCustomTargetCommand.h 
Log Message:
ENH: next RC


Index: cmAddCustomTargetCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmAddCustomTargetCommand.h,v
retrieving revision 1.22.2.1
retrieving revision 1.22.2.2
diff -C 2 -d -r1.22.2.1 -r1.22.2.2
*** cmAddCustomTargetCommand.h	24 Oct 2008 15:18:45 -0000	1.22.2.1
--- cmAddCustomTargetCommand.h	31 Mar 2009 14:29:11 -0000	1.22.2.2
***************
*** 88,92 ****
        "message before the commands are executed at build time. "
        "Dependencies listed with the DEPENDS argument may reference files "
!       "and outputs of custom commands created with ADD_CUSTOM_COMMAND.\n"
        "If VERBATIM is given then all the arguments to the commands will be "
        "passed exactly as specified no matter the build tool used. "
--- 88,93 ----
        "message before the commands are executed at build time. "
        "Dependencies listed with the DEPENDS argument may reference files "
!       "and outputs of custom commands created with add_custom_command() in "
!       "the same directory (CMakeLists.txt file).\n"
        "If VERBATIM is given then all the arguments to the commands will be "
        "passed exactly as specified no matter the build tool used. "

Index: cmAddCustomCommandCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmAddCustomCommandCommand.h,v
retrieving revision 1.33.2.2
retrieving revision 1.33.2.3
diff -C 2 -d -r1.33.2.2 -r1.33.2.3
*** cmAddCustomCommandCommand.h	13 Jun 2008 12:55:17 -0000	1.33.2.2
--- cmAddCustomCommandCommand.h	31 Mar 2009 14:29:01 -0000	1.33.2.3
***************
*** 76,82 ****
        "                     [WORKING_DIRECTORY dir]\n"
        "                     [COMMENT comment] [VERBATIM] [APPEND])\n"
!       "This defines a new command that can be executed during the build "
!       "process. The outputs named should be listed as source files in the "
!       "target for which they are to be generated. "
        "If an output name is a relative path it will be interpreted "
        "relative to the build tree directory corresponding to the current "
--- 76,83 ----
        "                     [WORKING_DIRECTORY dir]\n"
        "                     [COMMENT comment] [VERBATIM] [APPEND])\n"
!       "This defines a command to generate specified OUTPUT file(s).  "
!       "A target created in the same directory (CMakeLists.txt file) that "
!       "specifies any output of the custom command as a source file is given "
!       "a rule to generate the file using the command at build time.  "
        "If an output name is a relative path it will be interpreted "
        "relative to the build tree directory corresponding to the current "
***************
*** 152,155 ****
--- 153,160 ----
        "custom command to re-run whenever the executable is recompiled.\n"
  
+       "The DEPENDS option specifies files on which the command depends.  "
+       "If any dependency is an OUTPUT of another custom command in the "
+       "same directory (CMakeLists.txt file) CMake automatically brings the "
+       "other custom command into the target in which this command is built.  "
        "If DEPENDS specifies any target (created by an ADD_* command) "
        "a target-level dependency is created to make sure the target is "



More information about the Cmake-commits mailing list