Adding test creating a dynamic pktsrc plugin.

This commit is contained in:
Robin Sommer 2014-08-28 00:53:15 -04:00
parent 3e669daa05
commit 5e4f498083
7 changed files with 167 additions and 0 deletions

View file

@ -0,0 +1,17 @@
project(Bro-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 2.6.3)
if ( NOT BRO_DIST )
message(FATAL_ERROR "BRO_DIST not set")
endif ()
set(CMAKE_MODULE_PATH ${BRO_DIST}/cmake)
include(BroPlugin)
bro_plugin_begin(Demo Foo)
bro_plugin_cc(src/Plugin.cc)
bro_plugin_cc(src/Foo.cc)
bro_plugin_end()