Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / plugins / codecs / G722 / CMakeLists.txt
blob37c08cd12e48e22ccc9305981982551fc9d38005
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(g722 0 1 0 0)
15 set(CODEC_SRC
16         G722decode.c
19 set(PLUGIN_FILES
20         plugin.c
21         ${CODEC_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_codec
32         ${CODEC_SRC}
35 add_wireshark_plugin_library(g722 codecs)
37 target_include_directories(g722 PRIVATE ${CMAKE_SOURCE_DIR}/codecs)
39 target_link_libraries(g722 wsutil ${SPANDSP_LIBRARIES})
41 target_include_directories(g722 SYSTEM PRIVATE ${SPANDSP_INCLUDE_DIRS})
43 install_plugin(g722 codecs)
45 file(GLOB CODEC_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h")
46 CHECKAPI(
47         NAME
48           g722
49         SWITCHES
50         SOURCES
51           ${CODEC_SRC}
52           ${CODEC_HEADERS}
56 # Editor modelines  -  https://www.wireshark.org/tools/modelines.html
58 # Local variables:
59 # c-basic-offset: 8
60 # tab-width: 8
61 # indent-tabs-mode: t
62 # End:
64 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
65 # :indentSize=8:tabSize=8:noTabs=false: