summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'update-expat' into release-3.16Brad King2019-11-1224-4843/+4037
|\ | | | | | | | | | | | | | | | | | | 50bc359184 expat: Update CMake build for 2.2.9 b63a5c88a2 Merge branch 'upstream-expat' into update-expat 1712885b4f expat 2019-09-25 (a7bc26b6) 512fabaa9d expat: Update script to get Expat 2.2.9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4032
| * expat: Update CMake build for 2.2.9Brad King2019-11-111-1/+0
| |
| * Merge branch 'upstream-expat' into update-expatBrad King2019-11-1122-4840/+4036
| | | | | | | | | | * upstream-expat: expat 2019-09-25 (a7bc26b6)
| * expat: Update script to get Expat 2.2.9Brad King2019-11-111-2/+1
| |
* | CTest: Rename "Processes" lexer to "ResourceGroups"Brad King2019-11-051-1/+1
|/ | | | | The corresponding test property `PROCESSES` has been renamed to `RESOURCE_GROUPS`.
* CTest: Add lexer for PROCESSES propertyKyle Edwards2019-10-021-0/+1
|
* Revise include order using clang-format-6.0Kitware Robot2019-10-012-5/+5
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* cm/algorithm: Provide function cm::clampRegina Pfeifer2019-09-251-0/+38
|
* Merge topic 'HP-UX_Port_GCC'Brad King2019-09-239-6/+70
|\ | | | | | | | | | | | | | | | | ba315f2035 bootstrap: Require GCC 4.9 or higher on HP-UX 5ffb2dbff6 libuv: Add partial port to HP-UX 1059f9a96d jsoncpp: Fix compilation on HP-UX 11.31 ia64 with GCC 4.9.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3508
| * libuv: Add partial port to HP-UXEarle Lowe2019-09-208-4/+67
| | | | | | | | | | Port enough of libuv to HP-UX 11.31 ia64 with GCC 4.9.3 to work for CMake.
| * jsoncpp: Fix compilation on HP-UX 11.31 ia64 with GCC 4.9.3Earle Lowe2019-09-201-2/+3
| | | | | | | | In particular, fix the `isfinite` definition.
* | cmstd: Extend header <cm/iterator>Marc Chevrier2019-09-201-0/+138
| |
* | cmstd: Modernize CMake system headersMarc Chevrier2019-09-2010-1/+1094
|/ | | | | | | | | | | | | | Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491
* Add compatibility with the cl.exe /permissive- compiler optionAlexej Harm2019-09-111-1/+2
|
* Merge topic 'docker-rel-linux'Brad King2019-08-302-2/+3
|\ | | | | | | | | | | | | 2c95c35c51 Utilities/Release: Add docker spec for STGZ package on Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3753
| * Utilities/Release: Add docker spec for STGZ package on LinuxBrad King2019-08-292-2/+3
| | | | | | | | | | | | | | The spec added by commit facc240a45 (Utilities/Release: Add docker specs to build and test Linux binaries, 2019-08-23) generates only the TGZ package, but the old `Utilities/Release/linux64_release.cmake` script also generated a STGZ package.
* | Merge topic 'precompile-headers'Brad King2019-08-291-0/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8da78d4efe Precompile headers: Update documentation 5772930164 Precompile headers: Add unit tests 519606704e Precompile headers: Add support for Visual Studio generators 28be170fbc Precompile headers: Add support for Xcode generator b8626261e9 Precompile headers: Add methods to generate PCH sources 375d01c680 PCH: add example/test 9b6797e71d PCH: add target_precompile_headers command 0467a2f91b PCH: add PRECOMPILE_HEADERS to special properties Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Acked-by: Ivan171 <heavenandhell171@gmail.com> Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com> Acked-by: Steve Mokris <smokris@softpixel.com> Acked-by: Evgeniy Dushistov <dushistov@mail.ru> Acked-by: Danila Malyutin <flashmozzg@gmail.com> Acked-by: Viktor Kirilov <vik.kirilov@gmail.com> Acked-by: Lucas Zhao <zhaopf6@163.com> Merge-request: !3553
| * Precompile headers: Add methods to generate PCH sourcesCristian Adam2019-08-281-0/+2
| | | | | | | | Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de>
* | Merge topic 'docker-rel-linux'Brad King2019-08-2916-75/+437
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | 689fdbfc61 Utilities/Release: Drop linux64 script in favor of docker build 2d7cfd30ac Utilities/Release: Drop source archive generation in scripts facc240a45 Utilities/Release: Add docker specs to build and test Linux binaries bf832ccf01 Utilities/Release: Add README.rst describing directory content ab153f17bf Utilities/Release: Drop machine-specific README ed294c1664 Add option to skip CMake tests that need network access 4b8a864d52 Add option to test CMake itself against its hosting CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Gregor Jasny <gjasny@googlemail.com> Merge-request: !3727
| * Utilities/Release: Drop linux64 script in favor of docker buildBrad King2019-08-282-56/+0
| | | | | | | | Drop also drop the CMakeNightlyLinux64 test that uses the script.
| * Utilities/Release: Drop source archive generation in scriptsBrad King2019-08-283-2/+3
| | | | | | | | | | We will generate the `.tar.gz` and `.zip` source archives using `git archive` in the scripts that drive the Linux build with Docker.
| * Utilities/Release: Add docker specs to build and test Linux binariesBrad King2019-08-2811-0/+408
| | | | | | | | | | These will allow anyone to produce portable binaries like those published on `cmake.org`.
| * Utilities/Release: Add README.rst describing directory contentBrad King2019-08-231-0/+27
| |
| * Utilities/Release: Drop machine-specific READMEBrad King2019-08-231-18/+0
| |
* | 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