added version number to build
This commit is contained in:
@@ -87,8 +87,13 @@ target_link_options(${TARGET_NAME} PRIVATE
|
||||
$<$<CONFIG:Release>:-flto=auto>
|
||||
)
|
||||
|
||||
if(NOT DEFINED APP_VERSION)
|
||||
set(APP_VERSION "0.0.0")
|
||||
endif()
|
||||
|
||||
target_compile_definitions(${TARGET_NAME} PRIVATE
|
||||
APPLICATION_NAME="${TARGET_NAME}"
|
||||
APP_VERSION="${APP_VERSION}"
|
||||
SQLITE_THREADSAFE=1 # build sqlite with thread safty
|
||||
ASIO_STANDALONE # use asio without boost
|
||||
CROW_ENABLE_COMPRESSION # enable compression part of crow
|
||||
|
||||
Reference in New Issue
Block a user