comparison ui/tests/CMakeLists.txt @ 243:4b67cc2d4dad

Merged
author Sascha Wilde <wilde@intevation.de>
date Fri, 28 Mar 2014 18:38:34 +0100
parents c05e126b0b9e
children 3ae8b3ab3eab
comparison
equal deleted inserted replaced
242:809eaca3898c 243:4b67cc2d4dad
27 endmacro() 27 endmacro()
28 28
29 # Add the current source dir to the definition 29 # Add the current source dir to the definition
30 # so that it can be used in file names in the tests. 30 # so that it can be used in file names in the tests.
31 add_definitions(-DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}") 31 add_definitions(-DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
32 add_m13_test(certlistparsertest.cpp "${CERTIFICATELIST_SOURCES}") 32 add_m13_test(certlistparsertest.cpp "${CERTIFICATELIST_SOURCES};${CMAKE_CURRENT_SOURCE_DIR}/common.cpp")
33 33
34 # Downloader 34 # Downloader
35 if (HIAWATHA_EXECUTABLE) 35 if (HIAWATHA_EXECUTABLE)
36 set(DOWNLOADER_SOURCES_WITH_RESOURCES ${DOWNLOADER_SOURCES}) 36 set(DOWNLOADER_SOURCES_WITH_RESOURCES ${DOWNLOADER_SOURCES})
37 qt5_add_resources(DOWNLOADER_SOURCES_WITH_RESOURCES ${M13UI_RESOURCES}) 37 qt5_add_resources(DOWNLOADER_SOURCES_WITH_RESOURCES ${M13UI_RESOURCES})
38 add_m13_test(downloadertest.cpp "${DOWNLOADER_SOURCES_WITH_RESOURCES}") 38 add_m13_test(downloadertest.cpp "${DOWNLOADER_SOURCES_WITH_RESOURCES};${CMAKE_CURRENT_SOURCE_DIR}/common.cpp")
39 endif() 39 endif()
40 40
41 # Cinstprocess 41 # Cinstprocess
42 add_m13_test(cinstprocesstest.cpp "${CERTIFICATELIST_SOURCES}") 42 add_m13_test(cinstprocesstest.cpp "${CERTIFICATELIST_SOURCES}")
43 add_m13_test(commontest.cpp "") 43 add_m13_test(commontest.cpp "")

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