Merge remote-tracking branch 'origin/topic/timw/cleanup-warnings-from-plugin-btest-builds'

* origin/topic/timw/cleanup-warnings-from-plugin-btest-builds:
  Update zeek-aux to remove BRO_DIST from plugin skeleton
  cmake_minimum_required() should come before project()
This commit is contained in:
Tim Wojtulewicz 2025-08-07 08:39:27 -07:00
commit 54d67c3322
13 changed files with 31 additions and 25 deletions

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Foo-FOO)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Foo-FOO)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Conflict-Plugin)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Conflict-Plugin)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,12 +1,12 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
if (NOT BRO_DIST)
message(FATAL_ERROR "BRO_DIST not set")
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()
set(CMAKE_MODULE_PATH ${BRO_DIST}/cmake)
set(CMAKE_MODULE_PATH ${ZEEK_DIST}/cmake)
include(ZeekPlugin)

View file

@ -1,7 +1,7 @@
project(Zeek-Packet-Plugin-Demo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Packet-Plugin-Demo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()

View file

@ -1,7 +1,7 @@
project(Zeek-Plugin-Demo-Foo)
cmake_minimum_required(VERSION 3.15)
project(Zeek-Plugin-Demo-Foo)
if (NOT ZEEK_DIST)
message(FATAL_ERROR "ZEEK_DIST not set")
endif ()