summaryrefslogtreecommitdiffstats
path: root/Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt
blob: e838e7b08f14266d729d1b50f7db0d63a0cb03ca (plain)
1
2
3
4
5
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)