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:
parent
695d1118bc
commit
8c698c61d4
1 changed files with 4 additions and 2 deletions
|
|
@ -183,8 +183,10 @@ if("${BLANKART_EXE_NAME}" STREQUAL "")
|
||||||
list(APPEND EXE_NAME_PARTS ${SRB2_GIT_BRANCH})
|
list(APPEND EXE_NAME_PARTS ${SRB2_GIT_BRANCH})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
string(TOLOWER "${CMAKE_BUILD_TYPE}" BLDTYPE_READOUT)
|
if(NOT "${NOAPPENDBUILD}")
|
||||||
list(APPEND EXE_NAME_PARTS ${BLDTYPE_READOUT})
|
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")
|
if(SRB2_CONFIG_COMPILEAPPIMAGE AND "${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||||
list(APPEND EXE_NAME_PARTS "appimagebuild")
|
list(APPEND EXE_NAME_PARTS "appimagebuild")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue