File: ZeekPlugin.cmake

package info (click to toggle)
bifcl 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 516 kB
  • sloc: yacc: 646; lex: 456; sh: 195; cpp: 146; makefile: 33; ansic: 8
file content (17 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

# Wrapper include file that loads the macros for building a Zeek
# plugin either statically or dynamically, depending on whether
# we're building as part of the main Zeek source tree, or externally.

if ( ZEEK_PLUGIN_INTERNAL_BUILD )
    if ( "${ZEEK_PLUGIN_BUILD_DYNAMIC}" STREQUAL "" )
        set(ZEEK_PLUGIN_BUILD_DYNAMIC FALSE)
    endif()
else ()
    set(ZEEK_PLUGIN_BUILD_DYNAMIC TRUE)
endif ()

include(ZeekPluginCommon)
include(ZeekPluginStatic)
include(ZeekPluginDynamic)