Merge branch 'hastybadger' of github.com:tesch1/turbobadger into hastybadger

This commit is contained in:
Michael Tesch 2019-11-15 17:49:12 +01:00
commit a6a69bc911

View File

@ -412,16 +412,19 @@ foreach (TB_VAR
)
get_property (VALS CACHE ${TB_VAR} PROPERTY STRINGS)
if ("${${TB_VAR}}" IN_LIST VALS)
message (" ${TB_VAR}: ${${TB_VAR}}")
string (LENGTH "${TB_VAR}" _OPTLEN)
math (EXPR _PADLEN "25 - ${_OPTLEN}")
string (RANDOM LENGTH ${_PADLEN} ALPHABET " " _PADDING)
message (STATUS " ${TB_VAR}: ${_PADDING}${${TB_VAR}}")
else ()
message (FATAL_ERROR "Invalid setting for '${TB_VAR}'=${${TB_VAR}}, valid are: '${VALS}'")
endif ()
endforeach ()
message (" TB_SUBDIRECTORY: ${TB_SUBDIRECTORY}")
message (" TB_BUILD_SDL2: ${TB_BUILD_SDL2}")
message (" TB_BUILD_GLFW: ${TB_BUILD_GLFW}")
message (" TB_BUILD_FREETYPE: ${TB_BUILD_FREETYPE}")
message (" TB_RENDERER_BATCHER: ${TB_RENDERER_BATCHER}")
message (" TB_RUNTIME_DEBUG_INFO: ${TB_RUNTIME_DEBUG_INFO}")
message (" TB_ALWAYS_SHOW_EDIT_FOCUS: ${TB_ALWAYS_SHOW_EDIT_FOCUS}")
message (STATUS " TB_BUILD_SDL2: ${TB_BUILD_SDL2}")
message (STATUS " TB_BUILD_GLFW: ${TB_BUILD_GLFW}")
message (STATUS " TB_BUILD_FREETYPE: ${TB_BUILD_FREETYPE}")
message (STATUS " TB_RENDERER_BATCHER: ${TB_RENDERER_BATCHER}")
message (STATUS " TB_RUNTIME_DEBUG_INFO: ${TB_RUNTIME_DEBUG_INFO}")
message (STATUS " TB_ALWAYS_SHOW_EDIT_FOCUS: ${TB_ALWAYS_SHOW_EDIT_FOCUS}")
message (STATUS " TB_SUBDIRECTORY: ${TB_SUBDIRECTORY}")