# Autogenerated file, run tools/build/setup_cmake.py to regenerate include_directories(%(includepath)s) link_directories(%(libpath)s) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${%(NAME)s_CXX_FLAGS}") set(cppbins %(cppbins)s) foreach (bin ${cppbins}) GET_FILENAME_COMPONENT(name ${bin} NAME_WE) add_executable(%(name)s.${name} ${bin}) target_link_libraries(%(name)s.${name} imp_%(name)s %(modules)s %(dependencies)s) set_target_properties(%(name)s.${name} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/module_bin/%(name)s" OUTPUT_NAME ${name}) set(executables ${executables} %(name)s.${name}) endforeach(bin) add_custom_target("imp_%(name)s_bins" ALL DEPENDS ${executables})