Remove unused LEVEL_SIZE defines for now.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
parent
0cdb5604e5
commit
a5d7db2077
|
@ -10,7 +10,7 @@ option(WINDOWS "Whether the build target is Windows or not." OFF)
|
|||
option(SHARED "Whether we should build a shared library, instead of a static one." OFF)
|
||||
option(TESTS "Whether the test executable should be build as well." OFF)
|
||||
option(STATICC "Whether gcc and stdc++ should be linked statically to the library." OFF)
|
||||
set(LEVEL_SIZE "8" CACHE STRING "Number of bits to store the level as. Can be 8, 16, 32, or 64")
|
||||
set(LEVEL_SIZE "8" CACHE STRING "Number of bits to store the level as. Currently reserved, and can only be 8")
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
add_compile_options(-fconcepts)
|
||||
|
@ -36,15 +36,6 @@ endif (SHARED)
|
|||
if (LEVEL_SIZE STREQUAL "8")
|
||||
add_definitions(-DLEVEL_U8)
|
||||
message(STATUS "Using level size of 8")
|
||||
elseif (LEVEL_SIZE STREQUAL "16")
|
||||
add_definitions(-DLEVEL_U16)
|
||||
message(STATUS "Using level size of 16")
|
||||
elseif (LEVEL_SIZE STREQUAL "32")
|
||||
add_definitions(-DLEVEL_U32)
|
||||
message(STATUS "Using level size of 32")
|
||||
elseif (LEVEL_SIZE STREQUAL "64")
|
||||
add_definitions(-DLEVEL_U64)
|
||||
message(STATUS "Using level size of 64")
|
||||
else ()
|
||||
message(FATAL_ERROR, "Invalid level size was given.")
|
||||
endif ()
|
||||
|
|
Loading…
Reference in New Issue