mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Use the same rules as cmake submodule to reformat Zeek
This commit is contained in:
parent
fd72d81bad
commit
84e3f414a7
125 changed files with 1423 additions and 1670 deletions
|
@ -1,9 +1,8 @@
|
|||
|
||||
project(Zeek-Plugin-Demo-Foo)
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
if ( NOT ZEEK_DIST )
|
||||
if (NOT ZEEK_DIST)
|
||||
message(FATAL_ERROR "ZEEK_DIST not set")
|
||||
endif ()
|
||||
|
||||
|
|
|
@ -20,12 +20,12 @@ include_directories(BEFORE ${PYTHON_INCLUDE_DIR})
|
|||
zeek_plugin_begin(Zeek PyLib)
|
||||
|
||||
file(GLOB cc_files RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "plugin/src/*.cc")
|
||||
foreach(file ${cc_files})
|
||||
foreach (file ${cc_files})
|
||||
zeek_plugin_cc(${file})
|
||||
endforeach ()
|
||||
|
||||
file(GLOB bif_files RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "plugin/src/*.bif")
|
||||
foreach(file ${bif_files})
|
||||
foreach (file ${bif_files})
|
||||
zeek_plugin_bif(${file})
|
||||
endforeach ()
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
project(Zeek-Plugin-Demo-Version)
|
||||
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
if ( NOT ZEEK_DIST )
|
||||
if (NOT ZEEK_DIST)
|
||||
message(FATAL_ERROR "ZEEK_DIST not set")
|
||||
endif ()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue