Mercurial > trustbridge
comparison CMakeLists.txt @ 18:f4f957c58e0a
Move listuitol and add cert pinning with a test certificate
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 19 Feb 2014 15:41:14 +0000 |
parents | e26f9cc93601 |
children | dc1e1e9e62ce |
comparison
equal
deleted
inserted
replaced
17:c12825a651ed | 18:f4f957c58e0a |
---|---|
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 | 23 ${CMAKE_SOURCE_DIR}/ui/downloader.cpp |
24 ${CMAKE_SOURCE_DIR}/ui/downloader_win.cpp | 24 ${CMAKE_SOURCE_DIR}/ui/downloader_win.cpp |
25 ${CMAKE_SOURCE_DIR}/ui/downloader_linux.cpp | 25 ${CMAKE_SOURCE_DIR}/ui/downloader_linux.cpp |
26 ${CMAKE_SOURCE_DIR}/ui/listutil.c | 26 ${CMAKE_SOURCE_DIR}/cinst/listutil.c |
27 ${CMAKE_SOURCE_DIR}/ui/main.cpp | |
27 ) | 28 ) |
28 | 29 |
29 # Seperated to make it easier to include the sources in tests | 30 # Seperated to make it easier to include the sources in tests |
30 set(M13UI_MAIN ui/main.cpp) | 31 set(M13UI_MAIN ) |
31 | 32 |
32 set(M13UI_RESOURCES | 33 set(M13UI_RESOURCES |
33 ui/icons.qrc | 34 ${CMAKE_SOURCE_DIR}/ui/icons.qrc |
35 ${CMAKE_SOURCE_DIR}/ui/certs.qrc | |
34 ) | 36 ) |
35 | 37 |
36 # Warn level to be used for privileged parts | 38 # Warn level to be used for privileged parts |
37 set(WARN_HARDENING_FLAGS " -Wextra -Wconversion -Wformat-security") | 39 set(WARN_HARDENING_FLAGS " -Wextra -Wconversion -Wformat-security") |
38 | 40 |
96 # FlawFinder | 98 # FlawFinder |
97 find_program(FLAWFINDER_PATH flawfinder DOC "flawfinder path") | 99 find_program(FLAWFINDER_PATH flawfinder DOC "flawfinder path") |
98 if (FLAWFINDER_PATH) | 100 if (FLAWFINDER_PATH) |
99 add_custom_target(flawfinder COMMENT "FlawFinder" VERBATIM COMMAND ${FLAWFINDER_PATH} | 101 add_custom_target(flawfinder COMMENT "FlawFinder" VERBATIM COMMAND ${FLAWFINDER_PATH} |
100 ${CMAKE_SOURCE_DIR}/ui | 102 ${CMAKE_SOURCE_DIR}/ui |
103 ${CMAKE_SOURCE_DIR}/cinst | |
101 ) | 104 ) |
102 add_dependencies(static_check flawfinder) | 105 add_dependencies(static_check flawfinder) |
103 endif (FLAWFINDER_PATH) | 106 endif (FLAWFINDER_PATH) |
104 | 107 |
105 # Tests | 108 # Tests |