-
Notifications
You must be signed in to change notification settings - Fork 0
/
sources.cmake
117 lines (99 loc) · 2.85 KB
/
sources.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
dplx_target_sources(deeppack
TEST_TARGET deeppack-tests
MODE SMART_SOURCE MERGED_LAYOUT
BASE_DIR dplx
PUBLIC
dp
dp/codecs/core
dp/codecs/fixed_u8string
dp/codecs/std-chrono
dp/codecs/std-filesystem
dp/codecs/std-string
dp/codecs/system_error2
dp/codecs/uuid
dp/items/copy_item
dp/items/skip_item
dp/streams/dynamic_memory_output_stream
)
dplx_target_sources(deeppack
TEST_TARGET deeppack-tests
MODE SMART_HEADER_ONLY MERGED_LAYOUT
BASE_DIR dplx
PUBLIC
dp/api
dp/concepts
dp/config
dp/disappointment
dp/fwd
dp/indefinite_range
dp/layout_descriptor
dp/macros
dp/object_def
dp/state
dp/tuple_def
dp/codecs/auto_enum
dp/codecs/auto_object
dp/codecs/auto_tuple
dp/codecs/std-container
dp/codecs/std-tuple
dp/cpos/container
dp/cpos/container.std
dp/cpos/property_id_hash
dp/cpos/stream
dp/detail/bit
dp/detail/hash
dp/detail/item_size
dp/detail/perfect_hash
dp/detail/type_utils
dp/detail/workaround
dp/items
dp/items/emit_context
dp/items/emit_core
dp/items/emit_ranges
dp/items/encoded_item_head_size
dp/items/item_size_of_core
dp/items/item_size_of_ranges
dp/items/parse_context
dp/items/parse_core
dp/items/parse_ranges
dp/items/type_code
dp/streams/input_buffer
dp/streams/memory_input_stream
dp/streams/memory_output_stream
dp/streams/output_buffer
dp/streams/void_stream
dp/legacy/chunked_input_stream
dp/legacy/chunked_output_stream
dp/legacy/memory_buffer
dp/legacy/memory_input_stream
dp/legacy/memory_output_stream
)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/generated/src/dplx/dp/detail")
configure_file(tools/config.hpp.in "${CMAKE_CURRENT_BINARY_DIR}/generated/src/dplx/dp/detail/config.hpp" @ONLY)
target_sources(deeppack PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/generated/src/dplx/dp/detail/config.hpp>)
if (BUILD_TESTING)
dplx_target_sources(deeppack-tests PRIVATE
MODE VERBATIM
BASE_DIR dp_tests
PRIVATE
blob_matcher.hpp
core_samples.hpp
hex_decode.hpp
item_sample_ct.hpp
item_sample_rt.hpp
range_generator.hpp
simple_encodable.hpp
test_input_stream.hpp
test_output_stream.hpp
test_utils.hpp
yaml_sample_generator.hpp
)
dplx_target_data(deeppack-tests
SOURCE_DIR test-samples
FILES
arrays.yaml
blobs.yaml
maps.yaml
text.yaml
)
endif ()