mirror of
https://github.com/openappsec/openappsec.git
synced 2026-01-17 16:00:26 +03:00
* sync code * update code to support brotli * update code to support brotli * update code to support brotli * sync code * fix findBrotli * sync code * sync code * sync code * sync code --------- Co-authored-by: Ned Wright <nedwright@proton.me> Co-authored-by: Daniel Eisenberg <danielei@checkpoint.com>
33 lines
705 B
CMake
Executable File
33 lines
705 B
CMake
Executable File
add_subdirectory(package)
|
|
|
|
add_executable(prometheus main.cc)
|
|
|
|
target_link_libraries(prometheus
|
|
-Wl,--start-group
|
|
${COMMON_LIBRARIES}
|
|
generic_rulebase
|
|
generic_rulebase_evaluators
|
|
ip_utilities
|
|
version
|
|
signal_handler
|
|
|
|
prometheus_comp
|
|
http_transaction_data
|
|
-Wl,--end-group
|
|
-Wl,--no-as-needed
|
|
${Brotli_LIBRARIES}
|
|
-Wl,--as-needed
|
|
)
|
|
|
|
add_dependencies(prometheus ngen_core)
|
|
|
|
install(TARGETS prometheus DESTINATION bin)
|
|
install(TARGETS prometheus DESTINATION prometheus_service/bin)
|
|
|
|
gen_package(
|
|
install-cp-nano-service-prometheus.sh
|
|
prometheus_service
|
|
./install-cp-nano-prometheus.sh
|
|
Check Point Prometheus Agent Version ${PACKAGE_VERSION} Install Package
|
|
)
|