1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-08 12:32:01 +00:00
Files
zint/frontend_qt4/CMakeLists.txt
taipanromania 8398eff997 better debian support
added qt frontend to debian packages
2009-05-20 08:33:01 +00:00

20 lines
686 B
CMake

# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >
project(QZint_frontend)
include_directories(BEFORE "${CMAKE_SOURCE_DIR}/backend" "${CMAKE_SOURCE_DIR}/backend_qt4")
set(QZint_frontend_SRCS barcodeitem.cpp main.cpp mainwindow.cpp)
QT4_WRAP_CPP(QZint_frontend_SRCS mainwindow.h)
QT4_WRAP_UI(QZint_frontend_SRCS mainWindow.ui)
add_executable(QZint_frontend ${QZint_frontend_SRCS})
add_dependencies(QZint_frontend QZint zint)
link_directories( "${CMAKE_BINARY_DIR}/backend" "${CMAKE_BINARY_DIR}/backend_qt4" )
target_link_libraries(QZint_frontend zint QZint ${QT_QTGUI_LIBRARY}
${QT_QTCORE_LIBRARY} )
install(TARGETS QZint_frontend DESTINATION "${BIN_INSTALL_DIR}" RUNTIME)