File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ pkg_check_modules(CGRAPH IMPORTED_TARGET libcgraph>=2.30)
125125pkg_check_modules (GVC IMPORTED_TARGET libgvc>=2.30 )
126126pkg_check_modules (LIBUSB IMPORTED_TARGET libusb-1.0>=1.0.23 )
127127pkg_check_modules (NANOMSG IMPORTED_TARGET nanomsg )
128+ pkg_check_modules (BZIP2 IMPORTED_TARGET bzip2 )
129+
128130if (NOT NANOMSG_FOUND)
129131 pkg_check_modules (NANOMSG IMPORTED_TARGET libnanomsg>=1.0.0 )
130132endif ()
@@ -191,6 +193,7 @@ cmake_dependent_option(WITH_SRC "Build executables"
191193cmake_dependent_option (WITH_TESTS "Run tests" "${WITH_DEFAULTS} " "TOPLEVEL_PROJECT" OFF )
192194cmake_dependent_option (WITH_TOOLS "Build auxilary tools" "${WITH_DEFAULTS} " "TOPLEVEL_PROJECT" OFF )
193195cmake_dependent_option (WITH_WEB "Build with internal webserver" "${WITH_DEFAULTS} " "LIBWEBSOCKETS_FOUND" OFF )
196+ cmake_dependent_option (WITH_VILLAS_CHRONICS "Build with villas-chronics" "${WITH_DEFAULTS} " "BZIP2_FOUND" OFF )
194197
195198cmake_dependent_option (WITH_NODE_AMQP "Build with amqp node-type" "${WITH_DEFAULTS} " "RABBITMQ_C_FOUND" OFF )
196199cmake_dependent_option (WITH_NODE_CAN "Build with can node-type" "${WITH_DEFAULTS} " "" OFF )
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ set(SRCS
1111 villas-signal
1212 villas-compare
1313 villas-test-config
14+ villas-chronics
1415)
1516
1617add_executable (villas-node villas-node.cpp )
@@ -74,6 +75,13 @@ if(WITH_NODE_OPAL)
7475 list (APPEND SRCS opal-async-param)
7576endif ()
7677
78+ if (WITH_VILLAS_CHRONICS)
79+ add_executable (villas-chronics villas-chronics.cpp )
80+ target_link_libraries (villas-chronics PUBLIC villas )
81+
82+ list (APPEND SRCS villas-chronics)
83+ endif ()
84+
7785install (
7886 TARGETS ${SRCS}
7987 COMPONENT bin
You can’t perform that action at this time.
0 commit comments