-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
29 lines (23 loc) · 1021 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cmake_minimum_required(VERSION 3.16)
project (CLIENT VERSION 0.18 LANGUAGES CXX)
set(CLIENT_MAJOR_VERSION "1")
set(CLIENT_MINOR_VERSION "0")
set(CLIENT_PATCH_VERSION "0")
SET(CLIENT_PRERELEASE_VERSION "beta.7")
set(CLIENT_VERSION_STRING_MIN "${CLIENT_MAJOR_VERSION}.${CLIENT_MINOR_VERSION}.${CLIENT_PATCH_VERSION}")
if(CLIENT_PRERELEASE_VERSION)
set(CLIENT_VERSION_STRING "${CLIENT_MAJOR_VERSION}.${CLIENT_MINOR_VERSION}.${CLIENT_PATCH_VERSION}-${CLIENT_PRERELEASE_VERSION}")
else()
set(CLIENT_VERSION_STRING CLIENT_VERSION_STRING_MIN)
endif()
set(RAPIDJSON ${PROJECT_SOURCE_DIR}/rapidjson)
set(SEMVER ${PROJECT_SOURCE_DIR}/semver)
set(JSON ${PROJECT_SOURCE_DIR}/json)
set(WEBVIEW2 ${PROJECT_SOURCE_DIR}/packages/Microsoft.Web.WebView2.1.0.1343.22)
set(WIL ${PROJECT_SOURCE_DIR}/wil)
set(DISCORD_RPC ${PROJECT_SOURCE_DIR}/discord-rpc)
set(URIPARSER ${PROJECT_SOURCE_DIR}/uriparser)
add_definitions(-DUNICODE -DNOMINMAX)
add_subdirectory (uriparser-lib)
add_subdirectory (discord-rpc-lib)
add_subdirectory (src)