update cmakelists and gitignore - fanalyzer and ignore build dirs
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
.env
|
.env
|
||||||
build/
|
build/
|
||||||
|
build*/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
config.json
|
config.json
|
||||||
.vscode
|
.vscode
|
||||||
|
|||||||
@@ -246,6 +246,8 @@ else()
|
|||||||
hammy_append_supported_c_flags(HAMMY_ANALYZER_FLAGS
|
hammy_append_supported_c_flags(HAMMY_ANALYZER_FLAGS
|
||||||
-fanalyzer-verbosity=${ANALYZER_VERBOSITY}
|
-fanalyzer-verbosity=${ANALYZER_VERBOSITY}
|
||||||
-fanalyzer
|
-fanalyzer
|
||||||
|
--param=analyzer-checker=taint
|
||||||
|
--Wanalyzer-too-complex
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||||
|
|||||||
Reference in New Issue
Block a user