X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=blobdiff_plain;f=CMakeLists.txt;h=18a0e81eae354d7f5acf20330e5391890f4528c7;hp=8931d8f8060066513a837a54a1242e7fd4147170;hb=aa6b96fc2d421517a59a1aaaf91be5f201d34287;hpb=3808235dce73d7203b548d397677eab369c36ee8 diff --git a/CMakeLists.txt b/CMakeLists.txt index 8931d8f8..18a0e81e 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 @@ -80,6 +83,7 @@ set(NETDATA_SOURCE_FILES src/proc_self_mountinfo.c src/proc_self_mountinfo.h src/proc_softirqs.c + src/proc_spl_kstat_zfs.c src/proc_stat.c src/proc_sys_kernel_random_entropy_avail.c src/proc_uptime.c @@ -103,6 +107,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 +133,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 +145,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 +155,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 +190,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)