comparison CMakeLists.txt @ 11:7e2f14c7aba2

Split up downloader component and further implement it
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 14 Feb 2014 11:20:15 +0000
parents 992c0ec57660
children e26f9cc93601
comparison
equal deleted inserted replaced
10:fe39d93f1261 11:7e2f14c7aba2
18 add_definitions(${Qt5Widgets_DEFINITIONS}) 18 add_definitions(${Qt5Widgets_DEFINITIONS})
19 19
20 set(M13UI_SOURCES 20 set(M13UI_SOURCES
21 ${CMAKE_SOURCE_DIR}/ui/mainwindow.cpp 21 ${CMAKE_SOURCE_DIR}/ui/mainwindow.cpp
22 ${CMAKE_SOURCE_DIR}/ui/certificatelist.cpp 22 ${CMAKE_SOURCE_DIR}/ui/certificatelist.cpp
23 ${CMAKE_SOURCE_DIR}/ui/downloader.cpp
24 ${CMAKE_SOURCE_DIR}/ui/downloader_win.cpp
25 ${CMAKE_SOURCE_DIR}/ui/downloader_linux.cpp
23 ${CMAKE_SOURCE_DIR}/ui/listutil.c 26 ${CMAKE_SOURCE_DIR}/ui/listutil.c
24 ) 27 )
25 28
26 # Seperated to make it easier to include the sources in tests 29 # Seperated to make it easier to include the sources in tests
27 set(M13UI_MAIN ui/main.cpp) 30 set(M13UI_MAIN ui/main.cpp)
65 -L${_qtpath} 68 -L${_qtpath}
66 -lwinspool -lshlwapi -lfreetype -lbz2 -lpng16 69 -lwinspool -lshlwapi -lfreetype -lbz2 -lpng16
67 -lQt5PlatformSupport -lQt5Gui -lcomdlg32 -loleaut32 -limm32 -lwinmm 70 -lQt5PlatformSupport -lQt5Gui -lcomdlg32 -loleaut32 -limm32 -lwinmm
68 -lglu32 -lopengl32 -lgdi32 -ljpeg -lpng -lQt5Core -lole32 -luuid -lws2_32 71 -lglu32 -lopengl32 -lgdi32 -ljpeg -lpng -lQt5Core -lole32 -luuid -lws2_32
69 -ladvapi32 -lshell32 -luser32 -lkernel32 -lz -lsicuin -lsicuuc -lsicudt -lpcre16) 72 -ladvapi32 -lshell32 -luser32 -lkernel32 -lz -lsicuin -lsicuuc -lsicudt -lpcre16)
70 set(EXTRA_STATIC_LIBS Qt5::QWindowsIntegrationPlugin ${WINDOWS_EXTRA_LIBS}) 73
74 set(EXTRA_STATIC_LIBS Qt5::QWindowsIntegrationPlugin ${WINDOWS_EXTRA_LIBS} -lwinhttp)
71 75
72 set(HARDENING_FLAGS " ${HARDENING_FLAGS} -Wl,--dynamicbase -Wl,--nxcompat") 76 set(HARDENING_FLAGS " ${HARDENING_FLAGS} -Wl,--dynamicbase -Wl,--nxcompat")
73 endif() 77 endif()
74 78
75 qt5_add_resources(M13UI_SOURCES ${M13UI_RESOURCES}) 79 qt5_add_resources(M13UI_SOURCES ${M13UI_RESOURCES})

http://wald.intevation.org/projects/trustbridge/