comparison ui/tests/CMakeLists.txt @ 1071:fc4e1fe4e4d4

(issue116) Sign binaries with test certificate if RELESE_BUILD option is not used
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 10 Sep 2014 17:52:11 +0200
parents 86fbada04af7
children e210ecc32d69
comparison
equal deleted inserted replaced
1070:f110a3f6e387 1071:fc4e1fe4e4d4
13 ${CMAKE_SOURCE_DIR}/cinst) 13 ${CMAKE_SOURCE_DIR}/cinst)
14 14
15 find_package(Qt5Test) 15 find_package(Qt5Test)
16 include_directories(${Qt5Test_INCLUDE_DIRS}) 16 include_directories(${Qt5Test_INCLUDE_DIRS})
17 find_program(HIAWATHA_EXECUTABLE hiawatha) 17 find_program(HIAWATHA_EXECUTABLE hiawatha)
18 find_program(OSSLSIGNCODE_EXECUTABLE osslsigncode)
19 find_program(OPENSSL_EXECUTABLE openssl) 18 find_program(OPENSSL_EXECUTABLE openssl)
20 19
21 if (NOT HIAWATHA_EXECUTABLE) 20 if (NOT HIAWATHA_EXECUTABLE)
22 message (STATUS "WARNING: hiawatha webserver not found. Downloader will not be run.") 21 message (STATUS "WARNING: hiawatha webserver not found. Downloader will not be run.")
23 else() 22 else()
24 add_definitions(-DHIAWATHA_EXECUTABLE="${HIAWATHA_EXECUTABLE}") 23 add_definitions(-DHIAWATHA_EXECUTABLE="${HIAWATHA_EXECUTABLE}")
25 endif()
26
27 if (WIN32 AND NOT OSSLSIGNCODE_EXECUTABLE)
28 message (STATUS "WARNING: osslsigncode not found. Authenticode tests will not be run.")
29 endif() 24 endif()
30 25
31 if (UNIX AND NOT OPENSSL_EXECUTABLE) 26 if (UNIX AND NOT OPENSSL_EXECUTABLE)
32 message (STATUS "WARNING: openssl (the tool) not found. Binary verification tests will not be run.") 27 message (STATUS "WARNING: openssl (the tool) not found. Binary verification tests will not be run.")
33 endif() 28 endif()

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