-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththird-party.cmake
executable file
·58 lines (43 loc) · 1.37 KB
/
third-party.cmake
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
include(FetchContent)
# Base library, might be used as dependencies for others
FetchContent_Declare(fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
#GIT_TAG 10.2.1 # For correct management with slang
GIT_TAG 11.0.2
GIT_SHALLOW ON)
FetchContent_Declare(network
GIT_REPOSITORY https://github.com/fpagliughi/sockpp.git
GIT_TAG v1.0.0
GIT_SHALLOW ON)
FetchContent_Declare(spdlog
GIT_REPOSITORY https://github.com/gabime/spdlog.git
GIT_TAG v1.14.1
GIT_SHALLOW ON)
FetchContent_Declare(json
GIT_REPOSITORY https://github.com/nlohmann/json.git
GIT_TAG v3.11.3
GIT_SHALLOW ON)
FetchContent_Declare(uri
GIT_REPOSITORY https://github.com/ben-zen/uri-library.git
GIT_TAG 23690f8
GIT_SHALLOW OFF)
FetchContent_Declare(uuid
GIT_REPOSITORY https://github.com/mariusbancila/stduuid.git
GIT_TAG v1.2.3
GIT_SHALLOW ON)
# Core feature providers
FetchContent_Declare( slang
GIT_REPOSITORY https://github.com/MikePopoloski/slang.git
GIT_TAG v7.0
# GIT_TAG 6f9e7bfa606b3a0d2a9258e1baf46f33086a8188
GIT_SHALLOW ON)
FetchContent_Declare(argparse
GIT_REPOSITORY https://github.com/p-ranav/argparse.git
GIT_TAG v3.1
GIT_SHALLOW ON)
FetchContent_MakeAvailable(uri)
# FetchContent_MakeAvailable(pgm-index)
FetchContent_MakeAvailable(fmt network uuid)
FetchContent_MakeAvailable(json spdlog)
FetchContent_MakeAvailable(argparse slang)
include_directories($<BUILD_INTERFACE:${uri_SOURCE_DIR}>)