3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 1998 Gerald Combs
7 # SPDX-License-Identifier: GPL-2.0-or-later
9 # Add a list of your custom plugins SRC dir here including the path
12 # Fail CMake stage if any of these plugins are missing from source tree
13 set(CUSTOM_PLUGIN_SRC_DIR
19 # Do not fail CMake stage if any of the optional plugins are missing from source tree
20 set(_OPTIONAL_CUSTOM_PLUGIN_SRC_DIR
24 # Add your custom TShark taps here
25 set(CUSTOM_TSHARK_TAP_SRC
29 # This loop handles supporting optional plugins
30 foreach( _plugin_dir ${_OPTIONAL_CUSTOM_PLUGIN_SRC_DIR} )
31 if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_plugin_dir}/CMakeLists.txt )
32 list( APPEND CUSTOM_PLUGIN_SRC_DIR ${_plugin_dir} )
34 message( WARNING "Custom plugins: No ${_plugin_dir}/CMakeLists.txt file found - ignoring" )
39 # Editor modelines - https://www.wireshark.org/tools/modelines.html
47 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
48 # :indentSize=8:tabSize=8:noTabs=false: