Add clang analyze flags
This commit is contained in:
parent
6081dc6372
commit
28ee114457
|
@ -128,6 +128,9 @@ elseif (CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||||
if (CODE_COVERAGE)
|
if (CODE_COVERAGE)
|
||||||
add_compile_options(-fprofile-instr-generate -fcoverage-mapping)
|
add_compile_options(-fprofile-instr-generate -fcoverage-mapping)
|
||||||
endif()
|
endif()
|
||||||
|
if (CODE_ANALYZER)
|
||||||
|
add_compile_options(--analyze)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
separate_arguments(UIRC_HEADERS)
|
separate_arguments(UIRC_HEADERS)
|
||||||
|
|
Reference in New Issue