Build builtin Spicy analyzers in debug mode if debug mode is enabled

Closes #4587.
This commit is contained in:
Benjamin Bannier 2025-06-19 09:17:18 +02:00
parent a22837536d
commit c15d04282d

View file

@ -649,6 +649,7 @@ if (ENABLE_DEBUG)
set(VERSION_C_IDENT "${VERSION_C_IDENT}_debug") set(VERSION_C_IDENT "${VERSION_C_IDENT}_debug")
target_compile_definitions(zeek_internal INTERFACE DEBUG) target_compile_definitions(zeek_internal INTERFACE DEBUG)
target_compile_definitions(zeek_dynamic_plugin_base INTERFACE DEBUG) target_compile_definitions(zeek_dynamic_plugin_base INTERFACE DEBUG)
set(SPICYZ_FLAGS "-d" CACHE STRING "Additional flags to pass to spicyz for builtin analyzers")
endif () endif ()
if (NOT BINARY_PACKAGING_MODE) if (NOT BINARY_PACKAGING_MODE)