[cmake-commits] alex committed CMakeLists.txt 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed May 9 08:25:47 EDT 2007
Update of /cvsroot/CMake/CMake/Tests/CustomCommand/GeneratorInExtraDir
In directory public:/mounts/ram/cvs-serv22971/Tests/CustomCommand/GeneratorInExtraDir
Added Files:
CMakeLists.txt
Log Message:
ENH: now target names can be used in add_custom_command() and
add_custom_target() as COMMAND, and cmake will recognize them and replace
them with the actual output path of these executables. Also the dependency
will be added automatically. Test included.
ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(),
so it is done now in one central place
Alex
--- NEW FILE: CMakeLists.txt ---
# 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