[Cmake-commits] [cmake-commits] king committed cmAddSubDirectoryCommand.h 1.7 1.8

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Aug 7 17:12:18 EDT 2008


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

Modified Files:
	cmAddSubDirectoryCommand.h 
Log Message:
ENH: Clarify documentation of EXCLUDE_FROM_ALL

The add_subdirectory() command's EXCLUDE_FROM_ALL option does not
override inter-target dependencies.  This change clarifies the
documentation accordingly.


Index: cmAddSubDirectoryCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmAddSubDirectoryCommand.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C 2 -d -r1.7 -r1.8
*** cmAddSubDirectoryCommand.h	23 Jan 2008 15:27:59 -0000	1.7
--- cmAddSubDirectoryCommand.h	7 Aug 2008 21:12:16 -0000	1.8
***************
*** 80,90 ****
        "input file continues beyond this command.\n"
  
!       "If the EXCLUDE_FROM_ALL argument is provided then this subdirectory "
!       "will not be included in build by default. Users will have to "
!       "explicitly start a build in the generated output directory. "
!       "This is useful for having cmake create a build system for a "
!       "set of examples in a project. One would want cmake to generate "
!       "a single build system for all the examples, but one may not want "
!       "the targets to show up in the main build system.";
      }
    
--- 80,98 ----
        "input file continues beyond this command.\n"
  
!       "If the EXCLUDE_FROM_ALL argument is provided then targets in the "
!       "subdirectory will not be included in the ALL target of the parent "
!       "directory by default, and will be excluded from IDE project files.  "
!       "Users must explicitly build targets in the subdirectory.  "
!       "This is meant for use when the subdirectory contains a separate part "
!       "of the project that is useful but not necessary, such as a set of "
!       "examples.  "
!       "Typically the subdirectory should contain its own project() command "
!       "invocation so that a full build system will be generated in the "
!       "subdirectory (such as a VS IDE solution file).  "
!       "Note that inter-target dependencies supercede this exclusion.  "
!       "If a target built by the parent project depends on a target in the "
!       "subdirectory, the dependee target will be included in the parent "
!       "project build system to satisfy the dependency."
!       ;
      }
    



More information about the Cmake-commits mailing list