summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
...
* Utilities/Release: Drop now-unused scriptsBrad King2020-09-175-414/+1
| | | | | | | | | | | | | | Since these commits: * commit ab2276e6b9 (Utilities/Release: remove old macOS release script, 2020-09-16) * commit 7670ba8b0a (Utilities/Release: Drop win{32,64} scripts in favor of docker build, 2020-05-05, v3.18.0-rc1~203^2) * commit 689fdbfc61 (Utilities/Release: Drop linux64 script in favor of docker build, 2019-08-27, v3.16.0-rc1~184^2) several scripts we once used for producing release binaries for distribution on `cmake.org` are no longer needed.
* Utilities/Release: remove old macOS release scriptBen Boeckel2020-09-162-36/+0
| | | | macOS releases are now made by GitLab-CI.
* Utilities: also support an already extracted doc treeBen Boeckel2020-09-161-0/+5
|
* Merge topic 'cm-optional-comparison'Kyle Edwards2020-09-081-0/+204
|\ | | | | | | | | | | | | | | 7e1304c6e6 cm::optional: Add comparison operators c854e9eba5 Refactor: Add ASSERT_TRUE() macro to testOptional.cxx Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5195
| * cm::optional: Add comparison operatorsKyle Edwards2020-09-071-0/+204
| |
* | cmCMakePath: Class for path handlingMarc Chevrier2020-09-062-3/+3
|/
* Utilities/Scripts: Remove temporary #pragma once conversion scriptKyle Edwards2020-09-032-94/+0
|
* Modernize: Use #pragma once in all header filesKitware Robot2020-09-0342-167/+42
| | | | | | | | | | | | | | | | #pragma once is a widely supported compiler pragma, even though it is not part of the C++ standard. Many of the issues keeping #pragma once from being standardized (distributed filesystems, build farms, hard links, etc.) do not apply to CMake - it is easy to build CMake on a single machine. CMake also does not install any header files which can be consumed by other projects (though cmCPluginAPI.h has been deliberately omitted from this conversion in case anyone is still using it.) Finally, #pragma once has been required to build CMake since at least August 2017 (7f29bbe6 enabled server mode unconditionally, which had been using #pragma once since September 2016 (b13d3e0d)). The fact that we now require C++11 filters out old compilers, and it is unlikely that there is a compiler which supports C++11 but does not support #pragma once.
* Utilities/Scripts: Add temporary #pragma once conversion scriptKyle Edwards2020-09-032-0/+94
|
* curl: Set build options the way we need for CMakeBrad King2020-08-191-1/+4
|
* Merge branch 'upstream-curl' into update-curlBrad King2020-08-1955-417/+940
| | | | | * upstream-curl: curl 2020-08-19 (9d954e49)
* curl: Update script to get curl 7.72.0Brad King2020-08-191-1/+1
|
* STL Support: Fix cm::filesystem warnings; check for '\' not multichar ' \'.Fred Baksik2020-07-241-1/+1
| | | | | | Utilities/std/cm/bits/fs_path.cxx:334:24: warning: multi-character character constant [-Wmultichar] || *ptr == ' \\' ^~~~~
* bootstrap: Fix libuv target platform conditions on macOSBrad King2020-07-221-0/+3
| | | | | | | | | In commit 714ce72882 (bootstrap: Make libuv available during bootstrap, 2017-09-13, v3.10.0-rc1~106^2) we modified libuv to use POSIX interfaces during bootstrap. However, some code still expects `TARGET_OS_IPHONE` to be defined on Apple platforms to either `0` or `1`. In order to offer this, include `<TargetConditionals.h>` on Apple platforms even when bootstrapping.
* STL Support: cm::filesystem::path: add support of CygwinMarc Chevrier2020-07-202-17/+59
|
* STL Support: Add cm::filesystem::path in <cm/filesystem>Marc Chevrier2020-07-094-1/+2166
|
* STL Support: introduce dedicated configuration fileMarc Chevrier2020-07-092-0/+12
|
* STL Support: Add function cm::quoted in <cm/iomanip>Marc Chevrier2020-07-091-0/+183
|
* Merge topic 'doc-versionadded'Brad King2020-07-071-0/+115
|\ | | | | | | | | | | | | | | | | | | 496ec6036f Help: Add Sphinx 'versionadded' directives to each top-level document 0c87afceab Help/dev: Add maintainer guide step for 'versionadded' documentation markup dbd453c2ff Utilities/Sphinx: Add script for inserting ".. versionadded" directive Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !4947
| * Utilities/Sphinx: Add script for inserting ".. versionadded" directiveNikita Nemkin2020-07-031-0/+115
| |
* | Implement cm::static_reference_cast by declvalSumit Bhardwaj2020-07-041-8/+9
| | | | | | | | | | | | | | | | Previously, cm::static_reference_cast used invoke_result_t and took the address of O::get. This is not in complete conformance with standard. This MR changes the implementation to use std::declval<O>.get() which is always well-defined.
* | Merge topic 'update-curl'Brad King2020-07-0240-219/+251
|\ \ | |/ |/| | | | | | | | | | | | | 6d423195d5 Merge branch 'upstream-curl' into update-curl 4446fda8e0 curl 2020-06-30 (5a1fc8d3) 4e9685f657 curl: Update script to get curl 7.71.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4958
| * Merge branch 'upstream-curl' into update-curlBrad King2020-07-0139-218/+250
| | | | | | | | | | * upstream-curl: curl 2020-06-30 (5a1fc8d3)
| * curl: Update script to get curl 7.71.1Brad King2020-07-011-1/+1
| |
* | Merge topic 'update-curl'Brad King2020-06-26173-4703/+8369
|\ \ | |/ | | | | | | | | | | | | | | | | e5ff413f41 curl: Set build options the way we need for CMake 0ef8fa5000 Merge branch 'upstream-curl' into update-curl 5717fdc114 curl 2020-06-23 (e9db32a0) 39f7cfad31 curl: Update script to get curl 7.71.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4937
| * curl: Set build options the way we need for CMakeBrad King2020-06-241-0/+6
| |
| * Merge branch 'upstream-curl' into update-curlBrad King2020-06-24172-4702/+8362
| | | | | | | | | | * upstream-curl: curl 2020-06-23 (e9db32a0)
| * curl: Update script to get curl 7.71.0Brad King2020-06-241-1/+1
| |
* | CTestConfig: allow nightly build submission using httpsRolf Eike Beer2020-06-091-1/+3
|/ | | | | The idea is that one may set `CTEST_DROP_METHOD` in custom CTest scripting.
* Merge topic 'reduce-try_compile'Brad King2020-06-055-40/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 9f3923893c libarchive: Map fixed-size integer types from KWIML as typedefs d20bf471c8 liblzma: Map fixed-size integer types from KWIML as typedefs 92c4316d81 KWSys: Hard-code try_compile results on Windows 2bc89f1a03 cmSystemTools: Hard-code try_compile results for Windows d350d4668a libarchive: Hard-code try_compile results for bundled dependencies bf60ac24ae Source: Assume elf.h does not exist on Windows f408cc2c40 expat: Remove unused try_compile checks 6c4f3dcd7b Utilities: Update hard-coded try_compile results for third-party libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4848
| * libarchive: Map fixed-size integer types from KWIML as typedefsBrad King2020-06-031-10/+10
| | | | | | | | | | | | | | | | | | Refactoring in commit ade3b16e63 (libarchive: Use KWIML to get fixed-size integer types, 2020-06-01) accidentally changed the method of defining `int#_t` types from `typedef` to `#define`. Change it back to `typedef`. Reported-by: Rolf Eike Beer <eike@sf-mail.de>
| * liblzma: Map fixed-size integer types from KWIML as typedefsBrad King2020-06-031-9/+9
| | | | | | | | | | | | | | | | | | Refactoring in commit 12e7bfcbf4 (liblzma: Use KWIML to get fixed-size integer types, 2020-05-25) accidentally changed the method of defining `int#_t` types from `typedef` to `#define`. Change it back to `typedef`. Reported-by: Rolf Eike Beer <eike@sf-mail.de>
| * expat: Remove unused try_compile checksBrad King2020-06-032-17/+0
| |
| * Utilities: Update hard-coded try_compile results for third-party librariesBrad King2020-06-031-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | The integer size checks have been replaced with KWIML so their hard-coded results are no longer needed. Tell `TEST_BIG_ENDIAN` to use `unsigned short` as the 16-bit integer. UNIX device APIs do not exist on Windows. FreeBSD libmd does not exist on Windows. Fix typo in existing `HAVE_READPASSPHRASE_H` setting.
* | gitlab-ci: add jobs for reproducing the release binariesBen Boeckel2020-06-031-0/+1
| |
* | Release/linux: remove explicit LANG settingBen Boeckel2020-06-031-1/+0
| | | | | | | | | | It shouldn't be needed anymore now that the Sphinx scripts are reading UTF-8 content explicitly.
* | Sphinx/create_identifiers: handle qhp contents as utf-8Ben Boeckel2020-06-031-4/+4
| |
* | Sphinx/create_identifiers: use `not in` not `not _ in`Ben Boeckel2020-06-031-1/+1
| |
* | Sphinx/create_identifiers: remove unused importBen Boeckel2020-06-031-1/+1
|/
* Merge topic 'libarchive-reduce-checks'Brad King2020-06-034-330/+56
|\ | | | | | | | | | | | | | | | | ade3b16e63 libarchive: Use KWIML to get fixed-size integer types 22c5b0c244 libarchive: Avoid configure-time checks for integer range constants a7e66cac16 libarchive: Drop unused code providing uintmax_t and intmax_t Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4839
| * libarchive: Use KWIML to get fixed-size integer typesBrad King2020-06-022-216/+41
| |
| * libarchive: Avoid configure-time checks for integer range constantsBrad King2020-06-014-101/+15
| |
| * libarchive: Drop unused code providing uintmax_t and intmax_tBrad King2020-06-012-13/+0
| | | | | | | | The libarchive library code we use within CMake does not need these.
* | curl: Use KWIML to get integer type sizesBrad King2020-06-022-19/+12
|/
* Hard-code some try_compile results for third-party librariesBrad King2020-05-271-0/+300
| | | | | | | | Our bundled third-party libraries perform many `try_compile` checks for compatibility with their upstream build systems. For many of the checks we already know the result for compilers we support for building CMake itself, especially on Windows. Hard-code known results to avoid running the checks.
* liblzma: Assume 'string.h' existsBrad King2020-05-251-1/+1
|
* liblzma: Use KWIML to get fixed-size integer typesBrad King2020-05-252-187/+25
|
* liblzma: Drop unused code providing uintmax_t and intmax_tBrad King2020-05-252-16/+0
| | | | The lzma library code we use within CMake does not need these.
* curl: Avoid checking 'send' and 'recv' signaturesBrad King2020-05-201-0/+17
| | | | | | | | | | | | | | cURL detects the `send` and `recv` signatures using a large loop of `try_compile` checks. The results are used for the following: * Casting argument types in calls to `send` and `recv`, perhaps to avoid conversion warnings. We compile with `-w` anyway. * Providing debug variants for `CURLDEBUG`, which we do not use. Replace the detection loops with hard-coded results that should work well enough everywhere. This significantly reduces the number of configure-time checks for building CMake on some platforms.
* Merge topic 'third-parties-layout'Brad King2020-05-0847-153/+140
|\ | | | | | | | | | | | | | | 2faa3f6c55 Refactoring: Third-parties public headers are under cm3p prefix 75e87e3db4 bootstrap: update list of problematic files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4705