]> arthur.barton.de Git - netdata.git/blobdiff - CMakeLists.txt
Merge pull request #1049 from Chocobo1/png
[netdata.git] / CMakeLists.txt
index d5e6d195e3b277b66913d99e5545306e7d286864..9c4aa760729de421d1a1887ff4a66ffbd94b8a9b 100755 (executable)
@@ -7,7 +7,7 @@ project(netdata C)
 
 find_package (Threads)
 
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wformat-signedness -Werror=format-security")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wformat-signedness -Werror=format-security -DNETDATA_INTERNAL_CHECKS=1")
 
 set(NETDATA_SOURCE_FILES
         src/appconfig.c
@@ -20,8 +20,12 @@ set(NETDATA_SOURCE_FILES
         src/daemon.h
         src/dictionary.c
         src/dictionary.h
+        src/eval.c
+        src/eval.h
         src/global_statistics.c
         src/global_statistics.h
+        src/health.c
+        src/health.h
         src/log.c
         src/log.h
         src/main.c
@@ -49,9 +53,11 @@ set(NETDATA_SOURCE_FILES
         src/proc_net_dev.c
         src/proc_net_ip_vs_stats.c
         src/proc_net_netstat.c
+        src/proc_net_rpc_nfs.c
         src/proc_net_rpc_nfsd.c
         src/proc_net_snmp6.c
         src/proc_net_snmp.c
+        src/proc_net_softnet_stat.c
         src/proc_net_stat_conntrack.c
         src/proc_net_stat_synproxy.c
         src/proc_self_mountinfo.c
@@ -68,8 +74,8 @@ set(NETDATA_SOURCE_FILES
         src/rrd.h
         src/storage_number.c
         src/storage_number.h
-        src/sys_kernel_mm_ksm.c
         src/sys_fs_cgroup.c
+        src/sys_kernel_mm_ksm.c
         src/unit_test.c
         src/unit_test.h
         src/url.c
@@ -82,7 +88,7 @@ set(NETDATA_SOURCE_FILES
         src/web_client.h
         src/web_server.c
         src/web_server.h
-        config.h src/health.h src/health.c src/eval.h src/eval.c)
+)
 
 set(APPS_PLUGIN_SOURCE_FILES
         src/appconfig.c