[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.43 1.44

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 9 11:01:25 EDT 2008


Update of /cvsroot/CMake/CMake/Tests/CustomCommand
In directory public:/mounts/ram/cvs-serv25743/Tests/CustomCommand

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: Allow custom sources in custom targets

This adds a SOURCES option to ADD_CUSTOM_TARGET, enabling users to
specify extra sources for inclusion in the target.  Such sources may not
build, but will show up in the IDE project files for convenient editing.
See issue #5848.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CustomCommand/CMakeLists.txt,v
retrieving revision 1.43
retrieving revision 1.44
diff -C 2 -d -r1.43 -r1.44
*** CMakeLists.txt	5 Aug 2008 17:27:14 -0000	1.43
--- CMakeLists.txt	9 Oct 2008 15:01:23 -0000	1.44
***************
*** 101,104 ****
--- 101,105 ----
    DEPENDS ${PROJECT_BINARY_DIR}/doc1.h doc1.txt
    COMMENT "Running top-level TDocument commands"
+   SOURCES doc1.tex
    )
  



More information about the Cmake-commits mailing list