[cmake-commits] alex committed CMakeLists.txt NONE 1.1.2.1

cmake-commits at cmake.org cmake-commits at cmake.org
Fri May 4 16:43:32 EDT 2007


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

Added Files:
      Tag: CMake-ACC-TargetUsedAsCommand
	CMakeLists.txt 
Log Message:

ENH: you can now use the target name of a executable target in cmake as
command in add_custom_command, it should also honor the buildtypes. A
testcase in Tests/CustomCommand/ is also coming soon. Tested on Linux with
Makefiles, OSX with XCode and MSVC 7. MSVC 6 and 8 are not tested. Next will
be to also automatically add the dependencies to this target automatically.

Alex


--- NEW FILE: CMakeLists.txt ---
# add the executable which will be used for generating files
ADD_EXECUTABLE(generator_extern ../generator.cxx)



More information about the Cmake-commits mailing list