@@ -133,6 +133,43 @@ target_sources(
133133 include /log /level.hpp
134134 include /log /log .hpp)
135135
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+
136173add_library (cib_log_fmt INTERFACE )
137174target_compile_features (cib_log_fmt INTERFACE cxx_std_20)
138175target_link_libraries_system(cib_log_fmt INTERFACE cib_log fmt::fmt-header-only
@@ -149,24 +186,31 @@ target_sources(
149186 FILES
150187 include /log /fmt/logger.hpp)
151188
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)
165193
166194target_sources (
167- cib
195+ cib_log_mipi
168196 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
170214 TYPE
171215 HEADERS
172216 BASE_DIRS
@@ -175,7 +219,6 @@ target_sources(
175219 include /cib/builder_meta.hpp
176220 include /cib/built.hpp
177221 include /cib/callback.hpp
178- include /cib/cib.hpp
179222 include /cib/config.hpp
180223 include /cib/detail/components.hpp
181224 include /cib/detail/constexpr_conditional.hpp
@@ -186,11 +229,14 @@ target_sources(
186229 include /cib/detail/extend.hpp
187230 include /cib/detail/nexus_details.hpp
188231 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)
191237
192238target_sources (
193- cib
239+ cib_flow
194240 INTERFACE FILE_SET
195241 flow
196242 TYPE
@@ -210,33 +256,19 @@ target_sources(
210256 include /flow/run.hpp
211257 include /flow/step.hpp)
212258
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)
237269
238270target_sources (
239- cib
271+ cib_seq
240272 INTERFACE FILE_SET
241273 seq
242274 TYPE
@@ -248,29 +280,53 @@ target_sources(
248280 include /seq/impl.hpp
249281 include /seq/step.hpp)
250282
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)
255303
256304target_sources (
257- cib_log_mipi
305+ cib
258306 INTERFACE FILE_SET
259- log
307+ cib
260308 TYPE
261309 HEADERS
262310 BASE_DIRS
263311 include
264312 FILES
265- include /log /catalog/catalog .hpp
266- include /log /catalog/mipi_encoder .hpp)
313+ include /cib/cib .hpp
314+ include /cib/top .hpp)
267315
268316if (PROJECT_IS_TOP_LEVEL)
269317 add_docs(docs)
270318 clang_tidy_interface(cib)
319+ clang_tidy_interface(cib_flow)
271320 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)
272325 clang_tidy_interface(cib_match)
326+ clang_tidy_interface(cib_msg)
327+ clang_tidy_interface(cib_nexus)
273328 clang_tidy_interface(cib_sc)
329+ clang_tidy_interface(cib_seq)
274330
275331 # Enable functional and performance test suites.
276332 add_subdirectory (test )
0 commit comments