aboutsummaryrefslogtreecommitdiff
path: root/lib/CMakeLists.txt
blob: baf868073377fd2d9a2c03ec012612ab93797a07 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
include(FetchContent)

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)

FetchContent_Declare(
  yacppdic
  GIT_REPOSITORY "https://git.hampusmat.com/yacppdic"
  GIT_TAG v0.2.1
)

add_subdirectory(yacppdic)

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

add_subdirectory(ctre)

FetchContent_Declare(
  backward
  GIT_REPOSITORY "https://github.com/bombela/backward-cpp"
  GIT_TAG v1.6
)

add_subdirectory(backward)

FetchContent_Declare(
  range-v3
  GIT_REPOSITORY "https://github.com/ericniebler/range-v3"
  GIT_TAG 0.12.0
)

add_subdirectory(range-v3)

if(test)
	FetchContent_Declare(
	  catch2
	  GIT_REPOSITORY "https://github.com/catchorg/Catch2"
	  GIT_TAG        v3.0.1
	)

	add_subdirectory(catch2)

	FetchContent_Declare(
	  trompeloeil
	  GIT_REPOSITORY "https://github.com/rollbear/trompeloeil"
	  GIT_TAG v42
	)

	add_subdirectory(trompeloeil)
endif()