comparison ui/tests/CMakeLists.txt @ 967:9494d4ee1d4e

Add fallback when CMAKE_STRIP is not found and warn about it
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 28 Aug 2014 12:57:18 +0200
parents 3baee3445502
children 7d08fd354bff
comparison
equal deleted inserted replaced
966:9783e32e215f 967:9494d4ee1d4e
74 # Using fakeinstaller here would cause windows UAC heuristics to trigger 74 # Using fakeinstaller here would cause windows UAC heuristics to trigger
75 add_executable(fakeinst fakeinstaller.c) 75 add_executable(fakeinst fakeinstaller.c)
76 76
77 if (WIN32) 77 if (WIN32)
78 add_custom_test(windowsstoretest.cpp "${CMAKE_SOURCE_DIR}/cinst/windowsstore.c") 78 add_custom_test(windowsstoretest.cpp "${CMAKE_SOURCE_DIR}/cinst/windowsstore.c")
79
80 if (NOT "${CMAKE_STRIP}")
81 message(STATUS "WARNING CMAKE_STRIP not set. Please set this in your toolchain file. Falling back to: i686-w64-mingw32-strip")
82 set (CMAKE_STRIP "i686-w64-mingw32-strip")
83 endif()
79 84
80 if (OSSLSIGNCODE_EXECUTABLE) 85 if (OSSLSIGNCODE_EXECUTABLE)
81 add_custom_test (binverifytest.cpp "") 86 add_custom_test (binverifytest.cpp "")
82 add_custom_command( 87 add_custom_command(
83 TARGET binverifytest 88 TARGET binverifytest

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