mirror of
https://github.com/openappsec/attachment.git
synced 2025-11-16 09:21:55 +03:00
Istio support (#30)
* adding istio files * fix the envoy CMakList file * fix the envoy CMakList file * adding the .mod file * adding the webhook injector image * adding istio files * adding istio files * fix the envoy CMakList file * fix the envoy CMakList file * adding the .mod file * adding the webhook injector image * adding istio files * pulling from dev * fix the envoy CMakList file * adding istio files * fix missing header * fix wrong name of library * fix envoy CMakeLists * remove cloud guard names * remove cloud guard names * adding istio files * adding istio files * [JIRA] INXT-44274: test agent image * add Daniel fixes * remove zlib library * remove nano attachment ut
This commit is contained in:
30
attachments/nano_attachment/CMakeLists.txt
Normal file
30
attachments/nano_attachment/CMakeLists.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
add_subdirectory(nano_attachment_util)
|
||||
|
||||
include_directories(include)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_GNU_SOURCE -lpthread -Wall")
|
||||
|
||||
link_directories(${CMAKE_BINARY_DIR}/core)
|
||||
link_directories(${CMAKE_BINARY_DIR}/core/shmem_ipc)
|
||||
include_directories(${PROJECT_SOURCE_DIR}/core/include/attachments)
|
||||
|
||||
|
||||
add_library(
|
||||
nano_attachment
|
||||
SHARED
|
||||
nano_attachment.c
|
||||
nano_configuration.c
|
||||
nano_initializer.c
|
||||
nano_utils.c
|
||||
nano_attachment_io.c
|
||||
nano_attachment_thread.c
|
||||
nano_attachment_sender.c
|
||||
nano_attachment_sender_thread.c
|
||||
nano_attachment_metric.c
|
||||
nano_compression.c
|
||||
)
|
||||
|
||||
target_link_libraries(nano_attachment shmem_ipc_2 nano_attachment_util osrc_compression_utils)
|
||||
|
||||
install(TARGETS nano_attachment DESTINATION lib)
|
||||
install(TARGETS nano_attachment DESTINATION nginx_attachment/lib PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ)
|
||||
Reference in New Issue
Block a user