summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2017-06-26 00:34:41 +0200
committerPeter Wu <peter@lekensteyn.nl>2017-06-26 21:33:55 +0000
commita3ff8f8b2870c8814ef69e811ce7a18e1f631427 (patch)
tree0325f470378897e4db0bc4a580deaaaf27b0861a
parent48f6616f4de301f5fb117debbab436c7e557de1b (diff)
downloadwireshark-a3ff8f8b2870c8814ef69e811ce7a18e1f631427.tar.gz
cmake: fix SET_FEATURE_INFO deprecation warning
Fix deprecation warnings that occur with cmake 3.8, replacing it by some other function that is supported since at least cmake 2.8.8. This also updates URLs and splits the description in a package description and the purpose for the package (shown on the next line). Change-Id: Ic0f37898593f48b8f37f6a228dae49288f20538f Reviewed-on: https://code.wireshark.org/review/22393 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com> (cherry picked from commit 8d214209e80c2cc86ad9624b31cc6365e10ed454) Reviewed-on: https://code.wireshark.org/review/22409 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
-rw-r--r--CMakeLists.txt52
1 files changed, 42 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8e763489b7..358c7fc017 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1404,16 +1404,48 @@ foreach( _in_file ${IN_FILES} )
endforeach()
include(FeatureSummary)
-#SET_FEATURE_INFO(NAME DESCRIPTION [URL [COMMENT] ])
-SET_FEATURE_INFO(SBC "SBC Codec for Bluetooth A2DP stream playing" "http://git.kernel.org/cgit/bluetooth/sbc.git" )
-SET_FEATURE_INFO(SPANDSP "Support for G.722 and G.726 codecs in RTP player" "http://www.soft-switch.org/" )
-SET_FEATURE_INFO(LIBXML2 "Libxml2 is a XML C parser, which can be used for handling XML configuration in dissectors" "http://xmlsoft.org/" )
-SET_FEATURE_INFO(LIBSSH "libssh is library for ssh connections and it is needed to build sshdump/ciscodump" "https://www.libssh.org/get-it/" )
-SET_FEATURE_INFO(LZ4 "LZ4 is lossless compression algorithm used in some protocol (CQL...)" "http://www.lz4.org" )
-SET_FEATURE_INFO(SNAPPY "snappy is a fast compressor/decompressor from Google used in some protocol (CQL, kafka...)" "http://google.github.io/snappy/")
-SET_FEATURE_INFO(NGHTTP2 "nghttp2 is used for header (de)compression (HPACK)" "http://www.nghttp2.org" )
-SET_FEATURE_INFO(YAPP "Yet Another Perl Parser compiler" "http://search.cpan.org/dist/Parse-Yapp/")
-FEATURE_SUMMARY(WHAT ALL)
+set_package_properties(SBC PROPERTIES
+ DESCRIPTION "Bluetooth low-complexity, subband codec (SBC) decoder"
+ URL "https://git.kernel.org/pub/scm/bluetooth/sbc.git"
+ PURPOSE "Support for playing SBC codec in RTP player"
+)
+set_package_properties(SPANDSP PROPERTIES
+ DESCRIPTION "a library of many DSP functions for telephony"
+ URL "http://www.soft-switch.org/"
+ PURPOSE "Support for G.722 and G.726 codecs in RTP player"
+)
+set_package_properties(LIBXML2 PROPERTIES
+ DESCRIPTION "XML parsing library"
+ URL "http://xmlsoft.org/"
+ PURPOSE "Read XML configuration files in EPL dissector"
+)
+set_package_properties(LIBSSH PROPERTIES
+ DESCRIPTION "Library for implementing SSH clients"
+ URL "https://www.libssh.org/"
+ PURPOSE "extcap remote SSH interfaces (sshdump, ciscodump)"
+)
+set_package_properties(LZ4 PROPERTIES
+ DESCRIPTION "LZ4 is lossless compression algorithm used in some protocol (CQL...)"
+ URL "http://www.lz4.org"
+ PURPOSE "LZ4 decompression in CQL and Kafka dissectors"
+)
+set_package_properties(SNAPPY PROPERTIES
+ DESCRIPTION "A fast compressor/decompressor from Google"
+ URL "http://google.github.io/snappy/"
+ PURPOSE "Snappy decompression in CQL and Kafka dissectors"
+)
+set_package_properties(NGHTTP2 PROPERTIES
+ DESCRIPTION "HTTP/2 C library and tools"
+ URL "https://nghttp2.org"
+ PURPOSE "Header decompression in HTTP2"
+)
+# XXX tpg plugin is not added in CMakeLists/Makefile.am, remove plugins/tpg/?
+set_package_properties(YAPP PROPERTIES
+ DESCRIPTION "Yet Another Perl Parser compiler"
+ URL "http://search.cpan.org/dist/Parse-Yapp/"
+ PURPOSE "tpg plugin"
+)
+feature_summary(WHAT ALL)
link_directories(
${CMAKE_BINARY_DIR}/ui