File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,15 +141,16 @@ add_custom_target(
141141# Extra, option to use clang (et al) front-end, CodeChecker
142142# Use clang-7, clang-tidy-7 or later
143143# pip3 install --user codechecker
144+ # (If "codechecker" not found try "CodeChecker")
144145add_custom_target (
145146 codechecker_build
146- COMMAND CodeChecker log --build "make" ;
147+ COMMAND codechecker log --build "make" ;
147148 --output "./compile_commands.json" ;
148149)
149150add_custom_target (
150151 codechecker_analyze
151152 DEPENDS codechecker_build
152- COMMAND CodeChecker analyze "compile_commands.json" -o reports;
153+ COMMAND codechecker analyze "compile_commands.json" -o reports;
153154 --enable sensitive;
154155 --clean;
155156 #--ctu;
@@ -158,10 +159,10 @@ add_custom_target(
158159add_custom_target (
159160 codechecker
160161 DEPENDS codechecker_analyze
161- COMMAND CodeChecker parse ./reports;
162+ COMMAND codechecker parse ./reports;
162163)
163164add_custom_target (
164165 codechecker-html
165166 DEPENDS codechecker_analyze
166- COMMAND CodeChecker parse ./reports -e html -o ./reports_html
167+ COMMAND codechecker parse ./reports -e html -o ./reports_html
167168)
You can’t perform that action at this time.
0 commit comments