Log level size used in cmake.
continuous-integration/drone/push Build is passing Details

Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
Deukhoofd 2020-08-22 10:21:39 +02:00
parent ecc52f3e3a
commit 9547b92f14
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 4 additions and 0 deletions

View File

@ -35,12 +35,16 @@ endif (SHARED)
if (LEVEL_SIZE STREQUAL "8") if (LEVEL_SIZE STREQUAL "8")
add_definitions(-DLEVEL_U8) add_definitions(-DLEVEL_U8)
message(STATUS "Using level size of 8")
elseif (LEVEL_SIZE STREQUAL "16") elseif (LEVEL_SIZE STREQUAL "16")
add_definitions(-DLEVEL_U16) add_definitions(-DLEVEL_U16)
message(STATUS "Using level size of 16")
elseif (LEVEL_SIZE STREQUAL "32") elseif (LEVEL_SIZE STREQUAL "32")
add_definitions(-DLEVEL_U32) add_definitions(-DLEVEL_U32)
message(STATUS "Using level size of 32")
elseif (LEVEL_SIZE STREQUAL "64") elseif (LEVEL_SIZE STREQUAL "64")
add_definitions(-DLEVEL_U64) add_definitions(-DLEVEL_U64)
message(STATUS "Using level size of 64")
else () else ()
message(FATAL_ERROR, "Invalid level size was given.") message(FATAL_ERROR, "Invalid level size was given.")
endif () endif ()