@@ -133,6 +133,43 @@ target_sources(
133
133
include /log /level.hpp
134
134
include /log /log .hpp)
135
135
136
+ add_library (cib_msg INTERFACE )
137
+ target_compile_features (cib_msg INTERFACE cxx_std_20)
138
+ target_link_libraries_system(
139
+ cib_msg
140
+ INTERFACE
141
+ async
142
+ cib_log
143
+ cib_lookup
144
+ cib_match
145
+ cib_sc
146
+ stdx)
147
+
148
+ target_sources (
149
+ cib_msg
150
+ INTERFACE FILE_SET
151
+ msg
152
+ TYPE
153
+ HEADERS
154
+ BASE_DIRS
155
+ include
156
+ FILES
157
+ include /msg/callback.hpp
158
+ include /msg/detail/indexed_builder_common.hpp
159
+ include /msg/detail/indexed_handler_common.hpp
160
+ include /msg/detail/separate_sum_terms.hpp
161
+ include /msg/field.hpp
162
+ include /msg/field_matchers.hpp
163
+ include /msg/handler_builder.hpp
164
+ include /msg/handler.hpp
165
+ include /msg/handler_interface.hpp
166
+ include /msg/indexed_builder.hpp
167
+ include /msg/indexed_handler.hpp
168
+ include /msg/indexed_service.hpp
169
+ include /msg/message.hpp
170
+ include /msg/send.hpp
171
+ include /msg/service.hpp)
172
+
136
173
add_library (cib_log_fmt INTERFACE )
137
174
target_compile_features (cib_log_fmt INTERFACE cxx_std_20)
138
175
target_link_libraries_system(cib_log_fmt INTERFACE cib_log fmt::fmt-header-only
@@ -149,24 +186,31 @@ target_sources(
149
186
FILES
150
187
include /log /fmt/logger.hpp)
151
188
152
- add_library (cib INTERFACE )
153
- target_compile_features (cib INTERFACE cxx_std_20)
154
- target_link_libraries_system(
155
- cib
156
- INTERFACE
157
- async
158
- cib_interrupt
159
- cib_lookup
160
- cib_match
161
- cib_sc
162
- concurrency
163
- fmt::fmt-header-only
164
- stdx)
189
+ add_library (cib_log_mipi INTERFACE )
190
+ target_compile_features (cib_log_mipi INTERFACE cxx_std_20)
191
+ target_link_libraries_system(cib_log_mipi INTERFACE cib_log cib_msg concurrency
192
+ stdx)
165
193
166
194
target_sources (
167
- cib
195
+ cib_log_mipi
168
196
INTERFACE FILE_SET
169
- cib
197
+ log
198
+ TYPE
199
+ HEADERS
200
+ BASE_DIRS
201
+ include
202
+ FILES
203
+ include /log /catalog/catalog.hpp
204
+ include /log /catalog/mipi_encoder.hpp)
205
+
206
+ add_library (cib_nexus INTERFACE )
207
+ target_compile_features (cib_nexus INTERFACE cxx_std_20)
208
+ target_link_libraries_system(cib_nexus INTERFACE stdx)
209
+
210
+ target_sources (
211
+ cib_nexus
212
+ INTERFACE FILE_SET
213
+ nexus
170
214
TYPE
171
215
HEADERS
172
216
BASE_DIRS
@@ -175,7 +219,6 @@ target_sources(
175
219
include /cib/builder_meta.hpp
176
220
include /cib/built.hpp
177
221
include /cib/callback.hpp
178
- include /cib/cib.hpp
179
222
include /cib/config.hpp
180
223
include /cib/detail/components.hpp
181
224
include /cib/detail/constexpr_conditional.hpp
@@ -186,11 +229,14 @@ target_sources(
186
229
include /cib/detail/extend.hpp
187
230
include /cib/detail/nexus_details.hpp
188
231
include /cib/func_decl.hpp
189
- include /cib/nexus.hpp
190
- include /cib/top.hpp)
232
+ include /cib/nexus.hpp)
233
+
234
+ add_library (cib_flow INTERFACE )
235
+ target_compile_features (cib_flow INTERFACE cxx_std_20)
236
+ target_link_libraries_system(cib_flow INTERFACE cib_log cib_nexus cib_sc stdx)
191
237
192
238
target_sources (
193
- cib
239
+ cib_flow
194
240
INTERFACE FILE_SET
195
241
flow
196
242
TYPE
@@ -210,33 +256,19 @@ target_sources(
210
256
include /flow/run.hpp
211
257
include /flow/step.hpp)
212
258
213
- target_sources (
214
- cib
215
- INTERFACE FILE_SET
216
- msg
217
- TYPE
218
- HEADERS
219
- BASE_DIRS
220
- include
221
- FILES
222
- include /msg/callback.hpp
223
- include /msg/detail/indexed_builder_common.hpp
224
- include /msg/detail/indexed_handler_common.hpp
225
- include /msg/detail/separate_sum_terms.hpp
226
- include /msg/field.hpp
227
- include /msg/field_matchers.hpp
228
- include /msg/handler_builder.hpp
229
- include /msg/handler.hpp
230
- include /msg/handler_interface.hpp
231
- include /msg/indexed_builder.hpp
232
- include /msg/indexed_handler.hpp
233
- include /msg/indexed_service.hpp
234
- include /msg/message.hpp
235
- include /msg/send.hpp
236
- include /msg/service.hpp)
259
+ add_library (cib_seq INTERFACE )
260
+ target_compile_features (cib_seq INTERFACE cxx_std_20)
261
+ target_link_libraries_system(
262
+ cib_seq
263
+ INTERFACE
264
+ cib_flow
265
+ cib_log
266
+ cib_nexus
267
+ cib_sc
268
+ stdx)
237
269
238
270
target_sources (
239
- cib
271
+ cib_seq
240
272
INTERFACE FILE_SET
241
273
seq
242
274
TYPE
@@ -248,29 +280,53 @@ target_sources(
248
280
include /seq/impl.hpp
249
281
include /seq/step.hpp)
250
282
251
- add_library (cib_log_mipi INTERFACE )
252
- target_compile_features (cib_log_mipi INTERFACE cxx_std_20)
253
- target_link_libraries_system(cib_log_mipi INTERFACE cib cib_log concurrency
254
- stdx)
283
+ add_library (cib INTERFACE )
284
+ target_compile_features (cib INTERFACE cxx_std_20)
285
+ target_link_libraries_system(
286
+ cib
287
+ INTERFACE
288
+ async
289
+ cib_flow
290
+ cib_interrupt
291
+ cib_log
292
+ cib_log_fmt
293
+ cib_log_mipi
294
+ cib_lookup
295
+ cib_match
296
+ cib_msg
297
+ cib_nexus
298
+ cib_sc
299
+ cib_seq
300
+ concurrency
301
+ fmt::fmt-header-only
302
+ stdx)
255
303
256
304
target_sources (
257
- cib_log_mipi
305
+ cib
258
306
INTERFACE FILE_SET
259
- log
307
+ cib
260
308
TYPE
261
309
HEADERS
262
310
BASE_DIRS
263
311
include
264
312
FILES
265
- include /log /catalog/catalog .hpp
266
- include /log /catalog/mipi_encoder .hpp)
313
+ include /cib/cib .hpp
314
+ include /cib/top .hpp)
267
315
268
316
if (PROJECT_IS_TOP_LEVEL)
269
317
add_docs(docs)
270
318
clang_tidy_interface(cib)
319
+ clang_tidy_interface(cib_flow)
271
320
clang_tidy_interface(cib_interrupt)
321
+ clang_tidy_interface(cib_lookup)
322
+ clang_tidy_interface(cib_log)
323
+ clang_tidy_interface(cib_log_fmt)
324
+ clang_tidy_interface(cib_log_mipi)
272
325
clang_tidy_interface(cib_match)
326
+ clang_tidy_interface(cib_msg)
327
+ clang_tidy_interface(cib_nexus)
273
328
clang_tidy_interface(cib_sc)
329
+ clang_tidy_interface(cib_seq)
274
330
275
331
# Enable functional and performance test suites.
276
332
add_subdirectory (test )
0 commit comments