summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* Utilities/Release: Add script to sign and package Windows binariesBrad King2022-05-191-0/+29
| | | | | | Windows binaries for official releases on `cmake.org` are signed manually by a maintainer with a suitable signing certificate. Add a script to sign the binaries, run CPack, and sign the installer.
* Utilities/Release: Add script to build Qt 5.12.1 Windows binariesBrad King2022-05-193-0/+150
| | | | | | | | These may be used to build CMake binaries for Windows `x86_64` and `i386`. Qt 5.12.1 supports Windows 7. Port the logic from `Utilities/Release/win/x86/deps/Dockerfile` and its helper scripts.
* Merge branch 'upstream-curl' into update-curlBrad King2022-05-1626-158/+290
| | | | | * upstream-curl: curl 2022-05-11 (462196e6)
* curl: Update script to get curl 7.83.1Brad King2022-05-161-1/+1
|
* stl containers: enhance compatibility with C++14, C++17 and C++20Marc Chevrier2022-05-0713-189/+338
| | | | | | * Ensure various functions working with containers are available through all headers as specified by the standard. * Add C++20 std::ssize() function.
* Merge topic 'update-curl'Brad King2022-05-03147-4573/+4738
|\ | | | | | | | | | | | | | | | | | | 30aba1ce8c Merge branch 'upstream-curl' into update-curl 2a9bc9ebf0 curl 2022-04-27 (1669b17d) 5239672e64 curl: Update script to get curl 7.83.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7219
| * Merge branch 'upstream-curl' into update-curlBrad King2022-04-28146-4572/+4737
| | | | | | | | | | * upstream-curl: curl 2022-04-27 (1669b17d)
| * curl: Update script to get curl 7.83.0Brad King2022-04-281-1/+1
| |
* | cm::enum_set: fix compilation warningMarc Chevrier2022-04-291-1/+5
| |
* | Merge topic 'doc-cmake.org-tutorial-archive'Brad King2022-04-292-6/+54
|\ \ | |/ |/| | | | | | | | | | | | | 4cb616fed6 Tutorial: Provide a source archive when published on cmake.org 37fb70591e Utilities/Sphinx: Add variables listing pre-sphinx commands eb7d913a21 Utilities/Sphinx: Clarify names of variables listing post-sphinx commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7215
| * Tutorial: Provide a source archive when published on cmake.orgBrad King2022-04-282-0/+46
| | | | | | | | | | | | | | | | | | Provide readers following the tutorial on `cmake.org` a direct link to download the tutorial's source examples. Previously readers had to fetch the CMake source tree separately and look for the tutorial source examples inside it. Fixes: #22475
| * Utilities/Sphinx: Add variables listing pre-sphinx commandsBrad King2022-04-271-0/+2
| |
| * Utilities/Sphinx: Clarify names of variables listing post-sphinx commandsBrad King2022-04-271-6/+6
| |
| * Merge branch 'doc-qhelpgenerator' into release-3.23Brad King2022-04-085-10/+10
| |\ | | | | | | | | | Merge-request: !7150
| * \ Merge topic 'ci-cmake.org-help' into release-3.23Brad King2022-04-061-0/+6
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b691906d27 gitlab-ci: Build qthelp-format release documentation for cmake.org 1ceec19c20 gitlab-ci: Add objects.inv to cmake.org html documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7146
| * \ \ Merge topic 'ci-cmake.org-help' into release-3.23Brad King2022-04-054-6/+85
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2808281730 gitlab-ci: update cmake.org documentation in release package pipeline ed00a29cce gitlab-ci: consolidate jobs for cmake.org/cmake/help/git-{master,stage} docs 5c2e8ce515 Utilities/Sphinx: Add OpenSearch link to html page headers on cmake.org a14905d4df Utilities/Sphinx: Add option to build outdated version banner for cmake.org cca73b54ae Utilities/Sphinx: Add undocumented option to build docs for cmake.org Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7144
| * \ \ \ Merge topic 'rel-win-docker' into release-3.23Brad King2022-03-211-1/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6aa88e51f Utilities/Release: Add "source" stage to Windows docker spec Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7087
* | | | | | cm::enum_set: container that contains a set of unique enum values.Marc Chevrier2022-04-271-0/+393
| | | | | | | | | | | | | | | | | | | | | | | | The enum must be an `enum class` with an unsigned integer as base type.
* | | | | | CMake: Use FindPython instead of FindPythonInterp to build CMake itselfKyle Edwards2022-04-213-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #23444
* | | | | | Utilities/Release: Drop SLA from CMake macOS DMG packageBrad King2022-04-201-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macOS 12 deprecates the tools needed to attach a SLA to a `.dmg`. CMake 3.23 added `CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE` to control whether `CPACK_RESOURCE_FILE_LICENSE` is used as the SLA. CMake 3.24 will add policy CMP0133 to disable the SLA by default. Explicitly turn off the SLA for CMake's official macOS binaries. This will allow them to build on future macOS versions that have no SLA tooling available. Issue: #22978
* | | | | | Merge topic 'doc-qhelpgenerator'Brad King2022-04-085-10/+10
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bf69fa32c4 Utilities/Sphinx: Update qthelp generation to qhelpgenerator 37904abb58 Help: Add "Updates" section header in 3.22 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7150
| * | | | | Utilities/Sphinx: Update qthelp generation to qhelpgeneratorBrad King2022-04-075-10/+10
| | |_|_|/ | |/| | | | | | | | | | | | | `qcollectiongenerator` is deprecated in favor of `qhelpgenerator`.
* | | | | Merge topic 'ci-cmake.org-help'Brad King2022-04-061-0/+6
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b691906d27 gitlab-ci: Build qthelp-format release documentation for cmake.org 1ceec19c20 gitlab-ci: Add objects.inv to cmake.org html documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7146
| * | | | gitlab-ci: Build qthelp-format release documentation for cmake.orgBrad King2022-04-061-0/+6
| | |_|/ | |/| | | | | | | | | | | | | | Previously the qthelp-format release documentation on `cmake.org` was built manually.
* | | | Merge branch 'backport-ci-cmake.org-help' into ci-cmake.org-helpBrad King2022-04-054-6/+85
|\ \ \ \ | |/ / /
| * | | Utilities/Sphinx: Add OpenSearch link to html page headers on cmake.orgBrad King2022-04-052-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reference an OpenSearch description file that sits outside the content of any specific version so we only need to maintain one and so that it can reference the latest version. This was previously added in a custom branch for building the cmake.org reference documentation.
| * | | Utilities/Sphinx: Add option to build outdated version banner for cmake.orgBrad King2022-04-053-0/+29
| | | | | | | | | | | | | | | | | | | | This was previously added in a custom branch for building the cmake.org reference documentation.
| * | | Utilities/Sphinx: Add undocumented option to build docs for cmake.orgBrad King2022-04-053-6/+50
| | | |
| * | | Merge branch 'rel-win-docker' into release-3.22Brad King2022-03-211-1/+3
| |\ \ \ | | | |/ | | |/| | | | | Merge-request: !7087
* | | | cmConstStack: Factor out of cmListFileBacktraceBrad King2022-04-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This presents value semantics for a stack of constant values. Internally it shares ownership to avoid copies. Previously this was implemented by `cmListFileBacktrace` explicitly, but the approach can be re-used for other kinds of stacks.
* | | | Merge topic 'rel-win-docker'Brad King2022-03-211-1/+3
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | a6aa88e51f Utilities/Release: Add "source" stage to Windows docker spec Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7087
| * | | Utilities/Release: Add "source" stage to Windows docker specBrad King2022-03-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise the spec added by commit ff929badb3 (Utilities/Release: Add docker specs to build and test Windows binaries, 2020-05-05, v3.18.0-rc1~203^2~1) to add a `source` stage that stops just after copying the source tree into the image. This provides more granular control to driving scripts.
| * | | Merge branch 'zstd-armv6' into release-3.21Brad King2021-10-142-6/+2
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !6625
| | * | | zstd: Backport fix for SIGBUS on armv6 from zstd 1.5.0Brad King2021-10-142-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport zstd commit `28d0120b` (Avoid SIGBUS on armv6, 2021-05-11, `v1.5.0^2~11^2`) to our bundled copy of zstd 1.4.5. Fixes: #22754
* | | | | Merge topic 'cmake-minimum'Brad King2022-02-242-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 14eb8a6ab9 libarchive: Simplify hard-coded options for build within CMake d6b811fb82 Require CMake 3.13+ to configure CMake itself Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7016
| * | | | | Require CMake 3.13+ to configure CMake itselfBrad King2022-02-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, guarantee that policy `CMP0077` has `NEW` behavior. This will be useful to hard-code options of third-party libraries without polluting our own cache.
* | | | | | Merge topic 'update-expat'Brad King2022-02-237-64/+134
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07f9ce4f8c Merge branch 'upstream-expat' into update-expat 4c031b9417 expat 2022-02-20 (65a21f2b) 9d035ba28d expat: Update script to get Expat 2.4.6 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7015
| * | | | | Merge branch 'upstream-expat' into update-expatBrad King2022-02-226-63/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Expat Upstream * upstream-expat: expat 2022-02-20 (65a21f2b)
| * | | | | expat: Update script to get Expat 2.4.6Brad King2022-02-221-1/+1
| | | | | |
* | | | | | Utilities/Git: add a file for refs to ignore when blamingBen Boeckel2022-02-211-0/+38
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This file may be passed to `git blame` through either the `--ignore-revs-file` argument or the `blame.ignoreRevsFile` configuration to ignore certain commits when performing blames. Note that if Git is unable to find an older commit for a given line, commits in this file may still be given as the source of a line. The file uses features (namely empty lines and comments) which were added in Git 2.20, released Dec 2018.
* | | | | Merge topic 'update-libarchive'Brad King2022-02-1875-1515/+3601
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be9ebc104a libarchive: Simplify code selecting CMake-specific build options 4a7a5718c6 libarchive: Update build within CMake after changes in 3.6.0 85cdeefc37 libarchive: include archive_platform.h first in blake2s sources b3644e460f Merge branch 'upstream-LibArchive' into update-libarchive 5d50940288 LibArchive 2022-02-09 (9147def1) 406503f620 libarchive: Update script to get 3.6.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6988
| * | | | | libarchive: Simplify code selecting CMake-specific build optionsBrad King2022-02-171-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce differences from upstream libarchive `CMakeLists.txt` code. Remove modifications inside code we disable anyway.
| * | | | | libarchive: Update build within CMake after changes in 3.6.0Brad King2022-02-163-1/+4
| | | | | |
| * | | | | libarchive: include archive_platform.h first in blake2s sourcesBrad King2022-02-162-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the inclusion added in 3.6.0 to be first. This is the libarchive convention in all other `.c` sources. It ensures that the configured `_WIN32_WINNT` value is defined before including any system headers.
| * | | | | Merge branch 'upstream-LibArchive' into update-libarchiveBrad King2022-02-1573-1500/+3596
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-LibArchive: LibArchive 2022-02-09 (9147def1)
| * | | | | libarchive: Update script to get 3.6.0Brad King2022-02-151-1/+1
| | | | | |
* | | | | | Merge topic 'libarchive-openssl-crypto-checks'Brad King2022-02-181-0/+2
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | | | | | | | | | | | | | | | 483a1c248c libarchive: Fix OpenSSL crypto library checks for build inside CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6997
| * | | | libarchive: Fix OpenSSL crypto library checks for build inside CMakeBrad King2022-02-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libarchive's crypto library checks use its `config.h` inside the `try_compile` project. Since commit ade3b16e63 (libarchive: Use KWIML to get fixed-size integer types, 2020-06-01, v3.18.0-rc1~33^2), that header depends on KWIML inside CMake. Add the include directory for KWIML to the crypto library checks. Otherwise, they always fail due to not finding the KWIML headers, and libarchive decides not to link the crypto library. libarchive has other code besides the hash algorithms that depends on the crypto library if its ENABLE_OPENSSL option is enabled (which in CMake is controlled by CMAKE_USE_OPENSSL). It seems to be missing some conditions to link the crypto library in those cases, and instead relies on at least one of the above-mentioned checks to pass. If they all fail, and we are using system curl, we might not link the crypto library. Fixes: #23234
* | | | | Merge topic 'post-rel-dev'Brad King2022-02-042-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a48012f93 Configure CMake itself with policies through CMake 3.22 a5a9687799 export: Increase maximum policy version in exported files to 3.22 a9ffded98c Add deprecation warnings for policies CMP0097 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6948
| * | | | Configure CMake itself with policies through CMake 3.22Brad King2022-02-032-2/+2
| | | | |