zint/frontend_qt4/CMakeLists.txt

27 lines
997 B
CMake
Raw Normal View History

2008-09-19 02:44:52 +12:00
# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >
project(QZint_frontend)
2008-09-27 00:11:43 +12:00
include_directories(BEFORE "${CMAKE_SOURCE_DIR}/backend" "${CMAKE_SOURCE_DIR}/backend_qt4")
2008-09-19 02:44:52 +12:00
set(QZint_frontend_SRCS barcodeitem.cpp main.cpp mainwindow.cpp)
2008-09-27 00:11:43 +12:00
QT4_WRAP_CPP(QZint_frontend_SRCS mainwindow.h)
2009-05-22 09:00:23 +12:00
QT4_WRAP_UI(QZint_frontend_SRCS mainWindow.ui )
# grpAztec.ui grpC39.ui grpDM.ui grpMSICheck.ui
# grpC128.ui grpChannel.ui grpMicroPDF.ui grpPDF417.ui
2009-05-27 11:07:16 +12:00
# grpC16k.ui grpCodablock.ui grpMQR.ui grpQR.ui
# grpMaxicode.ui)
2009-05-22 09:00:23 +12:00
QT4_ADD_RESOURCES(QZint_frontend_SRCS resources.qrc)
2008-09-19 02:44:52 +12:00
add_executable(QZint_frontend ${QZint_frontend_SRCS})
add_dependencies(QZint_frontend QZint zint)
2008-09-27 00:11:43 +12:00
link_directories( "${CMAKE_BINARY_DIR}/backend" "${CMAKE_BINARY_DIR}/backend_qt4" )
2008-09-19 02:44:52 +12:00
2009-05-26 06:40:32 +12:00
target_link_libraries(QZint_frontend zint QZint ${QT_QTUITOOLS_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTGUI_LIBRARY}
2008-09-19 02:44:52 +12:00
${QT_QTCORE_LIBRARY} )
install(TARGETS QZint_frontend DESTINATION "${BIN_INSTALL_DIR}" RUNTIME)