We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f35aeaf commit 0470949Copy full SHA for 0470949
CMakeLists.txt
@@ -42,6 +42,8 @@ add_compile_options("-fsingle-precision-constant")
42
# enable stack usage
43
add_compile_options(-fstack-usage)
44
45
+# enable the static analyzer for the whole project
46
+add_compile_options(-fanalyzer)
47
48
# include the target cpu and set a target board
49
if (DEFINED TARGET_CPU)
@@ -77,4 +79,4 @@ endif()
77
79
add_subdirectory(${CMAKE_SOURCE_DIR}/klib)
78
80
81
# add the project sources
-add_subdirectory(${CMAKE_SOURCE_DIR}/project)
82
+add_subdirectory(${CMAKE_SOURCE_DIR}/project)
0 commit comments