Mercurial > trustbridge
diff 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 |
line wrap: on
line diff
--- a/CMakeLists.txt Wed Feb 19 14:22:26 2014 +0000 +++ b/CMakeLists.txt Wed Feb 19 15:41:14 2014 +0000 @@ -23,14 +23,16 @@ ${CMAKE_SOURCE_DIR}/ui/downloader.cpp ${CMAKE_SOURCE_DIR}/ui/downloader_win.cpp ${CMAKE_SOURCE_DIR}/ui/downloader_linux.cpp - ${CMAKE_SOURCE_DIR}/ui/listutil.c + ${CMAKE_SOURCE_DIR}/cinst/listutil.c + ${CMAKE_SOURCE_DIR}/ui/main.cpp ) # Seperated to make it easier to include the sources in tests -set(M13UI_MAIN ui/main.cpp) +set(M13UI_MAIN ) set(M13UI_RESOURCES - ui/icons.qrc + ${CMAKE_SOURCE_DIR}/ui/icons.qrc + ${CMAKE_SOURCE_DIR}/ui/certs.qrc ) # Warn level to be used for privileged parts @@ -98,6 +100,7 @@ if (FLAWFINDER_PATH) add_custom_target(flawfinder COMMENT "FlawFinder" VERBATIM COMMAND ${FLAWFINDER_PATH} ${CMAKE_SOURCE_DIR}/ui + ${CMAKE_SOURCE_DIR}/cinst ) add_dependencies(static_check flawfinder) endif (FLAWFINDER_PATH)