Skip to content

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