File: ZeekPlugin.cmake

package info (click to toggle)
binpac 0.59.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,168 kB
  • sloc: cpp: 10,806; yacc: 1,011; lex: 383; sh: 193; makefile: 35
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)