Skip to content

Commit b1ffc58

Browse files
committed
cmake: sca: codechecker: Support output to console and export
Enable parsed results to be printed to the console in addition to being exported, rather than requiring one or the other. Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
1 parent 4eddd78 commit b1ffc58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/sca/codechecker/sca.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ if(DEFINED CODECHECKER_EXPORT)
143143
add_dependencies(codechecker-report-${export_item} codechecker)
144144
add_dependencies(codechecker-parse-check codechecker-report-${export_item})
145145
endforeach()
146-
elseif(NOT CODECHECKER_PARSE_SKIP)
146+
endif()
147+
148+
if(NOT CODECHECKER_PARSE_SKIP)
147149
# Output parse results
148150
add_custom_target(codechecker-parse ALL
149151
COMMAND ${CODECHECKER_EXE} parse

0 commit comments

Comments
 (0)