Log level size used in cmake.
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
ecc52f3e3a
commit
9547b92f14
|
@ -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 ()
|
||||||
|
|
Loading…
Reference in New Issue