@@ -28,10 +28,85 @@ add_versioned_package("gh:intel/cpp-baremetal-concurrency#7c5b26c")
2828add_versioned_package("gh:intel/cpp-std-extensions#2512bcf" )
2929add_versioned_package("gh:intel/cpp-baremetal-senders-and-receivers#73d95bc" )
3030
31+ add_library (cib_sc INTERFACE )
32+ target_compile_features (cib_sc INTERFACE cxx_std_20)
33+ target_link_libraries_system(cib_sc INTERFACE fmt::fmt-header-only stdx)
34+
35+ target_sources (
36+ cib_sc
37+ INTERFACE FILE_SET
38+ sc
39+ TYPE
40+ HEADERS
41+ BASE_DIRS
42+ include
43+ FILES
44+ include /sc/format.hpp
45+ include /sc/fwd.hpp
46+ include /sc/lazy_string_format.hpp
47+ include /sc/string_constant.hpp)
48+
49+ add_library (cib_match INTERFACE )
50+ target_compile_features (cib_match INTERFACE cxx_std_20)
51+ target_link_libraries_system(cib_match INTERFACE cib_sc stdx)
52+
53+ target_sources (
54+ cib_match
55+ INTERFACE FILE_SET
56+ match
57+ TYPE
58+ HEADERS
59+ BASE_DIRS
60+ include
61+ FILES
62+ include /match/and .hpp
63+ include /match/bin_op.hpp
64+ include /match/concepts.hpp
65+ include /match/constant.hpp
66+ include /match/cost .hpp
67+ include /match/implies.hpp
68+ include /match/negate.hpp
69+ include /match/not .hpp
70+ include /match/ops.hpp
71+ include /match/or .hpp
72+ include /match/predicate.hpp
73+ include /match/simplify.hpp
74+ include /match/sum_of_products.hpp)
75+
76+ add_library (cib_interrupt INTERFACE )
77+ target_compile_features (cib_interrupt INTERFACE cxx_std_20)
78+ target_link_libraries_system(cib_interrupt INTERFACE cib_sc concurrency stdx)
79+
80+ target_sources (
81+ cib_interrupt
82+ INTERFACE FILE_SET
83+ interrupt
84+ TYPE
85+ HEADERS
86+ BASE_DIRS
87+ include
88+ FILES
89+ include /interrupt/concepts.hpp
90+ include /interrupt/config.hpp
91+ include /interrupt/dynamic_controller.hpp
92+ include /interrupt/fwd.hpp
93+ include /interrupt/hal.hpp
94+ include /interrupt/impl.hpp
95+ include /interrupt/manager.hpp
96+ include /interrupt/policies.hpp)
97+
3198add_library (cib INTERFACE )
3299target_compile_features (cib INTERFACE cxx_std_20)
33- target_link_libraries_system(cib INTERFACE async concurrency
34- fmt::fmt-header-only stdx)
100+ target_link_libraries_system(
101+ cib
102+ INTERFACE
103+ async
104+ cib_interrupt
105+ cib_match
106+ cib_sc
107+ concurrency
108+ fmt::fmt-header-only
109+ stdx)
35110
36111target_sources (
37112 cib
@@ -80,24 +155,6 @@ target_sources(
80155 include /flow/run.hpp
81156 include /flow/step.hpp)
82157
83- target_sources (
84- cib
85- INTERFACE FILE_SET
86- interrupt
87- TYPE
88- HEADERS
89- BASE_DIRS
90- include
91- FILES
92- include /interrupt/concepts.hpp
93- include /interrupt/config.hpp
94- include /interrupt/dynamic_controller.hpp
95- include /interrupt/fwd.hpp
96- include /interrupt/hal.hpp
97- include /interrupt/impl.hpp
98- include /interrupt/manager.hpp
99- include /interrupt/policies.hpp)
100-
101158target_sources (
102159 cib
103160 INTERFACE FILE_SET
@@ -131,29 +188,6 @@ target_sources(
131188 include /lookup/strategies.hpp
132189 include /lookup/strategy_failed.hpp)
133190
134- target_sources (
135- cib
136- INTERFACE FILE_SET
137- match
138- TYPE
139- HEADERS
140- BASE_DIRS
141- include
142- FILES
143- include /match/and .hpp
144- include /match/bin_op.hpp
145- include /match/concepts.hpp
146- include /match/constant.hpp
147- include /match/cost .hpp
148- include /match/implies.hpp
149- include /match/negate.hpp
150- include /match/not .hpp
151- include /match/ops.hpp
152- include /match/or .hpp
153- include /match/predicate.hpp
154- include /match/simplify.hpp
155- include /match/sum_of_products.hpp)
156-
157191target_sources (
158192 cib
159193 INTERFACE FILE_SET
@@ -179,20 +213,6 @@ target_sources(
179213 include /msg/send.hpp
180214 include /msg/service.hpp)
181215
182- target_sources (
183- cib
184- INTERFACE FILE_SET
185- sc
186- TYPE
187- HEADERS
188- BASE_DIRS
189- include
190- FILES
191- include /sc/format.hpp
192- include /sc/fwd.hpp
193- include /sc/lazy_string_format.hpp
194- include /sc/string_constant.hpp)
195-
196216target_sources (
197217 cib
198218 INTERFACE FILE_SET
@@ -209,6 +229,9 @@ target_sources(
209229if (PROJECT_IS_TOP_LEVEL)
210230 add_docs(docs)
211231 clang_tidy_interface(cib)
232+ clang_tidy_interface(cib_interrupt)
233+ clang_tidy_interface(cib_match)
234+ clang_tidy_interface(cib_sc)
212235
213236 # Enable functional and performance test suites.
214237 add_subdirectory (test )
0 commit comments