summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* Utilities/Release: Select MSVC runtime library via abstractionBrad King2019-08-232-4/+2
| | | | | Use the `CMAKE_MSVC_RUNTIME_LIBRARY` abstraction added by CMake 3.15 instead of hard-coding the `-MT` flag.
* Configure CMake itself with policies through CMake 3.15Brad King2019-08-233-8/+14
| | | | | | In particular, set `CMP0091` to `NEW` to enable the MSVC runtime library abstraction so it can be set via `CMAKE_MSVC_RUNTIME_LIBRARY` in the cache.
* CMakeVersion: Move computation logic to main scriptBrad King2019-07-292-2/+2
|
* OpenSSL: Issue an error if OpenSSL is not foundKyle Edwards2019-07-181-1/+6
| | | | | | | | | | | | | | When building with the built-in Curl, CMAKE_USE_OPENSSL is only set to ON by default if an OpenSSL installation is detected. However, this can cause the user to mistakenly build without OpenSSL support if OpenSSL is not installed, because CMAKE_USE_OPENSSL is set to OFF in that case. Always set CMAKE_USE_OPENSSL to ON by default on systems where it could be available, skipping the initial detection, resulting in an error when we try to use OpenSSL later on. Detect this error and advise the user to either install OpenSSL or set CMAKE_USE_OPENSSL to OFF. Co-Authored-by: Brad King <brad.king@kitware.com>
* CMake.qch: Don't include the version in the file nameCraig Scott2019-07-173-12/+2
| | | Fixes: #19374
* Introduce memory management helper: cm_memory.hxxMarc Chevrier2019-07-141-0/+2
|
* Utilities/Release: Replace batch scripts with individual scriptsBrad King2019-07-111-30/+14
| | | | Provide a more granular per-platform workflow.
* IWYU: Fix handling of <memory> standard headerBrad King2019-07-101-2/+9
| | | | | | | | An old workaround for `std::allocator_traits<>::value_type` lints from IWYU on `std::vector<>` usage breaks IWYU's handling of `<memory>`. Convert the workaround to use the same approach we already use for a workaround of `std::__decay_and_strip<>::::__type` lints. Then update the `<memory>` inclusions to follow the now-correct IWYU lints.
* Merge topic 'elseif'Brad King2019-07-101-1/+1
|\ | | | | | | | | | | | | | | | | f4ed56ab63 Fix elseif() in place of else() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !3515
| * Fix elseif() in place of else()Artalus2019-07-031-1/+1
| |
* | Merge topic 'update-expat'Brad King2019-07-0224-1570/+2056
|\ \ | |/ |/| | | | | | | | | | | | | 0998f6396a Merge branch 'upstream-expat' into update-expat ba13dc2aa8 expat 2019-06-19 (d3b78b42) 7449c63f3e expat: Update script to get Expat 2.2.7 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3501
| * Merge branch 'upstream-expat' into update-expatBrad King2019-07-0123-1569/+2055
| | | | | | | | | | * upstream-expat: expat 2019-06-19 (d3b78b42)
| * expat: Update script to get Expat 2.2.7Brad King2019-07-011-1/+1
| |
* | libuv: fix compilation with macOS 10.10 SDKBrad King2019-06-191-1/+1
| | | | | | | | | | | | The `F_BARRIERFSYNC` constant was not added until the macOS 10.11 SDK. Hard-code its value instead. This approach is backported from upstream libuv PR 2334.
* | libuv: Add uv__statx() stub to cmake-bootstrap.cKyle Edwards2019-06-181-0/+9
| |
* | Merge branch 'upstream-libuv' into update-libuvBrad King2019-06-1847-356/+1847
|/ | | | | * upstream-libuv: libuv 2019-06-10 (ee24ce90)
* Fixing warnings generated by clang 8.0 on WindowsZsolt Parragi2019-05-291-6/+4
| | | | | | | | | | | | * Deprecation removals previously specific to MSVC/Intel now also used by clang * String literals were assigned to non const pointers. These are stored in mutable arrays now * An implicit function pointer to pointer conversion is a Microsoft extension warning is suppressed by an explicit reinterpret_cast * The MSVC specific deprecation macro for jsoncpp was moved after the clang macro to avoid redefinition warnings. This is consistent with how jsoncpp fixed the issue in 36d8cfd7
* Merge topic 'rel-push'Brad King2019-05-282-39/+70
|\ | | | | | | | | | | | | | | 9bf97363b0 Utilities/Release: Replace upload step with a "push" script 3a0ab3ba23 Utilities/Release: Teach upload script to compute version automatically Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3370
| * Utilities/Release: Replace upload step with a "push" scriptBrad King2019-05-242-40/+70
| | | | | | | | | | | | | | | | Replace the `upload_release.cmake` script with a `push.bash` script that is more configurable from the command line and that does not hard-code any destinations. Instead of using `scp` to access `cmake.org` directly, push the files atomically to a staging directory from which another process will actually upload them.
| * Utilities/Release: Teach upload script to compute version automaticallyBrad King2019-05-241-1/+2
| | | | | | | | Read the version from `Source/CMakeVersion.cmake` instead of repeating it.
* | curl: Update build within CMake to account for 7.65 changesBrad King2019-05-221-2/+5
| |
* | Merge branch 'upstream-curl' into update-curlBrad King2019-05-22171-5993/+6565
| | | | | | | | | | * upstream-curl: curl 2019-05-22 (885ce314)
* | curl: Update script to get curl 7.65.0Brad King2019-05-221-1/+1
|/
* Merge topic 'libarchive-solaris-11.4'Brad King2019-05-221-5/+5
|\ | | | | | | | | | | | | 6c81c6538b libarchive: avoid b64_encode name conflict with Solaris built-in function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3351
| * libarchive: avoid b64_encode name conflict with Solaris built-in functionBrad King2019-05-211-5/+5
| | | | | | | | | | | | | | Solaris 11.4 has a built-in function named `b64_encode`. Add a `la_` prefix to our internal function to avoid conflict. Fixes: #19268
| * Merge branch 'wix-cmake-downgrade-fix' into release-3.14Brad King2019-03-121-0/+2
| |\ | | | | | | | | | Merge-request: !3087
* | | Utilities/Release: Enable signing of Windows release binariesBrad King2019-05-085-1/+11
| | |
* | | Configure CMake itself with policies through CMake 3.14Brad King2019-05-082-2/+2
| | | | | | | | | | | | | | | In particular, set `CMP0082` to `NEW` to interleave install commands in the top-level directory with subdirectory installations.
* | | Merge topic 'argument-parser'Brad King2019-04-091-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Introduce cmArgumentParserRegina Pfeifer2019-04-041-0/+1
| | | |
* | | | Utilities/Release: Link statically to QWindowsVistaStyle pluginmistersandman2019-04-082-0/+2
|/ / / | | | | | | | | | | | | | | | | | | We now build with Qt 5.12. This plugin is needed with Qt >= 5.10. Fixes: #19147 Suggested-by: mistersandman on gitlab.kitware.com
* | | update-third-party: update from upstreamBrad King2019-03-211-4/+20
| | | | | | | | | | | | | | | | | | Update to `update-common.sh` from commit 958a2cd1b9 in https://gitlab.kitware.com/utils/git-import-third-party
* | | Merge topic 'import-zstd'Brad King2019-03-181-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 80af3ddea7 zstd: Disable BMI2 instructions for build within CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3107
| * | | zstd: Disable BMI2 instructions for build within CMakeBrad King2019-03-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge topic 'import-zstd'Brad King2019-03-1469-7/+31212
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | CMake: Enable use of zstd in libarchiveBrad King2019-03-136-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | zstd: Add CMake build systemBrad King2019-03-131-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Merge branch 'upstream-zstd' into import-zstdBrad King2019-03-1361-0/+31112
| | | | | | | | | | | | | | | | | | | | * upstream-zstd: zstd 2018-12-27 (470344d3)
| * | | zstd: add script to import zstd from upstreamBrad King2019-03-131-0/+36
| | | |
* | | | Merge topic 'wix-cmake-downgrade-fix'Brad King2019-03-131-0/+2
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | 7593bdf4e8 CMake: Fix WiX installer downgrades with versioned binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3087
| * | CMake: Fix WiX installer downgrades with versioned binariesNils Gladitz2019-03-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Utilities/Release: Update to Qt 5.12 on Windows buildsBrad King2019-03-082-4/+12
| | |
* | | Utilities/Release: Update for using Windows 10 SDKBrad King2019-03-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge topic 'ctest-clean-compress'Brad King2019-02-275-2093/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b5a69c6279 cmcompress: Delete unused 3rdParty module Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3019
| * | | cmcompress: Delete unused 3rdParty moduleRegina Pfeifer2019-02-255-2093/+0
| | |/ | |/|
* | | jsoncpp: Fix include order for build within CMakeBrad King2019-02-251-3/+4
| | | | | | | | | | | | | | | Include the KWSys `Configure.h` header first to get its large file support definitions before including system headers.
* | | libuv: fix atomic ops compilation with xlclangBrad King2019-02-251-2/+2
| | |
* | | Utilities: Suppress warnings in third-party code when using XLClangBrad King2019-02-258-8/+8
| | |
* | | Remove now-unused code once used for MIPSpro on IRIXBrad King2019-02-218-8/+8
|/ / | | | | | | | | | | 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.
* | CMake 3.14.0-rc1 version updateBrad King2019-02-061-1/+1
| |