mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-06 11:37:27 +00:00
cmake buildsystem
This commit is contained in:
17
frontend_qt4/CMakeLists.txt
Normal file
17
frontend_qt4/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >
|
||||
|
||||
project(QZint_frontend)
|
||||
|
||||
include_directories(BEFORE ../backend ../backend_qt4)
|
||||
|
||||
set(QZint_frontend_SRCS barcodeitem.cpp main.cpp mainwindow.cpp)
|
||||
QT4_WRAP_CPP(QZint_frontend_SRCS barcodeitem.h 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( "../backend" "../backend_qt4" )
|
||||
|
||||
target_link_libraries(QZint_frontend zint QZint ${QT_QTGUI_LIBRARY}
|
||||
${QT_QTCORE_LIBRARY} )
|
||||
Reference in New Issue
Block a user