diff options
Diffstat (limited to 'src/fluent-bit/include/CMakeLists.txt')
-rw-r--r-- | src/fluent-bit/include/CMakeLists.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/fluent-bit/include/CMakeLists.txt b/src/fluent-bit/include/CMakeLists.txt new file mode 100644 index 000000000..38f1b0dcc --- /dev/null +++ b/src/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) |