Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Tests / CustomCommand / GeneratorInExtraDir / CMakeLists.txt
blob195a47792a48858a1e99ddc6e798e1bf755c2d86
1 ADD_DEFINITIONS(-DGENERATOR_EXTERN)
3 # add the executable which will be used for generating files
4 ADD_EXECUTABLE(generator_extern ../generator.cxx)
5 SET_TARGET_PROPERTIES(generator_extern PROPERTIES OUTPUT_NAME the_external_generator)
7 # add an executable which will be called from ADD_CUSTOM_COMMAND( ... POST_BUILD)
8 ADD_EXECUTABLE(dummy_generator ../generator.cxx)