Mercurial > trustbridge
comparison ui/tests/CMakeLists.txt @ 68:8ffbb48528ae
Add certificate installation for windows
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 18 Mar 2014 18:28:15 +0000 |
parents | 3f8c2d46ded6 |
children | 8fa273791242 |
comparison
equal
deleted
inserted
replaced
67:1bf41957418f | 68:8ffbb48528ae |
---|---|
15 set(_test ${_source}) | 15 set(_test ${_source}) |
16 get_filename_component(_name ${_source} NAME_WE) | 16 get_filename_component(_name ${_source} NAME_WE) |
17 add_executable(${_name} ${_test} ${_additional_sources}) | 17 add_executable(${_name} ${_test} ${_additional_sources}) |
18 add_test(m13-${_name} ${_name}) | 18 add_test(m13-${_name} ${_name}) |
19 target_link_libraries(${_name} Qt5::Test Qt5::Widgets | 19 target_link_libraries(${_name} Qt5::Test Qt5::Widgets |
20 ${EXTRA_STATIC_LIBS} | 20 ${POLARSSL_LIBRARIES} |
21 ${POLARSSL_LIBRARIES}) | 21 ${EXTRA_STATIC_LIBS}) |
22 endmacro() | 22 endmacro() |
23 | 23 |
24 # Add the current source dir to the definition | 24 # Add the current source dir to the definition |
25 # so that it can be used in file names in the tests. | 25 # so that it can be used in file names in the tests. |
26 add_definitions(-DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}") | 26 add_definitions(-DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}") |