summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MinGW: Search for packages in standard MSYSTEM environment prefixesBrad King2023-09-1320-4/+75
| | | | | | | | | | | | | | | | MSYS2 and similar MinGW/MSYS distributions define development environments with a `MSYSTEM` environment variable. Each such environment has a documented installation prefix for its packages, often provided by a `MSYSTEM_PREFIX` environment variable. Since commit 84a25fc263 (cmake_host_system_information: Add MSYSTEM_PREFIX query, 2023-09-08) we can look up this prefix. Add `$MSYSTEM_PREFIX/local` and `$MSYSTEM_PREFIX` to our system search prefixes when targeting MinGW under `MSYSTEM` environments. This is their equivalent to `/usr/local` and `/usr`, which we search by default on UNIX systems. Issue: #24216
* Merge topic 'host-msystem-prefix'Brad King2023-09-1113-10/+155
|\ | | | | | | | | | | | | | | | | 84a25fc263 cmake_host_system_information: Add MSYSTEM_PREFIX query cdcff0a0f0 cmCMakeHostSystemInformationCommand: Clarify function names and roles Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8788
| * cmake_host_system_information: Add MSYSTEM_PREFIX queryBrad King2023-09-1013-0/+146
| | | | | | | | | | | | | | Add a query on Windows hosts for the installation prefix of a MSYS or MinGW development environment. Issue: #24216
| * cmCMakeHostSystemInformationCommand: Clarify function names and rolesBrad King2023-09-091-10/+9
| |
* | Merge topic 'fix-win-dbg-msg'Brad King2023-09-112-1/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | cd46ecad19 Debugger: Fix pipe connection error message construction on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8785
| * | Debugger: Fix pipe connection error message construction on WindowsWilliam R. Dieter2023-09-082-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding an integer to a C string does pointer math, rather than converting to string. Instead convert the result of `GetLastError` to string before adding it to the error message. This problem was accidentally introduced by commit 8b1257e7bf (Debugger: Replace libuv with platform-specific connection code, 2023-07-29). Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
* | | Merge topic 'Fix-FindLua50-and-FindLua51-doc'Brad King2023-09-112-23/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7abb6d14ca FindLua{50,51}: Fix preformatted documentation blocks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8784
| * | | FindLua{50,51}: Fix preformatted documentation blocks權少2023-09-082-23/+5
| |/ / | | | | | | | | | Avoid duplicate `::`.
* | | Merge topic 'doc-if-number'Brad King2023-09-111-10/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5924a1f0eb Help: Document if() comparison number format Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8783
| * | | Help: Document if() comparison number formatBrad King2023-09-081-10/+10
| |/ / | | | | | | | | | Fixes: #25237
* | | CMake Nightly Date StampKitware Robot2023-09-111-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-09-101-1/+1
| |/ |/|
* | Merge topic 'ci-mingw-osdn-io'Brad King2023-09-093-8/+7
|\ \ | | | | | | | | | | | | | | | | | | b2555f27ac ci: Improve MinGW/MSYS Makefiles mingw.osdn.io job environments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8786
| * | ci: Improve MinGW/MSYS Makefiles mingw.osdn.io job environmentsBrad King2023-09-083-8/+7
| |/ | | | | | | | | Set `PATH`, `MSYSTEM`, and `MAKE_MODE` environment variables the way the MinGW/MSYS 1.0 distribution from `mingw.osdn.io` does in its bash prompt.
* | CMake Nightly Date StampKitware Robot2023-09-091-1/+1
|/
* Merge topic 'rel-win-qt-5.15'Brad King2023-09-084-23/+26
|\ | | | | | | | | | | | | 7def566e92 Utilities/Release: Update to Qt 5.15.10 on windows-{x86_64,i386} builds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8774
| * Utilities/Release: Update to Qt 5.15.10 on windows-{x86_64,i386} buildsdoufu2023-09-074-23/+26
| | | | | | | | | | Fixes: #25187 Co-authored-by: Brad King <brad.king@kitware.com>
* | Merge topic 'update-tutorial-step3'Brad King2023-09-0813-17/+36
|\ \ | | | | | | | | | | | | | | | | | | | | | a94a4c12e1 Tutorial: Fix-up typos and inconsistencies Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8779
| * | Tutorial: Fix-up typos and inconsistenciesbetsy.mcphail2023-09-0713-17/+36
| | | | | | | | | | | | | | | | | | | | | * Fix typo in Step 2 * Fix incorrect code referenced in Step 3, TODO 7. Update comments in MathFunctions/CMakeLists.txt to unique strings. * Resolve inconsistencies between steps in MathFunctions/CMakeLists.txt
* | | Merge topic 'FindFreetype-use-config'Brad King2023-09-081-0/+58
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d83d925045 FindFreetype: use `freetype-config.cmake` if available Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Ryan Krattiger <ryan.krattiger@kitware.com> Merge-request: !8775
| * | | FindFreetype: use `freetype-config.cmake` if availableBen Boeckel2023-09-061-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The official `freetype-config.cmake` provides `Freetype::Freetype` as an `INTERFACE` library to its exported `freetype` target. This ends up causing issues if CMake's Find module is used to define `Freetype::Freetype` before using `freetype-config` because some, but not all, of its defined targets are already available triggering the generated code that detects such situations. Instead, try to use `freetype-config` where possible and provide bridge logic for this module's variable guarantees.
* | | | Merge topic 'test-ctest'Brad King2023-09-0815-94/+38
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be657bf1e0 Tests: Migrate CTestTest{NoBuild,NoExe} to RunCMake.ctest_{build,test} Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8780
| * | | | Tests: Migrate CTestTest{NoBuild,NoExe} to RunCMake.ctest_{build,test}Brad King2023-09-0715-94/+38
| | |/ / | |/| | | | | | | | | | Avoid duplicating infrastructure provided by the latter.
* | | | Merge branch 'release-3.27'Brad King2023-09-080-0/+0
|\ \ \ \
| * \ \ \ Merge topic 'ctest_submit_follow_redirects' into release-3.27Brad King2023-09-081-0/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26ce8dc290 ctest: Restore support for http redirects during Submit step Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8782
* | \ \ \ \ Merge topic 'ctest_submit_follow_redirects'Brad King2023-09-081-0/+3
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26ce8dc290 ctest: Restore support for http redirects during Submit step Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8782
| * | | | | ctest: Restore support for http redirects during Submit stepZack Galbreath2023-09-071-0/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After CDash PR 1519 introduced HTTP status codes greater than 200 for various error cases, CMake commit b7c871f745 (ctest: Update ctest_submit for CDash behavior change, 2023-07-24, v3.27.1~3^2) modified CTest's submit handler to check the status returned by CDash and throw an error when this status is not equal to 200. That change had the unintended side effect of causing CTest submissions to fail when uploading results to a URL that returns a redirect status code (3xx). Fix this by configuring cURL to follow the redirect. The status cURL reports to CTest is now 200 instead of 3xx when CDash is located behind a redirect. Fixes: #25159
* | | | | Merge topic 'IntelLLVM-debug-flags'Brad King2023-09-081-0/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e30f0f89af IntelLLVM: Suppress -Rdebug-disables-optimization on debug builds Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: LecrisUT <github@lecris.me> Merge-request: !8764
| * | | | | IntelLLVM: Suppress -Rdebug-disables-optimization on debug buildsBram Metsch2023-09-071-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IntelLLVM 2023.0.0 and above emit this remark if `-g` is used without any `-O<level>` flag, which is our default behavior. Add another flag to suppress the remark.
* | | | | | CMake Nightly Date StampKitware Robot2023-09-081-1/+1
| |_|/ / / |/| | | |
* | | | | Merge topic 'FindPkgConfig-system-cflags'Brad King2023-09-075-5/+26
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 252c66c697 FindPkgConfig: Tolerate PKG_CONFIG_SYSTEM_INCLUDE_PATH in environment 4507883135 Tests: Rename RunCMake.FindPkgConfig LIBRARY_PATH case to SYSTEM_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8768
| * | | | | FindPkgConfig: Tolerate PKG_CONFIG_SYSTEM_INCLUDE_PATH in environmentCristian Le2023-09-063-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tell `pkg-config --cflags` not to filter out `-I` flags for entries of `PKG_CONFIG_SYSTEM_INCLUDE_PATH` (and `CPATH` for `pkgconf`). Fixes: #25228
| * | | | | Tests: Rename RunCMake.FindPkgConfig LIBRARY_PATH case to SYSTEM_PATHCristian Le2023-09-063-3/+3
| | |_|_|/ | |/| | | | | | | | | | | | | Prepare to cover CFLAGS too.
* | | | | CMake Nightly Date StampKitware Robot2023-09-071-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'replace-cmsysprocess-with-cmuvprocesschain'Brad King2023-09-0639-1185/+1237
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a5f98df778 Source: Fix mysterious new IWYU warnings 0712e3cfea cmCTestCoverageHandler: Replace cmsysProcess with cmUVProcessChain 96b3dd329e cmCTestLaunchReporter: Replace cmsysProcess with cmUVProcessChain b15ad7ebb6 cmCTest: Replace cmsysProcess with cmUVProcessChain 50a6e78a82 cmSystemTools::RunSingleCommand(): Replace cmsysProcess with cmUVProcessChain 49a37d5a97 cmCTestScriptHandler: Replace cmsysProcess with cmUVProcessChain bc702aa97e cmcmd: Replace cmsysProcess with cmUVProcessChain ec124582ac cmProcessTools::RunProcess(): Replace cmsysProcess with cmUVProcessChain ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8665
| * | | | Source: Fix mysterious new IWYU warningsKyle Edwards2023-08-294-0/+14
| | | | |
| * | | | cmCTestCoverageHandler: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-291-93/+18
| | | | |
| * | | | cmCTestLaunchReporter: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-296-226/+256
| | | | | | | | | | | | | | | | | | | | And convert cmCTestLaunch and cmCTestBuildHandler too.
| * | | | cmCTest: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-294-216/+246
| | | | |
| * | | | cmSystemTools::RunSingleCommand(): Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-293-90/+116
| | | | | | | | | | | | | | | | | | | | And pass OUTPUT_PASSTHROUGH in one call where it was missing.
| * | | | cmCTestScriptHandler: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-294-69/+123
| | | | | | | | | | | | | | | | | | | | And update cmSystemTools::WaitForLine() to use cmUVProcessChain.
| * | | | cmcmd: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-291-38/+32
| | | | |
| * | | | cmProcessTools::RunProcess(): Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-2913-264/+233
| | | | | | | | | | | | | | | | | | | | And convert the VCS code to std::vector<std::string>.
| * | | | cmExecuteProcessCommand: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-297-190/+200
| | | | |
* | | | | Merge topic 'nsis-correct-jump'Brad King2023-09-061-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3bfe0ea44 CPack/NSIS: Fix incorrect jump for standard user Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8767
| * | | | | CPack/NSIS: Fix incorrect jump for standard userSprite2023-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert an incorrect change from commit c4a0bcea77 (CPack: Fix NSIS handling of privileged users, 2012-02-01, v2.8.8~230^2). Fixes: #13939
* | | | | | Merge topic 'xcode-no-legacy-buildsystem'Brad King2023-09-068-6/+35
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b78a14e204 Xcode: reject legacy buildsystem for Xcode 14 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8762
| * | | | | | Xcode: reject legacy buildsystem for Xcode 14Gregor Jasny2023-08-318-6/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With Xcode 14 support for the Legacy Build System has been removed and the BuildSystemType in the WorkspaceSettings is ignored. If CMake still generates projects targeted to the Lecacy Build System the build preparation phase will likely fail because Xcode for example misses any declared outputs from script invocations. This is a hard to debug problem and CMake should reject the invalid configuration instead.
* | | | | | | Merge topic 'reduce-sign-conversion-warnings'Brad King2023-09-062-6/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b3464320f Reduce sign conversion warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8769
| * | | | | | | Reduce sign conversion warningsMatthew Woehlke2023-08-292-6/+8
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some static casts to make explicit some sign conversions in order to avoid warnings about the same. This is by no means an attempt to fix all such warnings, but these instances were especially egregious as they would be raised across many source files. Also change a post-increment of an iterator to pre-increment. At worst, this does nothing, but pre-increment is potentially more efficient.