Skip to content

fixed #14081 - fail builds in CI on CMake warnings - #8273

Merged
firewave merged 1 commit into
cppcheck-opensource:mainfrom
firewave:cmake-err-dev
Mar 2, 2026
Merged

fixed #14081 - fail builds in CI on CMake warnings#8273
firewave merged 1 commit into
cppcheck-opensource:mainfrom
firewave:cmake-err-dev

Conversation

@firewave

Copy link
Copy Markdown
Collaborator

No description provided.

@firewavefirewave changed the title fixed #14081 - fail builds in CI on CMake warningsfixed #14081 - fail builds in CI on CMake warnings / adjusted mode of some messagesFeb 27, 2026
@firewavefirewave changed the title fixed #14081 - fail builds in CI on CMake warnings / adjusted mode of some messagesfixed #14081 - fail builds in CI on CMake warnings / adjusted mode of some CMake messagesFeb 27, 2026
@firewavefirewave changed the title fixed #14081 - fail builds in CI on CMake warnings / adjusted mode of some CMake messagesfixed #14081 - fail builds in CI on CMake warningsFeb 27, 2026
@firewave

firewave commented Feb 27, 2026

Copy link
Copy Markdown
CollaboratorAuthor

This exposes an issue with the checks I added in #8235. The following is reported even if BUILD_TESTS is not specified:

CMake Deprecation Error at cmake/options.cmake:61 (message):
BUILD_TESTS has been deprecated and will be removed in Cppcheck 2.22 -
-- Debug build detected - disabling matchcompiler
-- Configuring incomplete, errors occurred!
please use BUILD_TESTING instead

@firewave

Copy link
Copy Markdown
CollaboratorAuthor

This exposes an issue with the checks I added in #8235. The following is reported even if BUILD_TESTS is not specified:

Fixed by #8277.

@firewave
firewave marked this pull request as ready for review March 1, 2026 19:07
@sonarqubecloud

Copy link
Copy Markdown

@firewave
firewave merged commit f309bf2 into cppcheck-opensource:mainMar 2, 2026
70 checks passed
@firewave
firewave deleted the cmake-err-dev branch March 2, 2026 11:34
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@firewave@danmar