[gamekit] Updated.
This commit is contained in:
parent
d5f5082bb0
commit
60535e3fab
@ -22,9 +22,24 @@ include_directories(external)
|
||||
#------------------------------------------------------------------------------
|
||||
# Compiler flags
|
||||
#------------------------------------------------------------------------------
|
||||
set(DEBUG_GCC_FLAGS -g -Og -Wall -Wextra -Wconversion -Wfatal-errors -Wno-unused-parameter)
|
||||
set(RELEASE_GCC_FLAGS -O3 -Wall -Wextra -Wconversion -Wfatal-errors -Wno-unused-parameter)
|
||||
set(RELWITHDEB_GCC_FLAGS -g -O3 -Wall -Wextra -Wconversion -Wfatal-errors -Wno-unused-parameter)
|
||||
set(DEBUG_GCC_FLAGS
|
||||
-g -Og
|
||||
-Wall -Wextra -Wconversion -Wno-unused-parameter
|
||||
-Wfatal-errors
|
||||
-DGK_DEBUG
|
||||
)
|
||||
|
||||
set(RELEASE_GCC_FLAGS
|
||||
-O3
|
||||
-Wall -Wextra -Wconversion -Wno-unused-parameter
|
||||
-Wfatal-errors
|
||||
)
|
||||
|
||||
set(RELWITHDEB_GCC_FLAGS
|
||||
-g -O3
|
||||
-Wall -Wextra -Wconversion -Wno-unused-parameter
|
||||
-Wfatal-errors
|
||||
)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
|
2
external/gamekit
vendored
2
external/gamekit
vendored
@ -1 +1 @@
|
||||
Subproject commit d784564b849e19b4c8db8a106196244468f62e53
|
||||
Subproject commit d8d8724b88bd78b18fe0ee26965d2457bb154941
|
@ -29,8 +29,8 @@ if (NOT MSVC)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE "$<$<CONFIG:RELWITHDEBINFO>:${RELWITHDEB_GCC_FLAGS}>")
|
||||
endif ()
|
||||
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -DDEBUG_ENABLED)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -DGLM_FORCE_RADIANS)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -D_USE_MATH_DEFINES)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -DSOL_CHECK_ARGUMENTS -DSOL_PRINT_ERRORS=0)
|
||||
|
||||
if(MINGW)
|
||||
|
@ -38,8 +38,8 @@ if (NOT MSVC)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE "$<$<CONFIG:RELWITHDEBINFO>:${RELWITHDEB_GCC_FLAGS}>")
|
||||
endif ()
|
||||
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -DDEBUG_ENABLED)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -DGLM_FORCE_RADIANS)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -D_USE_MATH_DEFINES)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -DSOL_CHECK_ARGUMENTS -DSOL_PRINT_ERRORS=0)
|
||||
|
||||
# target_compile_options(${PROJECT_NAME} PRIVATE -pg)
|
||||
|
@ -38,12 +38,12 @@ if (NOT MSVC)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE "$<$<CONFIG:RELWITHDEBINFO>:${RELWITHDEB_GCC_FLAGS}>")
|
||||
endif ()
|
||||
|
||||
target_compile_options(${PROJECT_NAME}_lib PRIVATE -DDEBUG_ENABLED)
|
||||
target_compile_options(${PROJECT_NAME}_lib PRIVATE -DGLM_FORCE_RADIANS)
|
||||
target_compile_options(${PROJECT_NAME}_lib PRIVATE -D_USE_MATH_DEFINES)
|
||||
target_compile_options(${PROJECT_NAME}_lib PRIVATE -DSOL_CHECK_ARGUMENTS -DSOL_PRINT_ERRORS=0)
|
||||
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -DDEBUG_ENABLED)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -DGLM_FORCE_RADIANS)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -D_USE_MATH_DEFINES)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -DSOL_CHECK_ARGUMENTS -DSOL_PRINT_ERRORS=0)
|
||||
|
||||
if(MINGW)
|
||||
|
Loading…
x
Reference in New Issue
Block a user