Revert "TODO: smb2: simplify preauth_hash calculation..."
[wireshark-sm.git] / CMakeListsCustom.txt.example
blob1501d8ecf1da901d5aaa694434196aa9354aa955
1 # CMakeListsCustom.txt
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
14 #       private_plugins/foo
15 # or
16 #       plugins/epan/foo
19 # Do not fail CMake stage if any of the optional plugins are missing from source tree
20 set(_OPTIONAL_CUSTOM_PLUGIN_SRC_DIR
21 #       plugins/epan/bar
24 # Add your custom TShark taps here
25 set(CUSTOM_TSHARK_TAP_SRC
26 #       ui/cli/tap-baz.c
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} )
33         else()
34                 message( WARNING "Custom plugins: No ${_plugin_dir}/CMakeLists.txt file found - ignoring" )
35         endif()
36 endforeach()
39 # Editor modelines  -  https://www.wireshark.org/tools/modelines.html
41 # Local variables:
42 # c-basic-offset: 8
43 # tab-width: 8
44 # indent-tabs-mode: t
45 # End:
47 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
48 # :indentSize=8:tabSize=8:noTabs=false: