2012-08-13 21:47:32 +04:00
|
|
|
add_definitions(-DGENERATOR_EXTERN)
|
2008-04-29 23:34:49 +04:00
|
|
|
|
2007-05-09 16:25:45 +04:00
|
|
|
# add the executable which will be used for generating files
|
2012-08-13 21:47:32 +04:00
|
|
|
add_executable(generator_extern ../generator.cxx)
|
|
|
|
set_target_properties(generator_extern PROPERTIES OUTPUT_NAME the_external_generator)
|
2007-05-09 16:25:45 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
# add an executable which will be called from add_custom_command( ... POST_BUILD)
|
|
|
|
add_executable(dummy_generator ../generator.cxx)
|