Merge in SNORT/snort3 from ~YVELYKOZ/snort3:kaizen_mock_chg to master
Squashed commit of the following:
commit
bbc1f110e6815c1672948b5319d09540e9d35f22
Author: Yehor Velykozhon <yvelykoz@cisco.com>
Date: Wed Feb 14 14:50:05 2024 +0200
kaizen: provide an option to enable Kaizen's mock
ML_INCLUDE_DIRS
)
-if (ML_FOUND)
+if (ML_FOUND AND NOT ENABLE_KAIZEN_MOCK)
set(HAVE_LIBML TRUE)
endif()
libml include directory
--with-libml-libraries=DIR
libml library directory
+ --without-libml build Kaizen ML with mock of LibML
Some influential variable definitions:
SIGNAL_SNORT_RELOAD=<int>
--with-libml-libraries=*)
append_cache_entry ML_LIBRARIES_DIR_HINT PATH $optarg
;;
+ --without-libml)
+ append_cache_entry ENABLE_KAIZEN_MOCK BOOL true
+ ;;
SIGNAL_SNORT_RELOAD=*)
append_cache_entry SIGNAL_SNORT_RELOAD STRING $optarg
;;