mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 10:52:19 -05:00
Fixed nintendo switch debug flags (#2202)
This commit is contained in:
parent
a05bc1e29f
commit
166a6691fc
@ -49,8 +49,8 @@ endif()
|
|||||||
# Global configuration types
|
# Global configuration types
|
||||||
################################################################################
|
################################################################################
|
||||||
if (CMAKE_SYSTEM_NAME STREQUAL "NintendoSwitch")
|
if (CMAKE_SYSTEM_NAME STREQUAL "NintendoSwitch")
|
||||||
set(CMAKE_C_FLAGS_DEBUG "-O3 -ffast-math")
|
set(CMAKE_C_FLAGS_DEBUG "-g -ffast-math -DDEBUG")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-O3 -ffast-math")
|
set(CMAKE_CXX_FLAGS_DEBUG "-g -ffast-math -DDEBUG")
|
||||||
set(CMAKE_C_FLAGS_RELEASE "-O3 -ffast-math -DNDEBUG")
|
set(CMAKE_C_FLAGS_RELEASE "-O3 -ffast-math -DNDEBUG")
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -ffast-math -DNDEBUG")
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -ffast-math -DNDEBUG")
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user