2008-09-18 10:44:52 -04:00
|
|
|
# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >
|
|
|
|
|
|
|
|
project(zint_frontend)
|
|
|
|
|
|
|
|
set(zint_frontend_SRCS main.c )
|
|
|
|
|
2008-09-26 08:11:43 -04:00
|
|
|
include_directories(BEFORE "${CMAKE_SOURCE_DIR}/backend")
|
2008-09-18 10:44:52 -04:00
|
|
|
|
|
|
|
add_executable(zint_frontend ${zint_frontend_SRCS})
|
|
|
|
|
2008-09-24 04:59:39 -04:00
|
|
|
set_target_properties(zint_frontend PROPERTIES OUTPUT_NAME "zint")
|
|
|
|
|
2008-09-18 10:44:52 -04:00
|
|
|
add_dependencies(zint_frontend zint)
|
|
|
|
|
2008-09-26 08:11:43 -04:00
|
|
|
link_directories( "${CMAKE_BINARY_DIR}/backend" )
|
2008-09-18 10:44:52 -04:00
|
|
|
|
|
|
|
target_link_libraries(zint_frontend zint)
|
2009-05-20 04:33:01 -04:00
|
|
|
|
|
|
|
install(TARGETS zint_frontend DESTINATION "${BIN_INSTALL_DIR}" RUNTIME)
|