Mercurial > trustbridge
comparison ui/CMakeLists.txt @ 109:16f37460b2e1
Use m13_common library
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 21 Mar 2014 16:07:35 +0000 |
parents | 39c42b5a5693 |
children | 2d50ff378367 |
comparison
equal
deleted
inserted
replaced
108:39c42b5a5693 | 109:16f37460b2e1 |
---|---|
1 find_package(Qt5Widgets REQUIRED) | |
2 | |
3 include_directories(${Qt5Widgets_INCLUDE_DIRS}) | 1 include_directories(${Qt5Widgets_INCLUDE_DIRS}) |
4 include_directories(${POLARSSL_INCLUDE_DIR}) | 2 include_directories(${POLARSSL_INCLUDE_DIR}) |
5 add_definitions(${Qt5Widgets_DEFINITIONS}) | 3 add_definitions(${Qt5Widgets_DEFINITIONS}) |
6 | 4 |
7 set(CERTIFICATELIST_SOURCES | 5 set(CERTIFICATELIST_SOURCES |
8 ${CMAKE_CURRENT_SOURCE_DIR}/certificatelist.cpp | 6 ${CMAKE_CURRENT_SOURCE_DIR}/certificatelist.cpp |
9 ${CMAKE_CURRENT_SOURCE_DIR}/certificate.cpp | 7 ${CMAKE_CURRENT_SOURCE_DIR}/certificate.cpp |
10 ${CMAKE_SOURCE_DIR}/common/listutil.c | |
11 ) | 8 ) |
12 | 9 |
13 set(DOWNLOADER_SOURCES | 10 set(DOWNLOADER_SOURCES |
14 ${CMAKE_CURRENT_SOURCE_DIR}/downloader.cpp | 11 ${CMAKE_CURRENT_SOURCE_DIR}/downloader.cpp |
15 ${CMAKE_CURRENT_SOURCE_DIR}/sslconnection.cpp | 12 ${CMAKE_CURRENT_SOURCE_DIR}/sslconnection.cpp |
75 set(M13UI_SOURCES_WITH_RESOURCES ${M13UI_SOURCES}) | 72 set(M13UI_SOURCES_WITH_RESOURCES ${M13UI_SOURCES}) |
76 qt5_add_resources(M13UI_SOURCES_WITH_RESOURCES ${M13UI_RESOURCES}) | 73 qt5_add_resources(M13UI_SOURCES_WITH_RESOURCES ${M13UI_RESOURCES}) |
77 add_executable(m13ui ${M13UI_SOURCES_WITH_RESOURCES}) | 74 add_executable(m13ui ${M13UI_SOURCES_WITH_RESOURCES}) |
78 | 75 |
79 target_link_libraries(m13ui Qt5::Widgets | 76 target_link_libraries(m13ui Qt5::Widgets |
77 m13_common | |
80 ${POLARSSL_LIBRARIES} | 78 ${POLARSSL_LIBRARIES} |
81 ${EXTRA_STATIC_LIBS} | 79 ${EXTRA_STATIC_LIBS} |
82 ${PROFILING_LIBS}) | 80 ${PROFILING_LIBS}) |
83 | 81 |
84 # Tests | 82 # Tests |