dcerpc-netlogon: all netr_LogonControl[2[Ex]] calls have the same reply values
[wireshark-sm.git] / plugins / epan / opcua / CMakeLists.txt
blob7299358f7dd4a74291c778310d3d23b0d300da11
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(opcua 1 0 0 0)
15 set(DISSECTOR_SRC
16         opcua.c
19 set(DISSECTOR_SUPPORT_SRC
20         opcua_transport_layer.c
21         opcua_security_layer.c
22         opcua_application_layer.c
23         opcua_serviceparser.c
24         opcua_complextypeparser.c
25         opcua_enumparser.c
26         opcua_simpletypes.c
27         opcua_servicetable.c
28         opcua_extensionobjecttable.c
29         opcua_hfindeces.c
30         opcua_statuscode.c
31         opcua_keyset.c
34 set(PLUGIN_FILES
35         plugin.c
36         ${DISSECTOR_SRC}
37         ${DISSECTOR_SUPPORT_SRC}
40 set_source_files_properties(
41         ${PLUGIN_FILES}
42         PROPERTIES
43         COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
46 register_plugin_files(plugin.c
47         plugin
48         ${DISSECTOR_SRC}
49         ${DISSECTOR_SUPPORT_SRC}
52 add_wireshark_plugin_library(opcua epan)
54 target_link_libraries(opcua epan ${GCRYPT_LIBRARIES})
56 install_plugin(opcua epan)
58 file(GLOB DISSECTOR_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h")
59 CHECKAPI(
60         NAME
61           opcua
62         SWITCHES
63           --group dissectors-prohibited
64           --group dissectors-restricted
65         SOURCES
66           ${DISSECTOR_SRC}
67           ${DISSECTOR_SUPPORT_SRC}
68           ${DISSECTOR_HEADERS}
72 # Editor modelines  -  https://www.wireshark.org/tools/modelines.html
74 # Local variables:
75 # c-basic-offset: 8
76 # tab-width: 8
77 # indent-tabs-mode: t
78 # End:
80 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
81 # :indentSize=8:tabSize=8:noTabs=false: