We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cmake -GNinja -S stk -B stk-build -DBUILD_STATIC=0 -DBUILD_SHARED=1 -DCMAKE_BUILD_TYPE=Release
cmake --build stk-build
Expected result: compile Given result: Command line error D8016: '/clr' and '/EHs' command-line options are incompatible.
Proposed solution:
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9af3227..210c73e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,6 @@ SET_PROPERTY(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Release" "Debug" "RelWithD message("Build type: " ${CMAKE_BUILD_TYPE}) if(MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /clr") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /O2 /DNDEBUG") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /Z7 /Ob0 /Od /RTC1 /D_I TERATOR_DEBUG_LEVEL=2 /D_STK_DEBUG_ /D__RTAUDIO_DEBUG__ /D__RTMIDI_DEBUG__") else()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
cmake -GNinja -S stk -B stk-build -DBUILD_STATIC=0 -DBUILD_SHARED=1 -DCMAKE_BUILD_TYPE=Release
cmake --build stk-build
Expected result: compile
Given result: Command line error D8016: '/clr' and '/EHs' command-line options are incompatible.
Proposed solution:
The text was updated successfully, but these errors were encountered: