mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
Added --include-plugins configure argument
This commit is contained in:
parent
e0d284ec9f
commit
e399b537ca
11 changed files with 146 additions and 22 deletions
36
configure
vendored
36
configure
vendored
|
@ -13,21 +13,23 @@ usage="\
|
|||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
Build Options:
|
||||
--cmake=PATH custom path to a CMake binary
|
||||
--builddir=DIR place build files in directory [build]
|
||||
--build-dir=DIR alias for --builddir
|
||||
--build-type=TYPE set CMake build type [RelWithDebInfo]:
|
||||
- Debug: optimizations off, debug symbols + flags
|
||||
- MinSizeRel: size optimizations, debugging off
|
||||
- Release: optimizations on, debugging off
|
||||
- RelWithDebInfo: optimizations on,
|
||||
debug symbols on, debug flags off
|
||||
--generator=GENERATOR CMake generator to use (see cmake --help)
|
||||
--ccache use ccache to speed up recompilation (requires
|
||||
ccache installation and CMake 3.10+)
|
||||
--toolchain=PATH path to a CMAKE_TOOLCHAIN_FILE
|
||||
(useful for cross-compiling)
|
||||
--sanitizers=LIST comma-separated list of sanitizer names to enable
|
||||
--cmake=PATH custom path to a CMake binary
|
||||
--builddir=DIR place build files in directory [build]
|
||||
--build-dir=DIR alias for --builddir
|
||||
--build-type=TYPE set CMake build type [RelWithDebInfo]:
|
||||
- Debug: optimizations off, debug symbols + flags
|
||||
- MinSizeRel: size optimizations, debugging off
|
||||
- Release: optimizations on, debugging off
|
||||
- RelWithDebInfo: optimizations on,
|
||||
debug symbols on, debug flags off
|
||||
--generator=GENERATOR CMake generator to use (see cmake --help)
|
||||
--ccache use ccache to speed up recompilation (requires
|
||||
ccache installation and CMake 3.10+)
|
||||
--toolchain=PATH path to a CMAKE_TOOLCHAIN_FILE
|
||||
(useful for cross-compiling)
|
||||
--sanitizers=LIST comma-separated list of sanitizer names to enable
|
||||
--include-plugins=PATHS paths containing plugins to build directly into Zeek
|
||||
(semicolon delimited and quoted when multiple)
|
||||
|
||||
Installation Directories:
|
||||
--prefix=PREFIX installation directory [/usr/local/zeek]
|
||||
|
@ -170,6 +172,7 @@ append_cache_entry INSTALL_ZKG BOOL true
|
|||
append_cache_entry CPACK_SOURCE_IGNORE_FILES STRING
|
||||
append_cache_entry ENABLE_MOBILE_IPV6 BOOL false
|
||||
append_cache_entry ZEEK_SANITIZERS STRING ""
|
||||
append_cache_entry ZEEK_INCLUDE_PLUGINS STRING ""
|
||||
|
||||
# parse arguments
|
||||
while [ $# -ne 0 ]; do
|
||||
|
@ -208,6 +211,9 @@ while [ $# -ne 0 ]; do
|
|||
--toolchain=*)
|
||||
append_cache_entry CMAKE_TOOLCHAIN_FILE PATH $optarg
|
||||
;;
|
||||
--include-plugins=*)
|
||||
append_cache_entry ZEEK_INCLUDE_PLUGINS STRING $optarg
|
||||
;;
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
append_cache_entry CMAKE_INSTALL_PREFIX PATH $optarg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue