2008-09-18 14:44:52 +00:00
|
|
|
# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >
|
|
|
|
|
2009-07-17 22:13:39 +00:00
|
|
|
project(zint-qt)
|
2008-09-18 14:44:52 +00:00
|
|
|
|
2016-12-11 15:29:06 +00:00
|
|
|
include_directories(BEFORE "${CMAKE_SOURCE_DIR}/backend" "${CMAKE_SOURCE_DIR}/backend_qt")
|
2008-09-18 14:44:52 +00:00
|
|
|
|
2009-09-19 08:13:35 +00:00
|
|
|
set(zint-qt_SRCS barcodeitem.cpp main.cpp mainwindow.cpp datawindow.cpp sequencewindow.cpp exportwindow.cpp)
|
2016-12-11 15:29:06 +00:00
|
|
|
QT5_WRAP_CPP(zint-qt_SRCS mainwindow.h datawindow.h sequencewindow.h exportwindow.h)
|
2009-05-21 21:00:23 +00:00
|
|
|
|
2016-12-11 15:29:06 +00:00
|
|
|
QT5_WRAP_UI(zint-qt_SRCS mainWindow.ui extData.ui extSequence.ui extExport.ui)
|
2020-07-15 19:00:12 +01:00
|
|
|
# grpAztec.ui grpC49.ui grpDBExtend.ui grpLOGMARS.ui grpPDF417.ui grpUPCA.ui
|
|
|
|
# grpC11.ui grpChannel.ui grpDM.ui grpMaxicode.ui grpPZN.ui grpUPCEAN.ui
|
|
|
|
# grpC128.ui grpCodabar.ui grpDotCode.ui grpMicroPDF.ui grpQR.ui grpVIN.ui
|
2020-06-04 18:45:25 +01:00
|
|
|
# grpC16k.ui grpCodablockF.ui grpGrid.ui grpMQR.ui grpRMQR.ui
|
|
|
|
# grpC39.ui grpCodeOne.ui grpHX.ui grpMSICheck.ui grpUltra.ui
|
2009-05-21 21:00:23 +00:00
|
|
|
|
2016-12-11 15:29:06 +00:00
|
|
|
QT5_ADD_RESOURCES(zint-qt_SRCS resources.qrc)
|
2008-09-18 14:44:52 +00:00
|
|
|
|
2009-07-17 22:13:39 +00:00
|
|
|
add_executable(zint-qt ${zint-qt_SRCS})
|
|
|
|
add_dependencies(zint-qt QZint zint)
|
2008-09-18 14:44:52 +00:00
|
|
|
|
2016-12-11 15:29:06 +00:00
|
|
|
link_directories( "${CMAKE_BINARY_DIR}/backend" "${CMAKE_BINARY_DIR}/backend_qt" )
|
2008-09-18 14:44:52 +00:00
|
|
|
|
2016-12-11 15:29:06 +00:00
|
|
|
target_link_libraries(zint-qt zint QZint Qt5::UiTools ${QT_QTXML_LIBRARY} Qt5::Gui Qt5::Core )
|
2009-05-20 08:33:01 +00:00
|
|
|
|
2009-07-17 22:13:39 +00:00
|
|
|
install(TARGETS zint-qt DESTINATION "${BIN_INSTALL_DIR}" RUNTIME)
|