Skip to content

Update Hardening.cmake#97

Merged
lefticus merged 2 commits into
cpp-best-practices:mainfrom
Kataglyphis:main
Dec 30, 2025
Merged

Update Hardening.cmake#97
lefticus merged 2 commits into
cpp-best-practices:mainfrom
Kataglyphis:main

Conversation

@Kataglyphis
Copy link
Copy Markdown
Contributor

When setting Hardening to not global the previous way in setting the flags is error prone. Clang does not recognize multiple flags by setting on big string. Switching to list(APPEND) semantics is working on CLang and GNU :)

Cheers!

When setting Hardening to not global the previous way in setting the flags is error prone. Clang does not recognize multiple flags in the previous way but throws errors.
@Kataglyphis Kataglyphis reopened this Apr 23, 2025
@lefticus lefticus merged commit ac883b7 into cpp-best-practices:main Dec 30, 2025
InCom-0 pushed a commit to InCom-0/cmake_lefticus that referenced this pull request Mar 10, 2026
InCom-0 pushed a commit to InCom-0/cmake_lefticus that referenced this pull request Mar 10, 2026
InCom-0 pushed a commit to InCom-0/cmake_lefticus that referenced this pull request Mar 10, 2026
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.

2 participants