-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
82 lines (67 loc) · 2.39 KB
/
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
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
add_executable(examples_for examples_for.cpp)
target_link_libraries(examples_for
PRIVATE dice-template-library::dice-template-library)
add_executable(examples_switch_template_functions examples_switch_cases.cpp)
target_link_libraries(examples_switch_template_functions
PRIVATE dice-template-library::dice-template-library)
add_executable(examples_integral_templated_tuple
examples_integral_template_tuple.cpp)
target_link_libraries(examples_integral_templated_tuple
PRIVATE dice-template-library::dice-template-library)
add_executable(examples_integral_template_variant
examples_integral_template_variant.cpp)
target_link_libraries(examples_integral_template_variant
PRIVATE dice-template-library::dice-template-library)
find_package(Boost REQUIRED COMPONENTS)
add_executable(examples_polymorphic_allocator
examples_polymorphic_allocator.cpp)
target_link_libraries(examples_polymorphic_allocator
PRIVATE
dice-template-library::dice-template-library
Boost::headers
)
add_executable(examples_overloaded
examples_overloaded.cpp)
target_link_libraries(examples_overloaded
PRIVATE
dice-template-library::dice-template-library
)
add_executable(examples_defer
examples_defer.cpp)
target_link_libraries(examples_defer
PRIVATE
dice-template-library::dice-template-library
)
add_executable(examples_tuple_algorithm
examples_tuple_algorithm.cpp)
target_link_libraries(examples_tuple_algorithm
PRIVATE
dice-template-library::dice-template-library
)
add_executable(example_flex_array
example_flex_array.cpp)
target_link_libraries(example_flex_array
PRIVATE
dice-template-library::dice-template-library
)
add_executable(example_generator
example_generator.cpp)
target_link_libraries(example_generator
PRIVATE
dice-template-library::dice-template-library
)
add_executable(example_channel
example_channel.cpp)
target_link_libraries(example_channel
PRIVATE
dice-template-library::dice-template-library
)
add_executable(example_variant2
example_variant2.cpp)
target_link_libraries(example_variant2
PRIVATE
dice-template-library::dice-template-library
)