-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCMakeLists.txt
438 lines (399 loc) · 16.8 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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
# Copyright(c) 2022-present, Salvatore Cuzzilla (Swisscom AG)
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
# Minimum CMake required
cmake_minimum_required(VERSION 3.16)
# Set compiler options
#set(CMAKE_C_FLAGS "-O2 -g -Werror -Wall -std=gnu89")
set(CMAKE_CXX_FLAGS "-O2 -g -Wall -pedantic -pthread -std=c++17")
#set(CMAKE_CXX_FLAGS_DEBUG "-g")
#set(CMAKE_CXX_FLAGS_RELEASE "-O2")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# pkg-config
find_package(PkgConfig REQUIRED)
# Project
project(mdt_dialout_collector)
# Protobuf
set(protobuf_MODULE_COMPATIBLE TRUE)
find_package(Protobuf CONFIG REQUIRED)
message(STATUS "Using protobuf ${protobuf_VERSION}")
# Protobuf compiler
set(_PROTOBUF_PROTOC $<TARGET_FILE:protobuf::protoc>)
# Protobuf gRPC's plugin
find_package(gRPC CONFIG REQUIRED)
message(STATUS "Using gRPC ${gRPC_VERSION}")
set(_GRPC_GRPCPP gRPC::grpc++)
set(_GRPC_CPP_PLUGIN_EXECUTABLE $<TARGET_FILE:gRPC::grpc_cpp_plugin>)
# Proto file gRPC dial-out - Cisco
get_filename_component(cisco_dialout_proto "proto/Cisco/cisco_dialout.proto" ABSOLUTE)
get_filename_component(cisco_dialout_proto_path "${cisco_dialout_proto}" PATH)
# Proto file gRPC dial-out / gnmi / gnmi extensions - Juniper
get_filename_component(juniper_gnmi_dialout_proto "proto/Juniper/juniper_dialout.proto" ABSOLUTE)
get_filename_component(juniper_gnmi_dialout_proto_path "${juniper_gnmi_dialout_proto}" PATH)
get_filename_component(juniper_gnmi_proto "proto/Juniper/juniper_gnmi.proto" ABSOLUTE)
get_filename_component(juniper_gnmi_proto_path "${juniper_gnmi_proto}" PATH)
get_filename_component(juniper_gnmi_ext_proto "proto/Juniper/juniper_gnmi_ext.proto" ABSOLUTE)
get_filename_component(juniper_gnmi_ext_proto_path "${juniper_gnmi_ext_proto}" PATH)
# Proto file gRPC dial-out - Huawei
get_filename_component(huawei_dialout_proto "proto/Huawei/huawei_dialout.proto" ABSOLUTE)
get_filename_component(huawei_dialout_proto_path "${huawei_dialout_proto}" PATH)
# Proto file to be able to decode gpb-kv messages - Cisco
get_filename_component(cisco_telemetry_proto "proto/Cisco/cisco_telemetry.proto" ABSOLUTE)
get_filename_component(cisco_telemetry_proto_path "${cisco_telemetry_proto}" PATH)
# Proto file to be able to decode gpb messages - Telemetry / Telemetry Header / Telemetry Header Extensions - Juniper
get_filename_component(juniper_telemetry_proto "proto/Juniper/juniper_telemetry.proto" ABSOLUTE)
get_filename_component(juniper_telemetry_proto_path "${juniper_telemetry_proto}" PATH)
get_filename_component(juniper_telemetry_header_proto "proto/Juniper/juniper_telemetry_header.proto" ABSOLUTE)
get_filename_component(juniper_telemetry_header_proto_path "${juniper_telemetry_header_proto}" PATH)
get_filename_component(juniper_telemetry_header_extension_proto "proto/Juniper/juniper_telemetry_header_extension.proto" ABSOLUTE)
get_filename_component(juniper_telemetry_header_extension_proto_path "${juniper_telemetry_header_extension_proto}" PATH)
# Proto file to be able to decode gpb messages - Huawei
get_filename_component(huawei_telemetry_proto "proto/Huawei/huawei_telemetry.proto" ABSOLUTE)
get_filename_component(huawei_telemetry_proto_path "${huawei_telemetry_proto}" PATH)
# GPB "Subject" specific, Vendors & Standardization entities
# Cisco
# Juniper
# Huawei
# OpenConfig
get_filename_component(openconfig_interfaces_proto "proto/OpenConfig/openconfig_interfaces.proto" ABSOLUTE)
get_filename_component(openconfig_interfaces_proto_path "${openconfig_interfaces_proto}" PATH)
# jsoncpp libs
set(JSONCPP_INCLUDE_DIR /usr/include/jsoncpp)
include_directories("${JSONCPP_INCLUDE_DIR}")
pkg_check_modules(JSONCPP REQUIRED jsoncpp>=1.8.4)
link_libraries(${JSONCPP_LIBRARIES})
message(STATUS "Using jsoncpp ${JSONCPP_VERSION}")
# librdkafka (MANUAL == manually compiled)
set(RDKAFKACPP_INCLUDE_DIR /usr/include/librdkafka)
#set(RDKAFKACPP_INCLUDE_DIR_MANUAL /usr/local/include)
include_directories("${RDKAFKACPP_INCLUDE_DIR}")
#include_directories("${RDKAFKACPP_INCLUDE_DIR_MANUAL}")
pkg_check_modules(RDKAFKA_CPP REQUIRED rdkafka++>=1.6.0)
link_libraries(${RDKAFKA_CPP_LIBRARIES})
message(STATUS "Using librdkafka++ ${RDKAFKA_CPP_VERSION}")
set(RDKAFKA_INCLUDE_DIR /usr/include/librdkafka)
#set(RDKAFKA_INCLUDE_DIR_MANUAL /usr/local/include)
include_directories("${RDKAFKA_INCLUDE_DIR}")
#include_directories("${RDKAFKA_INCLUDE_DIR_MANUAL}")
pkg_check_modules(RDKAFKA REQUIRED rdkafka>=1.6.0)
link_libraries(${RDKAFKA_LIBRARIES})
message(STATUS "Using librdkafka ${RDKAFKA_VERSION}")
# CPPZMQ (https://github.com/zeromq/cppzmq)
set(CPPZMQ_INCLUDE_DIR /usr/include)
include_directories("${CPPZMQ_INCLUDE_DIR}")
pkg_check_modules(ZMQ_CPP REQUIRED libzmq>=4.3.2)
link_libraries(${ZMQ_CPP_LIBRARIES})
message(STATUS "Using cppzmq ${ZMQ_CPP_VERSION}")
# libconfig
set(LIBCONFIG_CPP_INCLUDE_DIR /usr/include)
include_directories("${LIBCONFIG_CPP_INCLUDE_DIR}")
pkg_check_modules(LIBCONFIG_CPP libconfig++>=1.5)
link_libraries(${LIBCONFIG_CPP_LIBRARIES})
message(STATUS "Using libconfig++ ${LIBCONFIG_CPP_VERSION}")
# spdlog
set(SPDLOG_INCLUDE_DIR /usr/include/spdlog)
include_directories("${SPDLOG_INCLUDE_DIR}")
pkg_check_modules(SPDLOG spdlog>=1.5.0)
link_libraries(${SPDLOG_LIBRARIES})
message(STATUS "Using spdlog ${SPDLOG_VERSION}")
# Protobuf generated "gRPC dial-out" - Cisco
set(cisco_dialout_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Cisco/cisco_dialout.pb.cc")
set(cisco_dialout_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Cisco/cisco_dialout.pb.h")
set(cisco_dialout_pb_grpc_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Cisco/cisco_dialout.grpc.pb.cc")
set(cisco_dialout_pb_grpc_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Cisco/cisco_dialout.grpc.pb.h")
add_custom_command(
OUTPUT
"${cisco_dialout_pb_cc}"
"${cisco_dialout_pb_h}"
"${cisco_dialout_pb_grpc_cc}"
"${cisco_dialout_pb_grpc_h}"
COMMAND
${_PROTOBUF_PROTOC}
ARGS
-I "${cisco_dialout_proto_path}"
--cpp_out "${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Cisco"
"${cisco_dialout_proto}"
--grpc_out "${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Cisco"
--plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}"
DEPENDS
"${cisco_dialout_proto}"
)
# Protobuf generated "gRPC dial-out" - Juniper
set(juniper_gnmi_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_gnmi.pb.cc")
set(juniper_gnmi_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_gnmi.pb.h")
set(juniper_gnmi_pb_grpc_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_gnmi.grpc.pb.cc")
set(juniper_gnmi_pb_grpc_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_gnmi.grpc.pb.h")
set(juniper_gnmi_dialout_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_dialout.pb.cc")
set(juniper_gnmi_dialout_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_dialout.pb.h")
set(juniper_gnmi_dialout_pb_grpc_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_dialout.grpc.pb.cc")
set(juniper_gnmi_dialout_pb_grpc_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_dialout.grpc.pb.h")
add_custom_command(
OUTPUT
"${juniper_gnmi_pb_cc}"
"${juniper_gnmi_pb_h}"
"${juniper_gnmi_pb_grpc_cc}"
"${juniper_gnmi_pb_grpc_h}"
"${juniper_gnmi_dialout_pb_cc}"
"${juniper_gnmi_dialout_pb_h}"
"${juniper_gnmi_dialout_pb_grpc_cc}"
"${juniper_gnmi_dialout_pb_grpc_h}"
COMMAND
${_PROTOBUF_PROTOC}
ARGS
-I "${juniper_gnmi_proto_path}"
-I "${juniper_gnmi_dialout_proto_path}"
--cpp_out "${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper"
"${juniper_gnmi_proto}"
"${juniper_gnmi_dialout_proto}"
--grpc_out "${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper"
--plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}"
DEPENDS
"${juniper_gnmi_proto}"
"${juniper_gnmi_dialout_proto}"
)
# Protobuf generated "gRPC dial-out" - Huawei
set(huawei_dialout_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Huawei/huawei_dialout.pb.cc")
set(huawei_dialout_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Huawei/huawei_dialout.pb.h")
set(huawei_dialout_pb_grpc_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Huawei/huawei_dialout.grpc.pb.cc")
set(huawei_dialout_pb_grpc_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Huawei/huawei_dialout.grpc.pb.h")
add_custom_command(
OUTPUT
"${huawei_dialout_pb_cc}"
"${huawei_dialout_pb_h}"
"${huawei_dialout_pb_grpc_cc}"
"${huawei_dialout_pb_grpc_h}"
COMMAND
${_PROTOBUF_PROTOC}
ARGS
-I "${huawei_dialout_proto_path}"
--cpp_out "${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Huawei"
"${huawei_dialout_proto}"
--grpc_out "${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Huawei"
--plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}"
DEPENDS
"${huawei_dialout_proto}"
)
# Protobuf generated support "GPB-KV" decoding - Cisco
set(cisco_telemetry_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Cisco/cisco_telemetry.pb.cc")
set(cisco_telemetry_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Cisco/cisco_telemetry.pb.h")
add_custom_command(
OUTPUT
"${cisco_telemetry_pb_cc}"
"${cisco_telemetry_pb_h}"
COMMAND
${_PROTOBUF_PROTOC}
ARGS
-I "${cisco_telemetry_proto_path}"
--cpp_out "${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Cisco"
"${cisco_telemetry_proto}"
DEPENDS
"${cisco_telemetry_proto}"
)
# Protobuf generated support "GPB" decoding - Juniper
set(juniper_gnmi_ext_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_gnmi_ext.pb.cc")
set(juniper_gnmi_ext_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_gnmi_ext.pb.h")
set(juniper_telemetry_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_telemetry.pb.cc")
set(juniper_telemetry_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_telemetry.pb.h")
set(juniper_telemetry_header_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_telemetry_header.pb.cc")
set(juniper_telemetry_header_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_telemetry_header.pb.h")
set(juniper_telemetry_header_extension_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_telemetry_header_extension.pb.cc")
set(juniper_telemetry_header_extension_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper/juniper_telemetry_header_extension.pb.h")
add_custom_command(
OUTPUT
"${juniper_gnmi_ext_pb_cc}"
"${juniper_gnmi_ext_pb_h}"
"${juniper_telemetry_pb_cc}"
"${juniper_telemetry_pb_h}"
"${juniper_telemetry_header_pb_cc}"
"${juniper_telemetry_header_pb_h}"
"${juniper_telemetry_header_extension_pb_cc}"
"${juniper_telemetry_header_extension_pb_h}"
COMMAND
${_PROTOBUF_PROTOC}
ARGS
-I "${juniper_gnmi_ext_proto_path}"
-I "${juniper_telemetry_proto_path}"
-I "${juniper_telemetry_header_proto_path}"
-I "${juniper_telemetry_header_extension_proto_path}"
--cpp_out "${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper"
"${juniper_gnmi_ext_proto}"
"${juniper_telemetry_proto}"
"${juniper_telemetry_header_proto}"
"${juniper_telemetry_header_extension_proto}"
DEPENDS
"${juniper_gnmi_ext_proto}"
"${juniper_telemetry_proto}"
"${juniper_telemetry_header_proto}"
"${juniper_telemetry_header_extension_proto}"
)
# Protobuf generated support "GPB" decoding - Huawei
set(huawei_telemetry_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Huawei/huawei_telemetry.pb.cc")
set(huawei_telemetry_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Huawei/huawei_telemetry.pb.h")
add_custom_command(
OUTPUT
"${huawei_telemetry_pb_cc}"
"${huawei_telemetry_pb_h}"
COMMAND
${_PROTOBUF_PROTOC}
ARGS
-I "${huawei_telemetry_proto_path}"
--cpp_out "${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Huawei"
"${huawei_telemetry_proto}"
DEPENDS
"${huawei_telemetry_proto}"
)
# Protobuf generated support "GPB" decoding - Openconfig
set(openconfig_interfaces_pb_cc
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/OpenConfig/openconfig_interfaces.pb.cc")
set(openconfig_interfaces_pb_h
"${CMAKE_CURRENT_SOURCE_DIR}/src/proto/OpenConfig/openconfig_interfaces.pb.h")
add_custom_command(
OUTPUT
"${openconfig_interfaces_pb_cc}"
"${openconfig_interfaces_pb_h}"
COMMAND
${_PROTOBUF_PROTOC}
ARGS
-I "${openconfig_interfaces_proto_path}"
--cpp_out "${CMAKE_CURRENT_SOURCE_DIR}/src/proto/OpenConfig"
"${openconfig_interfaces_proto}"
DEPENDS
"${openconfig_interfaces_proto}"
)
# Include headers folders | Relative paths to allow autotools coexistence
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/include")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Cisco")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Juniper")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/proto/Huawei")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/proto/OpenConfig")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/core")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/utils")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/dataManipulation")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/dataWrapper")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/cfgWrapper")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/dataDelivery")
#include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/bridge")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src")
# set the bin folder
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)
# Compile CC
file(GLOB APP_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cc)
foreach(sourcefile ${APP_SOURCES})
file(RELATIVE_PATH filename ${CMAKE_CURRENT_SOURCE_DIR}/src ${sourcefile})
string(REPLACE ".cc" "" file ${filename})
add_executable(
${file}
"${CMAKE_CURRENT_SOURCE_DIR}/src/${file}.cc"
"${CMAKE_CURRENT_SOURCE_DIR}/src/core/mdt_dialout_core.cc"
"${CMAKE_CURRENT_SOURCE_DIR}/src/utils/cfg_handler.cc"
"${CMAKE_CURRENT_SOURCE_DIR}/src/utils/logs_handler.cc"
"${CMAKE_CURRENT_SOURCE_DIR}/src/dataManipulation/data_manipulation.cc"
"${CMAKE_CURRENT_SOURCE_DIR}/src/dataWrapper/data_wrapper.cc"
"${CMAKE_CURRENT_SOURCE_DIR}/src/cfgWrapper/cfg_wrapper.cc"
"${CMAKE_CURRENT_SOURCE_DIR}/src/dataDelivery/kafka_delivery.cc"
"${CMAKE_CURRENT_SOURCE_DIR}/src/dataDelivery/zmq_delivery.cc"
"${CMAKE_CURRENT_SOURCE_DIR}/src/bridge/grpc_collector_bridge.cc"
${cisco_dialout_pb_cc}
${cisco_dialout_pb_grpc_cc}
${cisco_telemetry_pb_cc}
${juniper_gnmi_pb_cc}
${juniper_gnmi_ext_pb_cc}
${juniper_gnmi_dialout_pb_cc}
${juniper_gnmi_dialout_pb_grpc_cc}
${juniper_telemetry_pb_cc}
${juniper_telemetry_header_pb_cc}
${juniper_telemetry_header_extension_pb_cc}
${huawei_dialout_pb_cc}
${huawei_dialout_pb_grpc_cc}
${huawei_telemetry_pb_cc}
${openconfig_interfaces_pb_cc}
)
target_compile_features(
${file}
PRIVATE
)
target_link_libraries(
${file}
${_REFLECTION}
${_GRPC_GRPCPP}
${_PROTOBUF_LIBPROTOBUF}
${JSONCPP_LIBRARIES}
${RDKAFKA_CPP_LIBRARIES}
${RDKAFKA_LIBRARIES}
${LIBCONFIG_CPP_LIBRARIES}
)
endforeach(sourcefile ${APP_SOURCES})
# Compile C
#file(GLOB APP_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/*.c)
#foreach(sourcefile ${APP_SOURCES})
# file(RELATIVE_PATH filename ${CMAKE_CURRENT_SOURCE_DIR}/src ${sourcefile})
# string(REPLACE ".c" "" file ${filename})
# add_executable(
# ${file}
# "${CMAKE_CURRENT_SOURCE_DIR}/src/${file}.c"
# "${CMAKE_CURRENT_SOURCE_DIR}/src/core/mdt_dialout_core.cc"
# "${CMAKE_CURRENT_SOURCE_DIR}/src/utils/cfg_handler.cc"
# "${CMAKE_CURRENT_SOURCE_DIR}/src/utils/logs_handler.cc"
# "${CMAKE_CURRENT_SOURCE_DIR}/src/dataManipulation/data_manipulation.cc"
# "${CMAKE_CURRENT_SOURCE_DIR}/src/dataWrapper/data_wrapper.cc"
# "${CMAKE_CURRENT_SOURCE_DIR}/src/cfgWrapper/cfg_wrapper.cc"
# "${CMAKE_CURRENT_SOURCE_DIR}/src/dataDelivery/kafka_delivery.cc"
# "${CMAKE_CURRENT_SOURCE_DIR}/src/dataDelivery/zmq_delivery.cc"
# "${CMAKE_CURRENT_SOURCE_DIR}/src/bridge/grpc_collector_bridge.cc"
# ${cisco_dialout_pb_cc}
# ${cisco_dialout_pb_grpc_cc}
# ${cisco_telemetry_pb_cc}
# ${juniper_gnmi_pb_cc}
# ${juniper_gnmi_ext_pb_cc}
# ${juniper_gnmi_dialout_pb_cc}
# ${juniper_gnmi_dialout_pb_grpc_cc}
# ${juniper_telemetry_pb_cc}
# ${juniper_telemetry_header_pb_cc}
# ${juniper_telemetry_header_extension_pb_cc}
# ${huawei_dialout_pb_cc}
# ${huawei_dialout_pb_grpc_cc}
# ${huawei_telemetry_pb_cc}
# ${openconfig_interfaces_pb_cc}
# )
# target_compile_features(
# ${file}
# PRIVATE
# )
# target_link_libraries(
# ${file}
# ${_REFLECTION}
# ${_GRPC_GRPCPP}
# ${_PROTOBUF_LIBPROTOBUF}
# ${JSONCPP_LIBRARIES}
# ${RDKAFKA_CPP_LIBRARIES}
# ${RDKAFKA_LIBRARIES}
# ${LIBCONFIG_CPP_LIBRARIES}
# )
#endforeach(sourcefile ${APP_SOURCES})