summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | | | | | Merge topic 'FindMatlab'Brad King2023-09-061-11/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7d7fe9981c FindMatlab: use if(IS_DIRECTORY) for directories instead of EXISTS cf554750dd FindMatlab: no if(NOT EXIST) guard needed for file(MAKE_DIRECTORY) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8759
| * | | | | | | FindMatlab: use if(IS_DIRECTORY) for directories instead of EXISTSscivision2023-08-271-8/+8
| | | | | | | |
| * | | | | | | FindMatlab: no if(NOT EXIST) guard needed for file(MAKE_DIRECTORY)scivision2023-08-271-3/+1
| | | | | | | |
* | | | | | | | Merge topic 'FindGLEW-mingw'Brad King2023-09-061-0/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a37a04b5c6 FindGLEW: Use correct library suffixes on MinGW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8766
| * | | | | | | | FindGLEW: Use correct library suffixes on MinGWمهدي شينون (Mehdi Chinoune)2023-09-031-0/+4
| | | | | | | | |
* | | | | | | | | Merge topic 'ci-vs2022-qt'Brad King2023-09-063-1/+9
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc41962481 ci: Enable Qt tests in nightly VS IDE job 67abc25e67 ci: Factor out location of cmake in Qt download script Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8771
| * | | | | | | | | ci: Enable Qt tests in nightly VS IDE jobBrad King2023-09-051-0/+4
| | | | | | | | | |
| * | | | | | | | | ci: Factor out location of cmake in Qt download scriptBrad King2023-09-052-1/+5
| | |_|_|_|_|/ / / | |/| | | | | | |
* | | | | | | | | Merge branch 'release-3.27'Brad King2023-09-060-0/+0
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | |
| * | | | | | | | Merge topic 'fortran-object-libraries' into release-3.27Brad King2023-09-063-2/+15
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 74b1d6caf3 cmComputeLinkInformation: compute link info for module-using targets 6251edaed1 cmGeneratorTarget: support config-independent Fortran source queries Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8772
* | \ \ \ \ \ \ \ \ Merge topic 'fortran-object-libraries'Brad King2023-09-063-2/+15
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 045d8eca6c Merge branch 'fortran-object-libraries-release' into fortran-object-libraries 74b1d6caf3 cmComputeLinkInformation: compute link info for module-using targets 6251edaed1 cmGeneratorTarget: support config-independent Fortran source queries Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8772
| * \ \ \ \ \ \ \ \ \ Merge branch 'fortran-object-libraries-release' into fortran-object-librariesBen Boeckel2023-09-053-2/+15
| |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| / / / / / / / | | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | * fortran-object-libraries-release: cmComputeLinkInformation: compute link info for module-using targets cmGeneratorTarget: support config-independent Fortran source queries
| | * | | | | | | | cmComputeLinkInformation: compute link info for module-using targetsBen Boeckel2023-09-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Targets which contain C++ module or Fortran sources need to participate in link information unconditionally regardless of whether they actually have link artifacts or not. Fixes: #25223
| | * | | | | | | | cmGeneratorTarget: support config-independent Fortran source queriesBen Boeckel2023-09-052-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some locations care about "any config with Fortran", so make a query for such (they may not know any configuration names themselves).
* | | | | | | | | | Merge branch 'release-3.27'Brad King2023-09-060-0/+0
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge topic 'doc-msvc-debug-format' into release-3.27Brad King2023-09-061-0/+2
| |\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 91dc94c4ac Help: MSVC_DEBUG_INFORMATION_FORMAT is initialized from associated variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8770
* | | | | | | | | | Merge topic 'doc-msvc-debug-format'Brad King2023-09-061-0/+2
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 91dc94c4ac Help: MSVC_DEBUG_INFORMATION_FORMAT is initialized from associated variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8770