diff options
author | Alex Williams <alex.williams@ni.com> | 2019-07-30 19:45:58 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:35 -0800 |
commit | 9f29b9a556634e41d13fa298f9634b67fdd0a749 (patch) | |
tree | 694a38eb03629aec1ea118f6b3cdf63c6cfd7d0d /tools/dissectors/epan/rfnoc/CMakeLists.txt | |
parent | 1c79742231c5cc3609e35bda34c8d9b9e7440f50 (diff) | |
download | uhd-9f29b9a556634e41d13fa298f9634b67fdd0a749.tar.gz uhd-9f29b9a556634e41d13fa298f9634b67fdd0a749.tar.bz2 uhd-9f29b9a556634e41d13fa298f9634b67fdd0a749.zip |
tools: Update dissectors for Wireshark major version 3, new CHDR
Dissectors may now be incompatible with earlier versions.
Fixes ZPU dissector.
Diffstat (limited to 'tools/dissectors/epan/rfnoc/CMakeLists.txt')
-rw-r--r-- | tools/dissectors/epan/rfnoc/CMakeLists.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/dissectors/epan/rfnoc/CMakeLists.txt b/tools/dissectors/epan/rfnoc/CMakeLists.txt new file mode 100644 index 000000000..3c021a464 --- /dev/null +++ b/tools/dissectors/epan/rfnoc/CMakeLists.txt @@ -0,0 +1,27 @@ +set_module_info(rfnoc 4 0 0 0) + +set(DISSECTOR_SRC + ${CMAKE_CURRENT_SOURCE_DIR}/packet-rfnoc.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../host/lib/exception.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../host/lib/rfnoc/chdr_types.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../host/lib/rfnoc/chdr_packet.cpp +) + +set(PLUGIN_FILES + ${CMAKE_CURRENT_BINARY_DIR}/plugin.c + ${DISSECTOR_SRC} +) + +register_plugin_files(${CMAKE_CURRENT_BINARY_DIR}/plugin.c + plugin + ${DISSECTOR_SRC} +) + +add_plugin_library(rfnoc epan) + +set_target_properties(rfnoc PROPERTIES PREFIX "") +set_target_properties(rfnoc PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") +target_link_libraries(rfnoc wireshark epan) + +install_plugin(rfnoc epan) + |