Brad King
aa0692de67
Merge topic 'argument-parser'
...
b783e62533 cmExecuteProcessCommand: Port to cmArgumentParser
9bddb03f31 cmParseArgumentsCommand: Port to cmArgumentParser
45edf1ad66 Retire cmCommandArgumentsHelper
f5acecaa6f cmExportCommand: Port to cmArgumentParser
e6b6bb0618 cmInstallCommand: Port to cmArgumentParser
4336a29edd cmFileCommand: Port to cmArgumentParser
4359fe133b Introduce cmArgumentParser
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Leonid Pospelov <pospelovlm@yandex.ru>
Merge-request: !3137
2019-04-09 08:27:31 -04:00
mistersandman
18962f8f8f
Utilities/Release: Link statically to QWindowsVistaStyle plugin
...
We now build with Qt 5.12. This plugin is needed with Qt >= 5.10.
Fixes : #19147
Suggested-by: mistersandman on gitlab.kitware.com
2019-04-08 13:30:36 -04:00
Regina Pfeifer
4359fe133b
Introduce cmArgumentParser
2019-04-04 13:24:39 -04:00
Brad King
775c8b21da
update-third-party: update from upstream
...
Update to `update-common.sh` from commit 958a2cd1b9 in
https://gitlab.kitware.com/utils/git-import-third-party
2019-03-21 12:37:25 -04:00
Brad King
8d179cce87
Merge topic 'import-zstd'
...
80af3ddea7 zstd: Disable BMI2 instructions for build within CMake
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3107
2019-03-18 11:24:30 -04:00
Brad King
80af3ddea7
zstd: Disable BMI2 instructions for build within CMake
...
Our nightly and release binaries build in an environment that does not
support these instructions. Disable them everywhere for simplicity
because CMake's application of this library is not performance-critical.
2019-03-15 10:05:23 -04:00
Brad King
9915003eae
Merge topic 'import-zstd'
...
1761a9a546 CMake: Enable use of zstd in libarchive
2cf2921749 zstd: Add CMake build system
f92b4b52eb Merge branch 'upstream-zstd' into import-zstd
fbaf65639a zstd 2018-12-27 (470344d3)
9337cbfcca zstd: add script to import zstd from upstream
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Bartosz <gang65@poczta.onet.pl>
Merge-request: !3092
2019-03-14 11:08:43 -04:00
Brad King
1761a9a546
CMake: Enable use of zstd in libarchive
...
Build zstd as part of CMake or find one on the system. Modify our
port of libarchive to use the zstd configured for use with CMake.
Issue: #18657
2019-03-13 10:47:21 -04:00
Brad King
2cf2921749
zstd: Add CMake build system
...
Although the upstream has a CMake build system, it is meant for the
complete package. Add a simple one to build just the static library
we need within CMake.
2019-03-13 10:47:16 -04:00
Brad King
f92b4b52eb
Merge branch 'upstream-zstd' into import-zstd
...
* upstream-zstd:
zstd 2018-12-27 (470344d3)
2019-03-13 10:46:32 -04:00
Brad King
9337cbfcca
zstd: add script to import zstd from upstream
2019-03-13 10:46:14 -04:00
Brad King
d7c4a8ab81
Merge topic 'wix-cmake-downgrade-fix'
...
7593bdf4e8 CMake: Fix WiX installer downgrades with versioned binaries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3087
2019-03-13 10:08:03 -04:00
Nils Gladitz
7593bdf4e8
CMake: Fix WiX installer downgrades with versioned binaries
...
Since commit 5b9da05b7a (Windows: Embed version information into CMake
binaries, 2017-10-25, v3.11.0-rc1~411^2) our binaries have version
information that prevents a `.msi` downgrade from replacing them by
default. Configure the re-install mode:
* a: reinstall all files regardless of version
* m: rewrite all per-machine registry entries
* u: rewrite all per-user registry entries
* s: reinstall shortcuts and icons
Fixes : #19006
2019-03-12 09:39:35 -04:00
Brad King
adba2945b3
Utilities/Release: Update to Qt 5.12 on Windows builds
2019-03-08 07:23:55 -05:00
Brad King
58426958ab
Utilities/Release: Update for using Windows 10 SDK
...
In commit e903a9fc55 (Utilities/Release: Create a Windows 64-bit binary,
2016-03-16, v3.6.0-rc1~235^2~2) we added a `_USING_V110_SDK71_` macro to
tell the MSVC standard library headers they were using an older SDK.
The environment in which our Windows binaries are produced has been
updated to use a Windows 10 SDK now that we do not need to support
WinXP, so we can drop the definition.
2019-03-08 07:23:55 -05:00
Brad King
23bcac5d58
Merge topic 'ctest-clean-compress'
...
b5a69c6279 cmcompress: Delete unused 3rdParty module
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3019
2019-02-27 08:20:03 -05:00
Brad King
d9d285c5ad
jsoncpp: Fix include order for build within CMake
...
Include the KWSys `Configure.h` header first to get its large file
support definitions before including system headers.
2019-02-25 08:26:20 -05:00
Brad King
0d489fab19
libuv: fix atomic ops compilation with xlclang
2019-02-25 08:26:20 -05:00
Brad King
1699f5c231
Utilities: Suppress warnings in third-party code when using XLClang
2019-02-25 08:26:17 -05:00
Regina Pfeifer
b5a69c6279
cmcompress: Delete unused 3rdParty module
2019-02-25 09:36:27 +01:00
Brad King
214fcefa52
Remove now-unused code once used for MIPSpro on IRIX
...
In commit beb991110d (Remove now-unused code once used on IRIX,
2019-01-11, v3.14.0-rc1~167^2) we removed remnants of IRIX support.
Also remove remnants of MIPSpro compiler support.
2019-02-21 11:12:51 -05:00
Brad King
bf1c2a2593
CMake 3.14.0-rc1 version update
2019-02-06 10:08:35 -05:00
Brad King
748d024551
Merge topic 'fetchcontent-reduce-boilerplate'
...
a94355c7b7 FetchContent: Add new command FetchContent_MakeAvailable()
611d5274de Sphinx: Add limited support for nested variables in docs
1a07e1b47d FetchContent: Trivial doc corrections
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2830
2019-01-30 08:13:42 -05:00
Craig Scott
611d5274de
Sphinx: Add limited support for nested variables in docs
...
This is needed to allow example code to contain content like
`${some_${foo}_bar}`.
2019-01-26 16:49:15 +11:00
Lucy Phipps
b9e6d04558
Reduce size of PNG images
...
Use FileOptimizer 13.50.2431 (x86) and ZopfliPNG 1.0.2.
Update expected file hashes in tests.
2019-01-25 09:14:51 -05:00
Brad King
5b3af28e45
libuv: Update CMake-internal buildsystem
2019-01-17 11:29:44 -05:00
Brad King
1136275ae1
libuv: Include uv/ headers from each other without any path
...
Headers in `uv/` can include each other without the `uv/` prefix. Using
the prefix assumes that the location of `uv/` is in the include file
search path, but it is possible to include `uv.h` via a longer path.
2019-01-17 10:27:14 -05:00
Brad King
1e1209729b
Merge branch 'upstream-libuv' into update-libuv
...
* upstream-libuv:
libuv 2019-01-15 (f84c5e69)
2019-01-17 10:26:32 -05:00
Brad King
88b90fb1ff
Merge topic 'rel-win7'
...
214a0bc924 Utilities/Release: Build for Windows 7 and above
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2807
2019-01-15 13:18:04 -05:00
Brad King
e01d04b3a1
Merge topic 'curl-IPv6'
...
971d490e5b curl: do not disable IPv6 support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2762
2019-01-15 13:13:17 -05:00
Brad King
d4a42dd4a8
Merge topic 'iwyu-clang-6'
...
cd0881be61 IWYU: Update CMake code for IWYU built with Clang 6
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2810
2019-01-15 11:38:24 -05:00
Brad King
cd0881be61
IWYU: Update CMake code for IWYU built with Clang 6
...
IWYU now correctly requires `<utility>` for `std::move`. It also
requires a container header when used via a range-based for loop.
2019-01-15 10:00:50 -05:00
Brad King
214a0bc924
Utilities/Release: Build for Windows 7 and above
...
Drop support for Windows XP and Windows Vista. Upstream libuv has
done this, and since that is a dependency of ours we will soon
need to do so also.
2019-01-14 14:17:01 -05:00
Kyle Edwards
bf2503089b
liblzma: fix undefined shift result
...
When a 32-bit integer is shifted left by 32 bits, the result is
undefined. Shift a 64-bit integer instead.
2019-01-14 09:53:12 -05:00
Kyle Edwards
ee555c2a33
libuv: fix clang scan-build warning
2019-01-14 09:53:12 -05:00
Rechi Rechi
971d490e5b
curl: do not disable IPv6 support
...
Allow curl's detection of IPv6 to proceed when building in CMake.
2019-01-10 13:54:25 -05:00
Robert Maynard
db89590f36
Help: CMakeTemplateStyle uses colors that better contrast.
2019-01-09 15:53:26 -05:00
Brad King
dc90cd6877
Merge topic 'fileapi'
...
b9c6f08276 Help: Add release note for fileapi feature
4b6b2a571c fileapi: extend codemodel v2 with directory details
eb8c7676a4 fileapi: extend codemodel v2 with a project model
42f0125ceb fileapi: Add test for cmakeFiles v1
6615408193 fileapi: add cmakeFiles v1
3f6ee75a66 fileapi: Add test for cache v2
7489e95b8e fileapi: add cache v2
ea0a060168 fileapi: Add test for codemodel v2
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2706
2018-12-13 09:57:59 -05:00
Brad King
3e922ceb5e
fileapi: add codemodel v2
...
Start with v2 to distinguish it from server-mode v1.
Issue: #18398
2018-12-12 06:40:10 -05:00
Brad King
5751a09092
jsoncpp: fix signed overflow when parsing negative value
...
Clang's ubsan (-fsanitize=undefined) reports:
runtime error: negation of -9223372036854775808 cannot be represented in
type 'Json::Value::LargestInt' (aka 'long'); cast to an unsigned type to
negate this value to itself
Follow its advice and update the code to remove the explicit negation.
2018-12-11 12:50:21 -05:00
Regina Pfeifer
c2f6872c4e
CTest: Remove submit method 'xmlrpc'
2018-11-29 00:29:12 +01:00
Brad King
9bb203ed0f
Merge topic 'FindBoost-1.69'
...
5045cd82d0 FindBoost: Additional fixes for 1.69
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2601
2018-11-13 10:38:54 -05:00
Roger Leigh
5045cd82d0
FindBoost: Additional fixes for 1.69
2018-11-13 10:37:01 -05:00
Brad King
b83420e45d
Merge topic 'update-curl'
...
c1ad5118de curl: backport upstream fix to 7.62.0 regression
03bf934fbe curl: Modernize tiny test code used for build inside CMake
2b3c1bb9b0 curl: Update build within CMake to account for 7.62 changes
636bcefeab Merge branch 'upstream-curl' into update-curl
9835e90750 curl 2018-10-30 (19667715)
9c6574795c curl: Update script to get curl 7.62.0
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2550
2018-11-05 07:43:41 -05:00
Brad King
c1ad5118de
curl: backport upstream fix to 7.62.0 regression
...
Backport upstream curl commit 2c5ec339ea (Curl_follow: accept
non-supported schemes for "fake" redirects, 2018-11-01) to get
a fix to curl issue 3210, a regression in 7.62.0.
2018-11-02 08:14:12 -04:00
Brad King
03bf934fbe
curl: Modernize tiny test code used for build inside CMake
...
Drop unused code. Report the error message on failure.
Format the source file using clang-format.
2018-11-01 08:55:50 -04:00
Brad King
2b3c1bb9b0
curl: Update build within CMake to account for 7.62 changes
2018-10-31 09:50:04 -04:00
Brad King
636bcefeab
Merge branch 'upstream-curl' into update-curl
...
* upstream-curl:
curl 2018-10-30 (19667715)
2018-10-31 09:46:23 -04:00
Brad King
9c6574795c
curl: Update script to get curl 7.62.0
2018-10-31 09:40:47 -04:00
Brad King
53e65e8e0a
curl: Do not call cmake_minimum_required inside CMake itself
...
Re-use the requirements from the top-level.
2018-10-25 11:49:59 -04:00