NOAPPENDBUILD

An option to toggle off the build type suffix, mainly for more public-facing releases (try saying blankart_relwithdebinfo out loud!)
This commit is contained in:
yamamama 2026-04-26 06:23:19 -04:00
parent 695d1118bc
commit 8c698c61d4

View file

@ -183,8 +183,10 @@ if("${BLANKART_EXE_NAME}" STREQUAL "")
list(APPEND EXE_NAME_PARTS ${SRB2_GIT_BRANCH})
endif()
string(TOLOWER "${CMAKE_BUILD_TYPE}" BLDTYPE_READOUT)
list(APPEND EXE_NAME_PARTS ${BLDTYPE_READOUT})
if(NOT "${NOAPPENDBUILD}")
string(TOLOWER "${CMAKE_BUILD_TYPE}" BLDTYPE_READOUT)
list(APPEND EXE_NAME_PARTS ${BLDTYPE_READOUT})
endif()
if(SRB2_CONFIG_COMPILEAPPIMAGE AND "${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
list(APPEND EXE_NAME_PARTS "appimagebuild")