mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
style(build): pretty
This commit is contained in:
parent
b0566ad8d7
commit
db75585bb4
1 changed files with 28 additions and 28 deletions
|
|
@ -31,7 +31,7 @@ include(lib/system/cmake/system.cmake)
|
||||||
# Build options
|
# Build options
|
||||||
|
|
||||||
# UBsan
|
# UBsan
|
||||||
set(WHOA_UB_SAN_HELP_TEXT, "Disable/Enable the Undefined Behavior Sanitizer. This is turned on by default in Debug build types. Has no effect when using MSVC.")
|
set(WHOA_UB_SAN_HELP_TEXT "Disable/Enable the Undefined Behavior Sanitizer. This is turned on by default in Debug build types. Has no effect when using MSVC.")
|
||||||
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
option(WHOA_UB_SAN WHOA_UB_SAN_HELP_TEXT 1)
|
option(WHOA_UB_SAN WHOA_UB_SAN_HELP_TEXT 1)
|
||||||
else ()
|
else ()
|
||||||
|
|
@ -42,7 +42,7 @@ unset(WHOA_UB_SAN_HELP_TEXT)
|
||||||
# GLSDL
|
# GLSDL
|
||||||
if (WHOA_SYSTEM_WINDOWS)
|
if (WHOA_SYSTEM_WINDOWS)
|
||||||
# GLSDL can be disabled on Windows to save time
|
# GLSDL can be disabled on Windows to save time
|
||||||
option(WHOA_BUILD_GLSDL "Disable/Enable compilation of the OpenGL/SDL2 graphics rendering device on Windows.", 0)
|
option(WHOA_BUILD_GLSDL "Disable/Enable compilation of the OpenGL/SDL2 graphics rendering device on Windows." 0)
|
||||||
elseif (WHOA_SYSTEM_MAC)
|
elseif (WHOA_SYSTEM_MAC)
|
||||||
# No need for this, we already have a functioning OpenGL rendering device (CGxDeviceGLL)
|
# No need for this, we already have a functioning OpenGL rendering device (CGxDeviceGLL)
|
||||||
set(WHOA_BUILD_GLSDL 0)
|
set(WHOA_BUILD_GLSDL 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue