comparison ui/CMakeLists.txt @ 37:00aa5fa3c2fb

Build System maintainance. Correct integration of Polarssl. Make profiling an option, fix static_check target
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 14 Mar 2014 09:01:19 +0000
parents 25c08d63d2b7
children ee27186fc8e6
comparison
equal deleted inserted replaced
36:81183b721b51 37:00aa5fa3c2fb
56 set(EXTRA_STATIC_LIBS Qt5::QWindowsIntegrationPlugin ${WINDOWS_EXTRA_LIBS} -lwinhttp -lcrypt32) 56 set(EXTRA_STATIC_LIBS Qt5::QWindowsIntegrationPlugin ${WINDOWS_EXTRA_LIBS} -lwinhttp -lcrypt32)
57 endif() 57 endif()
58 58
59 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") 59 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")
60 60
61 add_custom_target(static_check)
62 generate_cppcheck(SOURCES ${CINST_SOURCES} ${M13UI_SOURCES} TARGET_NAME m13) 61 generate_cppcheck(SOURCES ${CINST_SOURCES} ${M13UI_SOURCES} TARGET_NAME m13)
63 add_dependencies(static_check cppcheck) 62 add_dependencies(static_check cppcheck)
64 63
65 # Adding resources here in an extra variable to enable reuse of 64 # Adding resources here in an extra variable to enable reuse of
66 # M13UI_SOURCES in the test subdirectory. 65 # M13UI_SOURCES in the test subdirectory.

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