[cmake-commits] alex committed CMakeLists.txt 1.1.2.2 1.1.2.3
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue May 8 16:58:52 EDT 2007
Update of /cvsroot/CMake/CMake/Tests/CustomCommand/GeneratorInExtraDir
In directory public:/mounts/ram/cvs-serv11710/GeneratorInExtraDir
Modified Files:
Tag: CMake-ACC-TargetUsedAsCommand
CMakeLists.txt
Log Message:
ENH: also test if the dependency to a target works with POSTBUILD
Alex
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CustomCommand/GeneratorInExtraDir/Attic/CMakeLists.txt,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- CMakeLists.txt 7 May 2007 18:50:27 -0000 1.1.2.2
+++ CMakeLists.txt 8 May 2007 20:58:50 -0000 1.1.2.3
@@ -1,3 +1,6 @@
# add the executable which will be used for generating files
ADD_EXECUTABLE(generator_extern ../generator.cxx)
SET_TARGET_PROPERTIES(generator_extern PROPERTIES OUTPUT_NAME the_external_generator)
+
+# add an executable which will be called from ADD_CUSTOM_COMMAND( ... POST_BUILD)
+ADD_EXECUTABLE(dummy_generator ../generator.cxx)
More information about the Cmake-commits
mailing list