sq netlogon_dissect_CLAIMS_SET_BUFFER
[wireshark-sm.git] / plugins / wiretap / usbdump / CMakeLists.txt
blob14fab19de3289423f0af1955bbc574e623fd5d92
1 # CMakeLists.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
10 include(WiresharkPlugin)
12 # Plugin name and version info (major minor micro extra)
13 set_module_info(usbdump 0 0 1 0)
15 set(WIRETAP_SRC
16         usbdump.c
19 set(PLUGIN_FILES
20         plugin.c
21         ${WIRETAP_SRC}
24 set_source_files_properties(
25         ${PLUGIN_FILES}
26         PROPERTIES
27         COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
30 register_plugin_files(plugin.c
31         plugin_wtap
32         ${WIRETAP_SRC}
35 add_wireshark_plugin_library(usbdump wiretap)
37 target_include_directories(usbdump PRIVATE ${CMAKE_SOURCE_DIR}/wiretap)
39 target_link_libraries(usbdump wiretap)
41 install_plugin(usbdump wiretap)
43 file(GLOB WIRETAP_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h")
44 CHECKAPI(
45         NAME
46           usbdump
47         SWITCHES
48         SOURCES
49           ${WIRETAP_SRC}
50           ${WIRETAP_HEADERS}
54 # Editor modelines  -  https://www.wireshark.org/tools/modelines.html
56 # Local variables:
57 # c-basic-offset: 8
58 # tab-width: 8
59 # indent-tabs-mode: t
60 # End:
62 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
63 # :indentSize=8:tabSize=8:noTabs=false: