X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=blobdiff_plain;f=CMakeLists.txt;h=d848c5c84e03c6a07a506fd2d9d3ca82a0ea5300;hp=8931d8f8060066513a837a54a1242e7fd4147170;hb=32e8eda4c4d6370e96233a69cab861b2ebb5cc9a;hpb=3808235dce73d7203b548d397677eab369c36ee8 diff --git a/CMakeLists.txt b/CMakeLists.txt index 8931d8f8..d848c5c8 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ -# This file is only used for development (open netdata in Clion) +# This file is only used for development (netdata in Clion) # It can build netdata, but you are on your own... cmake_minimum_required(VERSION 3.3) @@ -33,6 +33,9 @@ set(NETDATA_SOURCE_FILES src/global_statistics.h src/health.c src/health.h + src/health_config.c + src/health_json.c + src/health_log.c src/inlined.h src/ipc.c src/ipc.h @@ -103,6 +106,19 @@ set(NETDATA_SOURCE_FILES src/rrd.h src/rrd2json.c src/rrd2json.h + src/rrd2json_api_old.c + src/rrd2json_api_old.h + src/rrdcalc.c + src/rrdcalctemplate.c + src/rrddim.c + src/rrddimvar.c + src/rrdfamily.c + src/rrdhost.c + src/rrdpush.c + src/rrdpush.h + src/rrdset.c + src/rrdsetvar.c + src/rrdvar.c src/simple_pattern.c src/simple_pattern.h src/socket.c src/socket.h @@ -116,6 +132,10 @@ set(NETDATA_SOURCE_FILES src/unit_test.h src/url.c src/url.h + src/web_api_old.c + src/web_api_old.h + src/web_api_v1.c + src/web_api_v1.h src/web_buffer.c src/web_buffer.h src/web_buffer_svg.c @@ -124,7 +144,7 @@ set(NETDATA_SOURCE_FILES src/web_client.h src/web_server.c src/web_server.h - src/rrdhost.c src/rrdfamily.c src/rrdset.c src/rrddim.c src/health_log.c src/health_config.c src/health_json.c src/rrdcalc.c src/rrdcalctemplate.c src/rrdvar.c src/rrddimvar.c src/rrdsetvar.c src/rrdpush.c src/rrdpush.h src/web_api_old.c src/web_api_old.h src/web_api_v1.c src/web_api_v1.h src/rrd2json_api_old.c src/rrd2json_api_old.h) + src/locks.h) set(APPS_PLUGIN_SOURCE_FILES src/appconfig.c @@ -134,13 +154,31 @@ set(APPS_PLUGIN_SOURCE_FILES src/avl.h src/common.c src/common.h + src/clocks.c + src/clocks.h + src/inlined.h src/log.c src/log.h src/procfile.c src/procfile.h src/web_buffer.c src/web_buffer.h - config.h) + config.h + ) + +set(FREEIPMI_PLUGIN_SOURCE_FILES + src/freeipmi_plugin.c + src/common.c + src/common.h + src/clocks.c + src/clocks.h + src/inlined.h + src/log.c + src/log.h + src/procfile.c + src/procfile.h + config.h + ) include_directories(AFTER .) @@ -151,3 +189,6 @@ target_link_libraries (netdata m z uuid ${CMAKE_THREAD_LIBS_INIT}) add_executable(apps.plugin ${APPS_PLUGIN_SOURCE_FILES} src/inlined.h) target_link_libraries (apps.plugin m ${CMAKE_THREAD_LIBS_INIT}) + +add_executable(freeipmi.plugin ${FREEIPMI_PLUGIN_SOURCE_FILES}) +target_link_libraries (freeipmi.plugin ipmimonitoring)