Remove unused defines for now.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-09-19 12:22:52 +02:00
parent eb25221b90
commit 1568c561d0
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 7 deletions

View File

@ -11,7 +11,7 @@ option(SHARED "Whether we should build a shared library, instead of a static one
option(TESTS "Whether the test executable should be build as well." 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) option(STATICC "Whether gcc and stdc++ should be linked statically to the library." OFF)
set(SCRIPT_PROVIDER "angelscript" CACHE STRING "Which script provider to use.") set(SCRIPT_PROVIDER "angelscript" CACHE STRING "Which script provider to use.")
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. Can be 8")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
add_compile_options(-fconcepts) add_compile_options(-fconcepts)
@ -36,12 +36,6 @@ message(STATUS "Using:
if (LEVEL_SIZE STREQUAL "8") if (LEVEL_SIZE STREQUAL "8")
add_definitions(-DLEVEL_U8) add_definitions(-DLEVEL_U8)
elseif (LEVEL_SIZE STREQUAL "16")
add_definitions(-DLEVEL_U16)
elseif (LEVEL_SIZE STREQUAL "32")
add_definitions(-DLEVEL_U32)
elseif (LEVEL_SIZE STREQUAL "64")
add_definitions(-DLEVEL_U64)
else () else ()
message(FATAL_ERROR, "Invalid level size was given.") message(FATAL_ERROR, "Invalid level size was given.")
endif () endif ()