mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

Most of these changes are either cmake-related or plugin-related. Added a new test "plugins/legacy.zeek" to test that legacy Bro plugins still work. Also added a symlink bro-path-dev.in because some legacy Bro packages won't install without it.
17 lines
314 B
CMake
17 lines
314 B
CMake
|
|
project(Zeek-Plugin-Demo-Foo)
|
|
|
|
cmake_minimum_required(VERSION 2.6.3)
|
|
|
|
if ( NOT ZEEK_DIST )
|
|
message(FATAL_ERROR "ZEEK_DIST not set")
|
|
endif ()
|
|
|
|
set(CMAKE_MODULE_PATH ${ZEEK_DIST}/cmake)
|
|
|
|
include(ZeekPlugin)
|
|
|
|
zeek_plugin_begin(Demo Foo)
|
|
zeek_plugin_cc(src/Plugin.cc)
|
|
zeek_plugin_cc(src/Foo.cc)
|
|
zeek_plugin_end()
|