Add clang analyze flags
This commit is contained in:
parent
75480d3606
commit
58acf3e337
|
@ -66,6 +66,9 @@ elseif (CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
|||
if (CODE_COVERAGE)
|
||||
add_compile_options(-fprofile-instr-generate -fcoverage-mapping)
|
||||
endif()
|
||||
if (CODE_ANALYZER)
|
||||
add_compile_options(--analyze)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set_target_properties(uircd PROPERTIES
|
||||
|
|
Reference in New Issue