better windows support

This commit is contained in:
taipanromania 2008-09-26 12:11:43 +00:00
parent 8ff0df1491
commit e5309dd096
2 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ project(zint_frontend)
set(zint_frontend_SRCS main.c )
include_directories(BEFORE ../backend)
include_directories(BEFORE "${CMAKE_SOURCE_DIR}/backend")
add_executable(zint_frontend ${zint_frontend_SRCS})
@ -12,6 +12,6 @@ set_target_properties(zint_frontend PROPERTIES OUTPUT_NAME "zint")
add_dependencies(zint_frontend zint)
link_directories( "../backend" )
link_directories( "${CMAKE_BINARY_DIR}/backend" )
target_link_libraries(zint_frontend zint)

View File

@ -2,16 +2,16 @@
project(QZint_frontend)
include_directories(BEFORE ../backend ../backend_qt4)
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 barcodeitem.h mainwindow.h)
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( "../backend" "../backend_qt4" )
link_directories( "${CMAKE_BINARY_DIR}/backend" "${CMAKE_BINARY_DIR}/backend_qt4" )
target_link_libraries(QZint_frontend zint QZint ${QT_QTGUI_LIBRARY}
${QT_QTCORE_LIBRARY} )