summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* cm::optional: Fix `-Wunused-parameter` warnings in comparison operatorsBrad King2021-01-251-4/+4
|
* Utilities/Sphinx: Add role and directive for 'genex' in CMake domainBrad King2021-01-182-2/+20
| | | | | | | | | | | | | | | | | This enables cross-reference syntax for CMake generator expressions: :genex:`SOME_GENEX` :genex:`$<SOME_GENEX>` :genex:`$<SOME_GENEX:...>` and definition of CMake generator expressions via a directive: .. genex:: SOME_GENEX .. genex:: $<SOME_GENEX> .. genex:: $<SOME_GENEX:...> It also adds generator expressions defined by the directive and by `Help/genex/SOME_GENEX.rst` documents to the index.
* Merge branch 'backport-rel-macos-modern' into rel-macos-modernBrad King2021-01-072-0/+127
|\
| * Utilities/Release: Add script to build Qt 5.15.2 macOS universal binariesBrad King2021-01-071-0/+125
| | | | | | | | | | These may be used to build a CMake universal binary for macOS that supports both architectures on Apple Silicon and is compatible with OS X 10.13.
| * Utilities/Release: Fix macOS Qt 5.9 build script umaskBrad King2021-01-071-0/+2
| | | | | | | | Produce a tarball with world-readable permissions.
* | Code style: add missed explicit 'this->'Oleksandr Koval2021-01-053-2411/+2883
| | | | | | | | | | CMake uses explicit 'this->' style. Using custom clang-tidy check we can detect and fix places where 'this->' was missed.
* | Merge branch 'backport-rel-linux-aarch64' into rel-linux-aarch64Brad King2020-12-229-0/+347
|\ \ | |/
| * Utilities/Release: Add docker specs for Linux aarch64 binariesHi Key2020-12-229-0/+347
| | | | | | | | | | | | | | | | Base them on the existing `x86_64` specs. Update the centos base image from centos 6 to centos 7 to get aarch64 support. The resulting binaries require GLIBC 2.17. Fixes: #17923
* | Merge topic 'rel-macos-apple-silicon'Brad King2020-12-152-0/+21
|\ \ | |/ | | | | | | | | | | 23de430545 Utilities/Release: Update macOS Qt 5.9 build for platform versioning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5615
| * Utilities/Release: Update macOS Qt 5.9 build for platform versioningBrad King2020-12-142-0/+21
| | | | | | | | | | | | | | | | | | Backport the upstream Qt patch [1] to link Qt binaries using the `-isysroot` flag instead of `-Wl,-syslibroot`. This is needed so that the binaries have a SDK version set, which is needed for runtime validation on modern macOS versions. [1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=6387138a7991b4588639dc48847f175b5afaff84
* | Merge topic 'update-curl'Brad King2020-12-14328-3684/+4813
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | d0bac89cea curl: Set build options the way we need for CMake 54931fdff0 Merge branch 'upstream-curl' into update-curl 5aacc593a9 curl 2020-12-09 (e0528597) 4cd65e5d88 curl: Update script to get curl 7.74.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5592
| * | curl: Set build options the way we need for CMakeBrad King2020-12-111-1/+3
| | |
| * | Merge branch 'upstream-curl' into update-curlBrad King2020-12-09327-3682/+4809
| | | | | | | | | | | | | | | * upstream-curl: curl 2020-12-09 (e0528597)
| * | curl: Update script to get curl 7.74.0Brad King2020-12-091-1/+1
| | |
* | | Merge topic 'rel-macos-apple-silicon'Brad King2020-12-102-0/+138
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | 56a075eb5d ci: update macOS package to produce universal binaries b184cc256b ci: do not use sccache for macOS packaging 41bddf1028 ci: update to pre-built Qt 5.9.9 universal binaries for macOS packages b201dc0d42 Utilities/Release: Add script to build Qt 5.9.9 macOS universal binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5595
| * Utilities/Release: Add script to build Qt 5.9.9 macOS universal binariesBrad King2020-12-102-0/+138
| | | | | | | | | | These may be used to build a CMake universal binary for macOS that supports both architectures on Apple Silicon and is compatible with OS X 10.10.
* | Help: Improve styling for versionadded/deprecated directivesNikita Nemkin2020-12-021-0/+6
| | | | | | | | | | | | | | Sphinx theme CSS removes top margin for dd > p combination, but directives add an intervening div and need a separate rule. Issue: #19715
* | Merge topic 'doc-html-lang'Brad King2020-11-091-0/+1
|\ \ | |/ | | | | | | | | | | f25e4313ac Utilities/Sphinx: Tell Sphinx that documentation is written in English Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5480
| * Utilities/Sphinx: Tell Sphinx that documentation is written in EnglishBrad King2020-11-091-0/+1
| | | | | | | | Fixes: #21409
* | cm::optional: Add constructor delegation to nullopt_t constructorKyle Edwards2020-10-221-0/+1
| | | | | | | | | | | | Some static analysis tools incorrectly identify this constructor as leaving _has_value in an undefined state. Explicitly call the default constructor to force _has_value to false.
* | cm::optional: Fix move assignmentKyle Edwards2020-10-211-13/+34
| |
* | Configure CMake itself with policies through CMake 3.18Brad King2020-10-132-2/+2
|/
* IWYU: Map <*> headers to <cm/*> headersKyle Edwards2020-10-081-1/+6
| | | | | For headers which exclusively contain things that were not present in C++11.
* Merge topic 'sphinx-deprecations'Brad King2020-10-061-27/+27
|\ | | | | | | | | | | | | | | 2254fcb68f Utilities/Sphinx: Avoid using deprecated sphinx APIs e0f643dddc Utilities/Sphinx: Clarify check for sphinx < 1.4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5326
| * Utilities/Sphinx: Avoid using deprecated sphinx APIsBrad King2020-10-051-19/+23
| | | | | | | | | | | | | | | | Sphinx has deprecated `sphinx.util.pycompat.htmlescape` and `sphinx.builders.qthelp.QtHelpBuilder`. We only import these as part of a monkey-patch to work around a bug in versions of sphinx before 1.7.2, so make that code path conditional. The imports are not deprecated on the versions where we need them.
| * Utilities/Sphinx: Clarify check for sphinx < 1.4Brad King2020-10-051-8/+4
| |
* | Merge branch 'upstream-expat' into update-expatBrad King2020-10-057-36/+64
| | | | | | | | | | | | # By Expat Upstream * upstream-expat: expat 2020-10-03 (162e16b0)
* | expat: Update script to get Expat 2.2.10Brad King2020-10-051-1/+1
|/
* Utilities/Scripts: Update regenerate-lexers.bashKyle Edwards2020-10-021-1/+4
| | | | | | | 62d7acc6 added arguments to Flex when regenerating cmCommandArgumentLexer, but this was not reflected in Utilities/Scripts/regenerate-lexers.bash. Update the script with the proper arguments.
* libuv: Add support for building for QNX within CMakeElad Lahav2020-09-251-0/+18
|
* Merge topic 'update-libuv'Brad King2020-09-2449-536/+1602
|\ | | | | | | | | | | | | | | | | | | 7a0506bafe libuv: Suppress conversion warning on Windows 2269ad6a0a libuv: Add fs_copy stub to cmake-bootstrap.c e21325c2c6 Merge branch 'upstream-libuv' into update-libuv c1463f959f libuv 2020-09-22 (ed5b42d5) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5259
| * libuv: Suppress conversion warning on WindowsBrad King2020-09-231-1/+1
| | | | | | | | | | Add a cast to avoid the conversion warning with minimal changes to third-party code.
| * libuv: Add fs_copy stub to cmake-bootstrap.cBrad King2020-09-231-0/+8
| | | | | | | | | | This is now called by `uv__fs_sendfile` in `src/unix/fs.c` but we do not need that feature during CMake bootstrap.
| * Merge branch 'upstream-libuv' into update-libuvBrad King2020-09-2348-536/+1594
| | | | | | | | | | * upstream-libuv: libuv 2020-09-22 (ed5b42d5)
* | zstd: version 1.4.5 updateCristian Adam2020-09-232-1/+4
| | | | | | | | | | Add source files needed to properly compile / link to zstd version 1.4.5
* | Merge branch 'upstream-zstd'Cristian Adam2020-09-2364-3971/+7719
|/ | | | | | # By zstd upstream * upstream-zstd: zstd 2020-05-21 (b706286a)
* cmake_path: enhancementsMarc Chevrier2020-09-201-2/+3
| | | | | * Fix error on parsing "c:a" (root-name without root-directory) * Enrich documentation
* 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 == ' \\' ^~~~~