summaryrefslogtreecommitdiffstats
path: root/fluent-bit/include/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/include/CMakeLists.txt')
-rw-r--r--fluent-bit/include/CMakeLists.txt47
1 files changed, 47 insertions, 0 deletions
diff --git a/fluent-bit/include/CMakeLists.txt b/fluent-bit/include/CMakeLists.txt
new file mode 100644
index 00000000..38f1b0dc
--- /dev/null
+++ b/fluent-bit/include/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Install fluent-bit headers
+install(FILES "fluent-bit.h"
+ DESTINATION ${FLB_INSTALL_INCLUDEDIR}
+ COMPONENT headers
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
+
+file(GLOB headers "fluent-bit/*.h")
+install(FILES ${headers}
+ DESTINATION ${FLB_INSTALL_INCLUDEDIR}/fluent-bit
+ COMPONENT headers
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
+
+file(GLOB headers "fluent-bit/config_format/*.h")
+install(FILES ${headers}
+ DESTINATION ${FLB_INSTALL_INCLUDEDIR}/fluent-bit/config_format/
+ COMPONENT headers
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
+
+file(GLOB headers "fluent-bit/tls/*.h")
+install(FILES ${headers}
+ DESTINATION ${FLB_INSTALL_INCLUDEDIR}/fluent-bit/tls/
+ COMPONENT headers
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
+
+file(GLOB headers "fluent-bit/wasm/*.h")
+install(FILES ${headers}
+ DESTINATION ${FLB_INSTALL_INCLUDEDIR}/fluent-bit/wasm/
+ COMPONENT headers
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
+
+install(FILES "../lib/monkey/include/monkey/mk_core.h"
+ DESTINATION ${FLB_INSTALL_INCLUDEDIR}/monkey/
+ COMPONENT headers-extra
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
+
+file(GLOB headers "../lib/monkey/include/monkey/mk_core/*.h")
+ install(FILES ${headers}
+ COMPONENT headers-extra
+ DESTINATION ${FLB_INSTALL_INCLUDEDIR}/monkey/mk_core/
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
+
+
+file(GLOB headers "../lib/flb_libco/*.h")
+ install(FILES ${headers}
+ COMPONENT headers-extra
+ DESTINATION ${FLB_INSTALL_INCLUDEDIR}/
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)