comparison ui/CMakeLists.txt @ 62:aa707f111e89

Readd cppcheck to static_check dependencies
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 18 Mar 2014 14:07:03 +0000
parents d1aaee32e491
children 8ffbb48528ae
comparison
equal deleted inserted replaced
61:b8cd573bd3ac 62:aa707f111e89
62 set(EXTRA_STATIC_LIBS Qt5::QWindowsIntegrationPlugin ${WINDOWS_EXTRA_LIBS} -lwinhttp -lcrypt32) 62 set(EXTRA_STATIC_LIBS Qt5::QWindowsIntegrationPlugin ${WINDOWS_EXTRA_LIBS} -lwinhttp -lcrypt32)
63 endif() 63 endif()
64 64
65 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") 65 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")
66 66
67 generate_cppcheck(SOURCES ${CINST_SOURCES} ${M13UI_SOURCES} TARGET_NAME m13) 67 generate_cppcheck(SOURCES ${CINST_SOURCES} ${M13UI_SOURCES} TARGET_NAME m13_cppcheck)
68 add_dependencies(static_check cppcheck) 68 add_dependencies(static_check m13_cppcheck)
69 69
70 # Adding resources here in an extra variable to enable reuse of 70 # Adding resources here in an extra variable to enable reuse of
71 # M13UI_SOURCES in the test subdirectory. 71 # M13UI_SOURCES in the test subdirectory.
72 set(M13UI_SOURCES_WITH_RESOURCES ${M13UI_SOURCES}) 72 set(M13UI_SOURCES_WITH_RESOURCES ${M13UI_SOURCES})
73 qt5_add_resources(M13UI_SOURCES_WITH_RESOURCES ${M13UI_RESOURCES}) 73 qt5_add_resources(M13UI_SOURCES_WITH_RESOURCES ${M13UI_RESOURCES})

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