Skip to content

added CMake option CPPCHK_GLIBCXX_DEBUG to make usage of _GLIBCXX_DEBUG in Debug build configurable#3628

Merged
danmar merged 3 commits into
cppcheck-opensource:mainfrom
firewave:ci-tidy
Jan 4, 2022
Merged

added CMake option CPPCHK_GLIBCXX_DEBUG to make usage of _GLIBCXX_DEBUG in Debug build configurable#3628
danmar merged 3 commits into
cppcheck-opensource:mainfrom
firewave:ci-tidy

Conversation

@firewave

@firewave firewave commented Dec 14, 2021

Copy link
Copy Markdown
Collaborator

This matches what can be done with Makefile.

@firewave

firewave commented Jan 2, 2022

Copy link
Copy Markdown
Collaborator Author

This will also help with include-what-you-use warnings about using the <debug/*> includes directly.

Comment thread cmake/options.cmake
option(HAVE_RULES "Usage of rules (needs PCRE library and headers)" OFF)
option(USE_Z3 "Usage of z3 library" OFF)
option(USE_BUNDLED_TINYXML2 "Usage of bundled tinyxml2 library" ON)
option(CPPCHK_GLIBCXX_DEBUG "Usage of _GLIBCXX_DEBUG in Debug build" ON)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldnt this be CPPCHECK_GLIBCXX_DEBUG?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what it is called in the Makefile.

@danmar danmar merged commit 4b5fba1 into cppcheck-opensource:main Jan 4, 2022
@firewave firewave deleted the ci-tidy branch January 4, 2022 14:47
Sign up for free to 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.

3 participants