regen pidl all: rm epan/dissectors/pidl/*-stamp; pushd epan/dissectors/pidl/ && make...
[wireshark-sm.git] / plugins / epan / transum / CMakeLists.txt
blobd26d4e464a49d69a2c352c83192028289be2c893
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(transum 2 0 4 0)
15 set(DISSECTOR_SRC
16         packet-transum.c
19 set(DISSECTOR_SUPPORT_SRC
20         decoders.c
21         extractors.c
24 set(PLUGIN_FILES
25         plugin.c
26         ${DISSECTOR_SRC}
27         ${DISSECTOR_SUPPORT_SRC}
30 set_source_files_properties(
31         ${PLUGIN_FILES}
32         PROPERTIES
33         COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
36 register_plugin_files(plugin.c
37         plugin
38         ${DISSECTOR_SRC}
39         ${DISSECTOR_SUPPORT_SRC}
42 add_wireshark_plugin_library(transum epan)
44 target_link_libraries(transum epan)
46 install_plugin(transum epan)
48 file(GLOB DISSECTOR_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h")
49 CHECKAPI(
50         NAME
51           transum
52         SWITCHES
53           --group dissectors-prohibited
54           --group dissectors-restricted
55         SOURCES
56           ${DISSECTOR_SRC}
57           ${DISSECTOR_SUPPORT_SRC}
58           ${DISSECTOR_HEADERS}
62 # Editor modelines  -  https://www.wireshark.org/tools/modelines.html
64 # Local variables:
65 # c-basic-offset: 8
66 # tab-width: 8
67 # indent-tabs-mode: t
68 # End:
70 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
71 # :indentSize=8:tabSize=8:noTabs=false: