wireshark/tools
Peter Wu 4c1690ac47 CMake: require at least CMake 3.5
CMake 3.11 with the Ninja generator started complaining about CMP0058
related to ui/qt/CMakeFiles/qtui_autogen.dir/RCCstock_iconsInfo.cmake
amd other files (AUTORCC). While the policy could be set explicitly,
let's try to modernize the CMake configuration:

- Drop CMP0042, if this gives issues with macOS, then it must be solved
  in a different way using non-deprecated methods.
- Drop CMP0054 and ensure that all if("${foo}") and if(${foo}) are
  converted to if(foo).
- Remove string comparison against "-NOTFOUND", it already evaluates to
  false in an if condition.
- Use CXX_STANDARD/CXX_STANDARD_REQUIRED for Qt 5.7 and newer.
- Assume that copy_if_different can accept multiple sources (CMake 3.5).
- Consistency: Out of the 60 CMake 3.11 FindXxx.cmake files that use
  find_library, 34 contain "XXX_LIBRAR" while 16 contain "Xxx_LIBRAR".
  Let's assume uppercase variables (now custom MaxMindDB include dirs
  are correctly used).

CMake 3.5 was chosen as the next version because of its wide support.
Ubuntu 14.04 ships with cmake3 3.5.1, Debian jessie-backports has 3.6.2,
EPEL for CentOS/RHEL6 includes cmake3 3.6.1 and SLES12 SP2 has 3.5.

Change-Id: I2fa7b94bf8cc78411f414987d17bab3a33dfb360
Reviewed-on: https://code.wireshark.org/review/27444
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-05-15 10:28:09 +00:00
..
cppcheck tools/cppcheck/cppcheck.sh: improve script; add new option: colorize html output 2018-04-24 03:51:17 +00:00
json2pcap More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
lemon Remove autotools build system. 2018-04-18 03:46:17 +00:00
npl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
oss-fuzzshark Don't use dladdr() to get a pathname for the current executable(). 2018-05-05 08:06:35 +00:00
pidl spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
Get-HardenFlags.ps1 More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
SkinnyProtocolOptimized.xml [skinny]: minor changes to xml file 2017-08-21 15:28:02 +00:00
WiresharkXML.py spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
asn2deb Remove autotools build system. 2018-04-18 03:46:17 +00:00
asn2wrs.py spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
checkAPIs.pl Update some comments. 2018-05-14 07:04:03 +00:00
checkfiltername.pl F5ETHTRAILER: Initial cleanup from submission 2018-03-11 15:08:16 +00:00
checkhf.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
checklicenses.py spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
colorfilters2js.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
commit-msg spdx: more licenses converted. 2018-03-09 04:48:20 +00:00
compare-abis.sh Get rid of more .libs stuff. 2018-04-25 04:24:21 +00:00
compress-pngs.sh spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
convert-proto-tree-new.awk
convert_expert_add_info_format.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
convert_proto_tree_add_text.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
debian-nightly-package.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
debian-setup.sh CMake: require at least CMake 3.5 2018-05-15 10:28:09 +00:00
delete_includes.py More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
extract_asn1_from_spec.pl extract_asn1_from_spec.pl: fix parsing of END tag 2018-04-04 17:52:47 +00:00
fix-encoding-args.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
fixhf.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
fuzz-test.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
gen-bugnote spdx: more licenses converted. 2018-03-09 04:48:20 +00:00
generate-bacnet-vendors.py spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
generate-nl80211-fields.py More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
generate-sysdig-event.py More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
generate_authors.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
git-compare-abis.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
git-export-release.sh Add a destination directory flag to git-export-release. 2018-04-17 03:43:38 +00:00
html2text.py html2txt.py: replaced 2 occurences of '{}' with equal '{0}' because of CentOS 6.x+Python2.6.6 issues 2018-05-12 19:54:05 +00:00
idl2deb Remove autotools build system. 2018-04-18 03:46:17 +00:00
idl2wrs
indexcap.py More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
lex.py spdx: more licenses converted. 2018-03-09 04:48:20 +00:00
licensecheck.pl licensecheck: handle multiple licenses. 2018-03-09 11:50:15 +00:00
list_protos_in_cap.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
macos-setup-brew.sh tools: add missing packages to osx setup. 2018-05-13 20:04:50 +00:00
macos-setup.sh Give Ninja build instructions if we've installed Ninja. 2018-05-15 06:33:21 +00:00
make-manuf make-manuf: Fix a comment. 2017-10-29 18:25:31 +00:00
make-pixbuf-csource.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
make-plugin-reg.py L16_mono: Add L16 monaural codec plugin as functional example 2018-02-28 12:04:29 +00:00
make-services.py More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
make-sminmpec.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
make-tls-ct-logids.py TLS: append Log name for CT Log IDs 2017-03-10 02:38:14 +00:00
make-usb.py caputils/tools: more SPDX convertions. 2018-02-09 15:20:05 +00:00
make_charset_table.c
msnchat spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
msvc2015AdminDeployment.xml WSDG: Improve VS2015 chocolatey install 2017-11-17 12:56:52 +00:00
ncp2222.py spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
netscreen2dump.py spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
parse_xml2skinny_dissector.py More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
pkt-from-core.py More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
pre-commit Pre-commit: Don't force whitespace checks everywhere. 2018-01-04 21:32:27 +00:00
pre-commit-ignore.conf Transition from GeoIP Legacy to MaxMindDB. 2018-03-06 18:02:21 +00:00
pre-commit-ignore.py More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
process-x11-fields.pl Remove popcount in favor of ws_count_ones. 2018-03-13 17:18:01 +00:00
process-x11-xcb.pl Remove popcount in favor of ws_count_ones. 2018-03-13 17:18:01 +00:00
randpkt-test.sh randpkt-test: Fix our optstring 2016-10-05 18:35:44 +00:00
rdps.py more SPDX convertions. 2018-02-13 13:57:30 +00:00
release-update-debian-soversions.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
rpm_setup.sh tools: add missing optional packages in debian/rpm setup. 2018-05-03 14:24:34 +00:00
test-captures.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
test-common.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
textify.ps1 Force textify.ps1 to read files as UTF-8. 2018-05-02 04:06:30 +00:00
update-tx Qt: Translate files in subdirectories. 2018-01-21 20:16:58 +00:00
usb-ptp-extract-models.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
usb-ptp-extract-models.txt
valgrind-wireshark.sh Remove some GTK+-only code. 2018-04-17 03:44:47 +00:00
validate-diameter-xml.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
vg-suppressions vg-suppressions: suppress more GLib-related memleaks 2018-04-24 21:12:49 +00:00
win-setup.ps1 Windows: Upgrade WinSparkle to 0.5.7. 2018-05-02 20:15:43 +00:00
wireshark_be.py spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
wireshark_gen.py spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
ws-coding-style.cfg We now support C++/C99-style comments. 2016-09-06 02:44:32 +00:00
yacc.py spdx: more licenses converted. 2018-03-09 04:48:20 +00:00