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

Proposal for the cxx flags #2419

Closed
wants to merge 1 commit into from

Conversation

apeltauer
Copy link
Contributor

  • remove the /EHsc and /EHs flag only on the release flag
  • set the /EHa flag only on the release flag

set the /EHa flag only on the release flag
@wwmayer
Copy link
Contributor

wwmayer commented Aug 22, 2019

This doesn't work because CMake adds the compiler options EHsc (or EHs) to CMAKE_CXX_FLAGS and not to CMAKE_CXX_FLAGS_RELEASE or CMAKE_CXX_FLAGS_DEBUG

@wwmayer wwmayer closed this Aug 22, 2019
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.

None yet

2 participants