Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cmake option for enabling sanitizers #860

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

TobiasFella
Copy link
Member

@TobiasFella TobiasFella commented Jan 24, 2025

This adds the -DECM_ENABLE_SANITIZERS option; to enable sanitizers, run cmake [...] -DECM_ENABLE_SANITIZERS="address;undefined" [...]. The code is a copy from extra-cmake-modules.

I have created this patch locally ~once a month since 2020 and got tired of doing that :)

Copy link
Member

@KitsuneRal KitsuneRal left a comment

Choose a reason for hiding this comment

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

Can we depend on ECM instead, please? I wholeheartedly approve.

This adds the -DECM_ENABLE_SANITIZERS option
@TobiasFella
Copy link
Member Author

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In work
Development

Successfully merging this pull request may close these issues.

2 participants