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

Fix Visual Studio Debug builds #125

Merged
merged 1 commit into from
Dec 3, 2019
Merged

Fix Visual Studio Debug builds #125

merged 1 commit into from
Dec 3, 2019

Conversation

kzeslaf
Copy link
Contributor

@kzeslaf kzeslaf commented Nov 15, 2019

Hi,

removing build flags -DCMAKE_CXX_FLAGS="..." from appveyor.yml file and moving them to CMakeLists.txt fixes Debug builds. Setting CMAKE_CXX_FLAGS on command line overrides default compile options set by cmake.

I've checked two builds (VS2017, C++17, x64) Debug and Release and now builds have following additional flags set:

/D WIN32 /D _WINDOWS /EHsc /GR

@pantor pantor merged commit c36cbac into pantor:master Dec 3, 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.

2 participants