17 lines
369 B
CMake
17 lines
369 B
CMake
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -lm")
|
|
|
|
add_library(utable SHARED utable.c utable_ipfix_exporter.c)
|
|
target_link_libraries(utable base64 nmx_pool cjson-static yyjson mpack)
|
|
|
|
add_executable(ipfix_exporter_example
|
|
utable_ipfix_exporter.c
|
|
ipfix_exporter_example.cpp
|
|
)
|
|
|
|
target_link_libraries(
|
|
ipfix_exporter_example
|
|
utable
|
|
pthread
|
|
)
|
|
|
|
add_subdirectory(test) |