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

Attempt to solve error for some MinGW configurations inside CLion and improved build performance for some configurations #191

Merged
merged 6 commits into from
Jan 28, 2025
Prev Previous commit
Next Next commit
Attempt to solve error for some MinGW configurations inside CLion
lebarsfa committed Jan 26, 2025
commit af23df3d876d30a6082c369913e6ffd11187a78a
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -99,6 +99,9 @@
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
add_compile_options(-g0)
endif()
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
add_compile_options(-Os)
endif()
endif()

# # Check that the compiler supports c++20