wireshark/epan
João Valverde a3991874eb CMake: Replace PACKAGELIST magic
This is more explicit and easier to read with slightly better locality
while using less code.

Also less awkward when the package doesn't fit the narrow package list
expectations.

The ws_find_package() macro doesn't include all the status messages. The
choice was to rely on standard find_package() and feature_summary() output
and be less verbose.

Avoid polluting the CLI build interface. Per target include paths and
macro definitions are preferred.

Because this patch intentionally removes the global CMAKE_*_FLAGS
and include_directories() usage in favor of target properties, some
untested build configurations may inadvertently break because of
missing ${PACKAGE}_INCLUDE_DIRS or ${PACKAGE}_DEFINITIONS. This
required a manual review of dependencies that might have been
incomplete.

${PACKAGE_VAR}_LINK_FLAGS seems to be unused.

Changing the CMake Qt code to use more modern CMake component syntax
is left as future work.

Change-Id: I3ed75252189a6e05a23ed6e619088f519cd7ed78
Reviewed-on: https://code.wireshark.org/review/31496
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-20 11:50:10 +00:00
..
crypt Fix some spelling errors found by Lintian. 2018-12-05 18:58:19 +00:00
dfilter dfilter: add string() function. 2019-01-14 16:00:29 +00:00
dissectors [Automatic update for 2019-01-20] 2019-01-20 08:30:30 +00:00
ftypes ftype: rework val_from_unparsed to avoid double free. 2019-01-12 23:39:54 +00:00
wmem Install development headers on all platforms 2018-11-24 13:48:16 +00:00
wslua Clarify the name and description for a link-layer encapsulation type. 2019-01-09 21:21:56 +00:00
.editorconfig
CMakeLists.txt CMake: Replace PACKAGELIST magic 2019-01-20 11:50:10 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c Update tooltip for "Resolve network (IP) addresses" 2019-01-18 01:06:19 +00:00
addr_resolv.h addr_resolv: function to convert an eth address into raw bytes 2018-10-15 05:15:57 +00:00
address.h Make AT_VINES a built-in type 2018-08-29 19:36:43 +00:00
address_types.c Make AT_VINES a built-in type 2018-08-29 19:36:43 +00:00
address_types.h
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c
app_mem_usage.h
arcnet_pids.h
arptypes.h Move the Linux ARPHRD_ types to epan/arptypes.h. 2018-11-13 06:18:22 +00:00
asn1.c
asn1.h IEEE1609dot2: generate automatically dissector from ASN.1 description 2018-10-30 15:33:44 +00:00
ax25_pids.h
bridged_pids.h
capture_dissectors.c Fix the type of the packet buffer argument to a capture dissector. 2018-09-30 21:25:22 +00:00
capture_dissectors.h Fix the type of the packet buffer argument to a capture dissector. 2018-09-30 21:25:22 +00:00
charsets.c epan: Add a boundary check to get_t61_string. 2019-01-08 00:32:45 +00:00
charsets.h add encoding windows 1251, cp855, cp866 2019-01-04 23:37:17 +00:00
chdlctypes.h
color_filters.c epan: remove return from functions returning void. 2019-01-04 05:07:58 +00:00
color_filters.h Qt: Add back pathLabel in some dialogs 2018-10-10 04:46:28 +00:00
column-info.h
column-utils.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
column-utils.h
column.c Sort our column descriptions. 2018-06-27 23:40:05 +00:00
column.h
conv_id.h
conversation.c Re-balance DINDENT/DENDENT macros in conversation.c. 2018-12-01 14:53:42 +00:00
conversation.h Revert "Have find_or_create_conversation() use pinfo->conv_endpoint if present." 2018-08-01 02:55:18 +00:00
conversation_debug.h
conversation_table.c Get rid of a GTK+-only field. 2018-05-16 08:16:15 +00:00
conversation_table.h Get rid of a GTK+-only field. 2018-05-16 08:16:15 +00:00
crc6-tvb.c CRC6: Fixed CRC lookup table and functions 2019-01-04 06:04:07 +00:00
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c
crc32-tvb.h
decode_as.c
decode_as.h
diam_dict.h
diam_dict.l diam_dict.l,wimaxasncp_dict.l: fix -Werror=stringop-truncation 2019-01-19 07:08:43 +00:00
disabled_protos.c Try to discourage the use of APIs via counting. 2018-09-19 16:07:03 +00:00
disabled_protos.h
dissector_filters.c
dissector_filters.h
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l
dtd_preparse.l
dvb_chartbl.c
dvb_chartbl.h
eap.h
eapol_keydes_types.h
epan.c Add support for RSA decryption using PKCS #11 tokens 2018-12-29 10:40:16 +00:00
epan.h epan: Add argument to epan_init() to disable plugins 2018-09-09 02:27:34 +00:00
epan_dissect.h
etypes.h GeoNetworking: Add ethertype 0x8947 2018-12-13 09:41:23 +00:00
ex-opt.c
ex-opt.h
except.c except: detect exception stack corruption 2018-10-10 04:08:17 +00:00
except.h
exceptions.h
exntest.c exntest: fix no previous prototype for ‘run_tests’ [-Wmissing-prototypes] 2018-09-06 04:13:40 +00:00
expert.c expert: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang 2018-06-18 08:30:59 +00:00
expert.h
export_object.c
export_object.h Limit the maximum *file* name length for exported objects. 2019-01-01 21:36:58 +00:00
exported_pdu.c export_pdu.c: Fix a memory leak 2018-08-14 11:47:29 +00:00
exported_pdu.h
filter_expressions.c
filter_expressions.h
follow.c Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
follow.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
frame_data.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
frame_data.h Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
frame_data_sequence.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
frame_data_sequence.h
funnel.c
funnel.h
garrayfix.h
golay.c
golay.h
guid-utils.c
guid-utils.h
iana_charsets.c
iana_charsets.h
iax2_codec_type.h IAX: Improve decoding of IAX2 codec details 2018-10-27 06:52:37 +00:00
in_cksum.c
in_cksum.h
ip_opts.h
ipproto.c
ipproto.h Fix some spelling errors found by Lintian. 2018-12-05 18:58:19 +00:00
ipv4.h
ipv6.h
lapd_sapi.h
llcsaps.h
maxmind_db.c maxmind_db: Close our pipe FDs inside a lock. 2019-01-05 06:46:20 +00:00
maxmind_db.h
media_params.c
media_params.h
next_tvb.c
next_tvb.h
nlpid.h
oids.c Free g_array_free-related memory leaks 2018-05-14 13:44:23 +00:00
oids.h
oids_test.c
osi-utils.c Fix incorrect formatting of NSAP area addresses/address prefixes. 2018-05-27 18:56:41 +00:00
osi-utils.h Fix incorrect formatting of NSAP area addresses/address prefixes. 2018-05-27 18:56:41 +00:00
oui.h Add Apple Wireless Direct Link (AWDL) dissector 2018-11-29 22:12:42 +00:00
packet.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
packet.h packet.h: fix wrong parameter doc for register_dissector_table_alias 2018-09-15 10:25:40 +00:00
packet_info.h
params.h
plugin_if.c plugin_if: fix small memory leak in ext_menubar_add_separator 2018-05-05 05:57:25 +00:00
plugin_if.h
ppptypes.h
prefs-int.h
prefs.c Remove a no-longer-needed DIAG_OFF/DIAG_ON pair. 2019-01-04 02:28:19 +00:00
prefs.h Add ability to disable autocomplete suggestions for filter controls. 2018-10-22 04:45:59 +00:00
print.c epan: use json_dumper for json outputs. 2019-01-03 14:33:48 +00:00
print.h epan: use json_dumper for json outputs. 2019-01-03 14:33:48 +00:00
print.ps
print_stream.c
print_stream.h
proto.c proto: ensure valid width through assert. 2019-01-13 07:12:43 +00:00
proto.h proto.h: fix indentation and add modeline. 2019-01-13 07:12:31 +00:00
proto_data.c
proto_data.h
ps.h
ptvcursor.h
radius_dict.l Free g_array_free-related memory leaks 2018-05-14 13:44:23 +00:00
range.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
range.h
reassemble.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
reassemble.h tcp: add support for reassembling out-of-order segments 2018-06-28 06:10:35 +00:00
reassemble_test.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
reedsolomon.c
reedsolomon.h
register-int.h epan: Remove unnecessary all protocols registration callback 2018-08-29 23:22:44 +00:00
register.c register(epan): fix no previous prototype for function 'register_all_protocols/register_all_protocol_handoffs/register_count' [-Wmissing-prototypes] 2018-09-05 04:10:07 +00:00
register.h epan: Remove unnecessary all protocols registration callback 2018-08-29 23:22:44 +00:00
req_resp_hdrs.c HTTP: ignore large Content-Length values 2018-08-13 07:57:21 +00:00
req_resp_hdrs.h
rtd_table.c Get rid of some GTK+-only stuff. 2018-05-12 23:01:14 +00:00
rtd_table.h Get rid of some GTK+-only stuff. 2018-05-12 23:01:14 +00:00
rtp_pt.h
sctpppids.h E1AP: add dissector based on v15.0.0 2018-07-06 13:40:50 +00:00
secrets.c Add support for RSA decryption using PKCS #11 tokens 2018-12-29 10:40:16 +00:00
secrets.h Add new "rsa_keys" UAT for storage of RSA private keys 2018-12-13 05:28:02 +00:00
sequence_analysis.c VOIP: Always use frame number when hashing sequence analysis. 2018-12-15 07:41:03 +00:00
sequence_analysis.h
show_exception.c Try to discourage the use of APIs via counting. 2018-09-19 16:07:03 +00:00
show_exception.h
slow_protocol_subtypes.h
sminmpec.h
srt_table.c Get rid of some GTK+-only stuff. 2018-05-13 19:46:45 +00:00
srt_table.h Get rid of some GTK+-only stuff. 2018-05-13 19:46:45 +00:00
stat_groups.h
stat_tap_ui.c Do not modify optarg with -zfollow,ssl,ascii,0 2018-10-05 13:19:32 +00:00
stat_tap_ui.h Do not modify optarg with -zfollow,ssl,ascii,0 2018-10-05 13:19:32 +00:00
stats_tree.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
stats_tree.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
stats_tree_priv.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
stream.c
stream.h
strutil.c epan: remove return from functions returning void. 2019-01-04 05:07:58 +00:00
strutil.h
t35.c
t35.h
tap-voip.h
tap.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
tap.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
tfs.c ISIS: Add Prefix Attribute Flags TLV (rfc7794) 2018-12-19 06:11:50 +00:00
tfs.h ISIS: Add Prefix Attribute Flags TLV (rfc7794) 2018-12-19 06:11:50 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c
timestats.h
to_str-int.h
to_str.c to_str: Fixed incorrect order of checks in bytestring_to_str. 2018-10-30 12:47:19 +00:00
to_str.h
tvbparse.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
tvbparse.h
tvbtest.c tvb: gracefully handle reading 0 bytes from an empty buffer 2018-09-27 04:32:54 +00:00
tvbuff-int.h
tvbuff.c add encoding windows 1251, cp855, cp866 2019-01-04 23:37:17 +00:00
tvbuff.h Add tvb_get_token_len 2018-12-09 07:17:21 +00:00
tvbuff_base64.c epan: Use g_base64_decode_inplace() 2018-09-03 04:05:13 +00:00
tvbuff_composite.c tvbuff_composite: fix buffer overflow due to wrong offset adjustment 2018-10-12 05:07:08 +00:00
tvbuff_real.c
tvbuff_subset.c tvbuff_subset.c: handle a reported_length set to -1 in tvb_new_subset_length() 2018-09-05 19:54:34 +00:00
tvbuff_zlib.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
uat-int.h
uat.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
uat.h Separate signed and unsigned decimal UAT fields. 2018-10-20 21:03:51 +00:00
uat_load.l Qt: Add copy from another profile in UAT dialogs 2018-10-05 12:38:32 +00:00
unit_strings.c Bluetooth: ATT: Implement one FTMS/FTMP characteristic: Machine Status 2018-10-06 12:08:01 +00:00
unit_strings.h Bluetooth: ATT: Implement one FTMS/FTMP characteristic: Machine Status 2018-10-06 12:08:01 +00:00
value_string.c Add support for extended 64 bit value to string matching 2018-10-27 05:34:59 +00:00
value_string.h Add support for extended 64 bit value to string matching 2018-10-27 05:34:59 +00:00
x264_prt_id.h
xdlc.c Fix the type of the packet data argument to get_xdlc_control(). 2018-09-30 21:28:18 +00:00
xdlc.h Fix the type of the packet data argument to get_xdlc_control(). 2018-09-30 21:28:18 +00:00