summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cmake-compile-no-warning-as-error'Brad King2023-06-017-18/+38
|\ | | | | | | | | | | | | | | | | da27ff1e96 Preserve --compile-no-warning-as-error in automatic CMake re-runs e0b48284a1 Xcode: Internally uses -S instead of -H to specify source directory Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8522
| * Preserve --compile-no-warning-as-error in automatic CMake re-runsBrad King2023-05-307-18/+38
| | | | | | | | | | | | | | | | When the build system re-runs `cmake` to regenerate itself, preserve the `--compile-no-warning-as-error` option if it was used when `cmake` was last explicitly invoked. Normally such settings are preserved in the cache, but the purpose of this option is to be beyond the reach of project code.
| * Xcode: Internally uses -S instead of -H to specify source directoryBrad King2023-05-301-1/+1
| | | | | | | | | | | | This was accidentally left out of commit de962cc00d (CMake: Internally uses -S instead of -H to specify source directory, 2018-09-06, v3.13.0-rc1~76^2~1).
* | Merge topic 'update-curl'Brad King2023-06-01132-6905/+11993
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2de38e0b45 Utilities: Update hard-coded try_compile results for curl 8.1.2 a6c9b53273 Merge branch 'upstream-curl' into update-curl 80cb6a5121 curl 2023-05-30 (7ab9d437) 7f1abf62e1 curl: Update script to get curl 8.1.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8519
| * | Utilities: Update hard-coded try_compile results for curl 8.1.2Brad King2023-05-301-0/+3
| | |
| * | Merge branch 'upstream-curl' into update-curlBrad King2023-05-30130-6904/+11989
| |\ \ | | | | | | | | | | | | | | | | * upstream-curl: curl 2023-05-30 (7ab9d437)
| | * | curl 2023-05-30 (7ab9d437)Curl Upstream2023-05-30130-6900/+11986
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/curl/curl.git at commit 7ab9d43720bc34d9aa351c7ca683c1668ebf8335 (curl-8_1_2).
| * | | curl: Update script to get curl 8.1.2Brad King2023-05-301-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-06-011-1/+1
| | | |
* | | | Merge branch 'release-3.26'Brad King2023-05-310-0/+0
|\ \ \ \
| * \ \ \ Merge topic 'find-boost-1.82' into release-3.26Brad King2023-05-311-2/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5cbbe55de8 FindBoost: Add support for Boost 1.82 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8514
* | \ \ \ \ Merge topic 'find-boost-1.82'Brad King2023-05-311-2/+3
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 5cbbe55de8 FindBoost: Add support for Boost 1.82 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8514
| * | | | | FindBoost: Add support for Boost 1.82huangqinjin2023-05-311-2/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the list of known versions. There is a new header-only library, Boost.MySQL. It has no dependencies and has a core header `<boost/mysql.hpp>`. Run the command cmake -DBOOST_DIR=/path/to/boost_1_82_0 \ -P Utilities/Scripts/BoostScanDeps.cmake to extract dependencies from the 1.82.0 source tree. They are the same as 1.81's dependencies, so just update the version check for warning about newer versions.
* | | | | Merge topic 'AddCacheEntry-suppress-raw-pointer-usage'Brad King2023-05-3118-85/+97
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4fc322bab4 AddCacheEntry: Suppress raw pointer usage Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8520
| * | | | | AddCacheEntry: Suppress raw pointer usageMarc Chevrier2023-05-3018-85/+97
| | | | | |
* | | | | | Merge topic 'orkun_24848_19_05_2023'Brad King2023-05-313-26/+103
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2bb3d9b644 Autogen: Fix multi-config generated file issue 3bd605f3d0 Autogen: Optimize cmake_autogen execution for CROSS_CONFIG usage f2f21c5752 Improve Const Correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8507
| * | | | | | Autogen: Fix multi-config generated file issueOrkun Tokdemir2023-05-273-10/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default config was an empty string when a `multi-config` generator is used. An if check was added for those situations. If a source file has a specific config configuration, it is used with `$<CONFIG>` in the `multi-config` generator usage. Fixes: #24848
| * | | | | | Autogen: Optimize cmake_autogen execution for CROSS_CONFIG usageOrkun Tokdemir2023-05-261-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The redundant `cmake_autogen` process execution was optimized for non-`CROSS_CONFIGS` usage. It was executed three times for each config although only one of them is needed.
| * | | | | | Improve Const CorrectnessOrkun Tokdemir2023-05-261-13/+13
| | | | | | |
* | | | | | | Merge topic 'cmake-verbose-print-build-tool-command'Brad King2023-05-318-38/+80
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8451a3f0b5 cmGlobalGenerator: use a stream for output in `Build` e060666531 cmake: write the build command itself with `--verbose` b017c9f127 cmGlobalGenerator: fix off-by-one for `&&` command joining c715fd8d76 cmGlobalGenerator: quote commands in `::Build` output d6c0e827bc cmGlobalGenerator: add a `QuotedPrintable` method for commands 28ee3bef34 cmGlobalGenerator: add missing spaces in output 465ab8d872 cmGlobalGenerator: use `cmStrCat` in `::Build` 81d45dabc4 cmOutputConverter: add a `static` version of `EscapeForShell` Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8183
| * | | | | | | cmGlobalGenerator: use a stream for output in `Build`Ben Boeckel2023-05-275-35/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows output to show up in output immediately instead of being batched.
| * | | | | | | cmake: write the build command itself with `--verbose`Ben Boeckel2023-05-162-1/+15
| | | | | | | |
| * | | | | | | cmGlobalGenerator: fix off-by-one for `&&` command joiningBen Boeckel2023-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only add `&&` if there is another command after the current one.
| * | | | | | | cmGlobalGenerator: quote commands in `::Build` outputBen Boeckel2023-05-161-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that these are going to be visible when running with `--verbose`, properly quote things so that they can be used as-is.
| * | | | | | | cmGlobalGenerator: add a `QuotedPrintable` method for commandsBen Boeckel2023-05-162-0/+19
| | | | | | | |
| * | | | | | | cmGlobalGenerator: add missing spaces in outputBen Boeckel2023-05-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The preludes to commands should have a space to separate them from the first argument of the command sequence.
| * | | | | | | cmGlobalGenerator: use `cmStrCat` in `::Build`Ben Boeckel2023-05-161-13/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also replace some single-char strings with character literals.
| * | | | | | | cmOutputConverter: add a `static` version of `EscapeForShell`Ben Boeckel2023-05-162-5/+11
| | | | | | | |
* | | | | | | | Merge topic 'help-importing-exporting-lib'Brad King2023-05-311-4/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aef057d0e8 Help/guide: fix MathFunctionsTargets.cmake path in importing-exporting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8511
| * | | | | | | | Help/guide: fix MathFunctionsTargets.cmake path in importing-exportingOlivier Blin2023-05-261-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is using ${CMAKE_INSTALL_LIBDIR} and an extra "/MathFunctions" path suffix since these commits: - e58a76de51 Help/guide: fix importing-exporting CMake install destinations - 26cf661b64 Help/guide: use GNUInstallDirs in importing-exporting example
* | | | | | | | | Merge branch 'release-3.26'Brad King2023-05-310-0/+0
|\ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | | | |
| * | | | | | | | Merge topic 'werror_space_fix' into release-3.26Brad King2023-05-311-1/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cec6f98018 CMakeDetermineCompilerABI: Avoid removing the flag after -Werror Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8518
* | \ \ \ \ \ \ \ \ Merge topic 'werror_space_fix'Brad King2023-05-311-1/+1
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cec6f98018 CMakeDetermineCompilerABI: Avoid removing the flag after -Werror Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8518
| * | | | | | | | | CMakeDetermineCompilerABI: Avoid removing the flag after -WerrorRaul Tambre2023-05-301-1/+1
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The matching became too eager after commit 079ea66468 (CMakeDetermineCompilerABI: Handle NVCC-style -Werror flags, 2020-10-04, v3.19.0-rc1~45^2). When -Werror was specified without a value we would eat the following flag. Prevent this by disallowing "-" as the first character of the flag's value. Fixes: 079ea66468a6ffe0b02c3d6622bc0230fdf455b0 See-also: https://discourse.cmake.org/t/8230
* | | | | | | | | Merge topic 'cmake-debugger'Brad King2023-05-3169-10/+5364
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9a592f96e cmake: Add debugger Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Acked-by: Osyotr <zhenchik35026@gmail.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8338
| * | | | | | | | | cmake: Add debuggerGlen Chung2023-05-3069-10/+5364
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Depends on cppdap and jsoncpp. - Add --debugger argument to enable the Debugger. - Add --debugger-pipe argument for DAP traffics over named pipes. - Support breakpoints by filenames and line numbers. - Support exception breakpoints. - Call stack shows filenames and line numbers. - Show Cache Variables. - Show the state of currently defined targets, tests and directories with their properties. - Add cmakeVersion to DAP initialize response. - Include unit tests. Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
* | | | | | | | | CMake Nightly Date StampKitware Robot2023-05-311-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Merge branch 'release-3.26' into masterBrad King2023-05-300-0/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| / / / / / / | |/ / / / / /
| * | | | | | Merge topic 'backport-sphinx-file-encoding' into release-3.26Brad King2023-05-303-9/+10
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4f26edc1c Tests: Always load presets schema as UTF-8 fc2b60ca6b Sphinx: Modernize UTF-8 encoding handling when updating CMake.qhp 853f069103 Sphinx: Specify encoding when opening files for title extraction Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8521
| | * | | | | | Tests: Always load presets schema as UTF-8Craig Scott2023-05-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We know the encoding of the schema file, so we should specify it when we open it for reading. Previously, by not specifying it, the test was open to using an encoding based on the active locale when running the test. We may have been enforcing a "C" locale at a higher level, but we don't need to rely on that here, we can force correct behavior without that assumption. Issue: #24679
| | * | | | | | Sphinx: Modernize UTF-8 encoding handling when updating CMake.qhpCraig Scott2023-05-301-4/+4
| | | | | | | |
| | * | | | | | Sphinx: Specify encoding when opening files for title extractionCraig Scott2023-05-301-2/+3
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the encoding is not specified, open() may choose an encoding based on the locale in use. That encoding may have no relationship to the encoding of the file being opened. Use the locale from the document settings instead, which should better match the file's encoding. Fixes: #24679
* | | | | | | Merge topic 'import-cppdap'Brad King2023-05-3070-2/+12091
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4a84f71049 ci: Provide cppdap in extdeps jobs 5ec69eb58c cppdap: Build as part of CMake or use external installation 3381e6bd5c Merge branch 'upstream-cppdap' into import-cppdap 1daeefc378 cppdap 2023-05-26 (03cc1867) bd58bc7817 cppdap: Add script to import version as of 2023-05-25 172045b53b jsoncpp: Add cm3p/ headers for json/json.h and json/forwards.h Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8342
| * | | | | | | ci: Provide cppdap in extdeps jobsBrad King2023-05-261-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Debian 10 and Fedora 37 do not yet package cppdap, so our base images do not include it. Build it in extdeps jobs.
| * | | | | | | cppdap: Build as part of CMake or use external installationBrad King2023-05-2614-4/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `cm3p/` headers to use the selected copy of the library. Co-authored-by: Glen Chung <kuchung@microsoft.com>
| * | | | | | | Merge branch 'upstream-cppdap' into import-cppdapGlen Chung2023-05-2654-0/+11861
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-cppdap: cppdap 2023-05-26 (03cc1867)
| | * | | | | | | cppdap 2023-05-26 (03cc1867)cppdap Upstream2023-05-2654-0/+11861
| | / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/google/cppdap.git at commit 03cc18678ed2ed8b2424ec99dee7e4655d876db5 (03cc18678ed2ed8b2424ec99dee7e4655d876db5).
| * | | | | | | cppdap: Add script to import version as of 2023-05-25Brad King2023-05-261-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Glen Chung <kuchung@microsoft.com>
| * | | | | | | jsoncpp: Add cm3p/ headers for json/json.h and json/forwards.hBrad King2023-05-232-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `cm3p/` headers to use the selected copy of the library.
* | | | | | | | Merge topic 'cmuvprocesschain-merged-output'Brad King2023-05-303-22/+99
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec80090ce3 cmUVProcessChain: Add option for merged output and error Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8513