Skip to content

Commit 159059e

Browse files
cppcheck in ubuntu 24.04 generated false positive within QP code itself.
It was just plain wrong, so I'm removing this build check.
1 parent 0b343a6 commit 159059e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

cpputest-for-qpcpp-lib/CMakeLists.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
66

77
add_definitions(-DCPPUTEST_FOR_QPCPP_LIB_VERSION=\"${cpputest-for-qpcpp-lib_VERSION}\")
88

9-
find_program(CPPCHECK cppcheck)
10-
if (CPPCHECK)
11-
set(CMAKE_CXX_CPPCHECK
12-
${CPPCHECK}
13-
--enable=warning,performance,portability
14-
--inline-suppr
15-
--quiet
16-
--suppress=missingIncludeSystem
17-
--error-exitcode=1
18-
-DUINTPTR_MAX=0xFFFFFFFF
19-
)
20-
else ()
21-
message(WARNING "Cppcheck not found, install for additional analysis")
22-
endif ()
23-
249
add_library(cpputest-for-qpcpp-lib
2510
src/cpputest_qf_port.cpp
2611
src/cms_cpputest_qf_ctrl.cpp

0 commit comments

Comments
 (0)