aboutsummaryrefslogtreecommitdiff
path: root/lib/CMakeLists.txt
blob: 0873b0046ba5138c4e4ee0970ac32e9d56732b55 (plain)
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
include(FetchContent)

FetchContent_Declare(
  ctre
  GIT_REPOSITORY "https://github.com/hanickadot/compile-time-regular-expressions"
  GIT_TAG v3.5
)

add_subdirectory(ctre)

FetchContent_Declare(
  fmt
  GIT_REPOSITORY "https://github.com/fmtlib/fmt"
  GIT_TAG 8.1.1
)

add_subdirectory(fmt)

FetchContent_Declare(
  GSL
  GIT_REPOSITORY "https://github.com/Microsoft/GSL"
  GIT_TAG v4.0.0
)

add_subdirectory(GSL)

if("${TESTING}")
	FetchContent_Declare(
		doctest
		GIT_REPOSITORY "https://github.com/doctest/doctest"
		GIT_TAG v2.4.8
	)

	add_subdirectory(doctest)
endif()