Allow overriding application name with -DAPPNAME="Name here"

This commit is contained in:
Thulinma 2019-11-28 01:58:12 +01:00
parent a8e04e1787
commit 771fad390a
21 changed files with 57 additions and 49 deletions

View file

@ -107,6 +107,10 @@ endif()
if (DEFINED UDP_API_PORT )
add_definitions(-DUDP_API_PORT=${UDP_API_PORT})
endif()
if (NOT DEFINED APPNAME )
set(APPNAME "MistServer")
endif()
add_definitions(-DAPPNAME="${APPNAME}")
########################################
# Build Variables - Thread Names #