mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
-Og optimizations level for Debug configuration (GCC and Clang)
This commit is contained in:
parent
e082b4f3b5
commit
949f18e757
1 changed files with 3 additions and 0 deletions
|
|
@ -50,6 +50,9 @@ else()
|
|||
-Wformat-nonliteral -Wcast-align
|
||||
-Wpointer-arith -Wundef
|
||||
-Wwrite-strings -Wno-unused-parameter)
|
||||
if (CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -Og)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(VOXELENGINE_BUILD_WINDOWS_VCPKG AND WIN32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue