]> arthur.barton.de Git - netdata.git/blobdiff - CMakeLists.txt
Merge pull request #1968 from ktsaou/master
[netdata.git] / CMakeLists.txt
index ae492c05d5e1609c619f4da62a5aa35fb9cb9e0d..d848c5c84e03c6a07a506fd2d9d3ca82a0ea5300 100755 (executable)
@@ -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/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)