# CMakeLists.txt # # Wireshark - Network traffic analyzer # By Gerald Combs # Copyright 1998 Gerald Combs # # SPDX-License-Identifier: GPL-2.0-or-later # include(WiresharkPlugin) # Plugin name and version info (major minor micro extra) set_module_info(l16mono 0 1 0 0) set(CODEC_SRC l16decode.c ) set(PLUGIN_FILES plugin.c ${CODEC_SRC} ) set_source_files_properties( ${PLUGIN_FILES} PROPERTIES COMPILE_FLAGS "${WERROR_COMMON_FLAGS}" ) register_plugin_files(plugin.c plugin_codec ${CODEC_SRC} ) add_wireshark_plugin_library(l16mono codecs) target_include_directories(l16mono PRIVATE ${CMAKE_SOURCE_DIR}/codecs) target_link_libraries(l16mono wsutil) install_plugin(l16mono codecs) file(GLOB CODEC_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h") CHECKAPI( NAME l16mono SWITCHES SOURCES ${CODEC_SRC} ${CODEC_HEADERS} ) # # Editor modelines - https://www.wireshark.org/tools/modelines.html # # Local variables: # c-basic-offset: 8 # tab-width: 8 # indent-tabs-mode: t # End: # # vi: set shiftwidth=8 tabstop=8 noexpandtab: # :indentSize=8:tabSize=8:noTabs=false: #