summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmCoreTryCompile: Port to cmArgumentParserBrad King2022-08-0221-581/+430
|
* cmCoreTryCompile: Move target type selection logic to try_compileBrad King2022-08-024-25/+30
| | | | | This is specific to `try_compile` since `try_run` always needs an executable. Move the logic out of the common code path.
* cmCoreTryCompile: Simplify TryCompileCode return typeBrad King2022-08-023-28/+28
| | | | The return value is only used as a boolean, so use `bool`.
* Tests: Add RunCMake.try_compile case for try_run-only argsBrad King2022-08-023-0/+83
|
* Tests: Add RunCMake.try_run cases for missing keyword argumentsBrad King2022-08-0123-13/+58
|
* Merge topic 'command-arg-parser'Brad King2022-07-297-39/+48
|\ | | | | | | | | | | | | | | | | 4368a524c6 cmCMakePathCommand: Enforce non-empty string arguments via binding type 7ca8d9f0f8 cmArgumentParser: Model non-empty strings with wrapper type Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7512
| * cmCMakePathCommand: Enforce non-empty string arguments via binding typeBrad King2022-07-283-39/+12
| |
| * cmArgumentParser: Model non-empty strings with wrapper typeBrad King2022-07-284-0/+36
| | | | | | | | | | | | Some clients have been explicitly checking whether the string specified after a keyword is empty. Offer them a way to specify that the string must be non-empty as part of the binding type.
* | Merge topic 'ms-tool-dash-flags'Brad King2022-07-295-7/+23
|\ \ | | | | | | | | | | | | | | | | | | 9dbcfb8fdd MSVC: Recognize -XYZ as well as /XYZ when parsing MS tool command lines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7519
| * | MSVC: Recognize -XYZ as well as /XYZ when parsing MS tool command linesDubach, Joev2022-07-275-7/+23
| | | | | | | | | | | | Fixes: #23772
* | | CMake Nightly Date StampKitware Robot2022-07-291-1/+1
| | |
* | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \
| * | | CMake 3.24.0-rc5v3.24.0-rc5Brad King2022-07-281-1/+1
| | | |
* | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ | |/ / /
| * | | Merge branch 'release-3.23' into release-3.24Brad King2022-07-281-0/+7
| |\ \ \
* | \ \ \ Merge branch 'release-3.23'Brad King2022-07-281-0/+7
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | CMake 3.23.3v3.23.3Brad King2022-07-282-1/+8
| | | | |
* | | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'release-3.23' into release-3.24Brad King2022-07-281-2/+2
| |\ \ \ \ | | |/ / /
* | | | | Merge branch 'release-3.23'Brad King2022-07-280-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'release-3.22' into release-3.23Brad King2022-07-281-2/+2
| |\ \ \ \
* | \ \ \ \ Merge branch 'release-3.22'Brad King2022-07-281-2/+2
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | CMake 3.22.6v3.22.6Brad King2022-07-282-3/+3
| | | | | |
* | | | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge branch 'release-3.23' into release-3.24Brad King2022-07-280-0/+0
| |\ \ \ \ \ | | | |/ / / | | |/| | |
* | | | | | Merge branch 'release-3.23'Brad King2022-07-280-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'release-3.22' into release-3.23Brad King2022-07-280-0/+0
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| * | | | | Merge branch 'ci-xcode-13.4' into release-3.23Brad King2022-07-281-6/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !7520
* | \ \ \ \ \ Merge branch 'release-3.22'Brad King2022-07-280-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge branch 'ci-xcode-13.4' into release-3.22Brad King2022-07-281-6/+6
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | Merge-request: !7520
* | | | | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge topic 'ci-xcode-13.4' into release-3.24Brad King2022-07-281-6/+6
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eddf057830 gitlab-ci: update macOS jobs to use Xcode 13.4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7520
* | | | | | | Merge topic 'ci-xcode-13.4'Brad King2022-07-281-6/+6
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | / | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | eddf057830 gitlab-ci: update macOS jobs to use Xcode 13.4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7520
| * | | | | gitlab-ci: update macOS jobs to use Xcode 13.4Brad King2022-07-281-6/+6
| | |/ / / | |/| | |
* | | | | Merge topic 'command-arg-parser'Brad King2022-07-284-46/+420
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 236bacc244 cmArgumentParser: Offer bindings for positional arguments 1f2eb63d1c cmArgumentParser: Add callback bindings f5d2f6076a cmArgumentParser: Generalize expected argument count 078e2aec8f cmArgumentParser: Generalize internal state tracking 77fcb00a2b cmArgumentParser: Propagate constructors through binding wrapper types Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7514
| * | | | | cmArgumentParser: Offer bindings for positional argumentsBrad King2022-07-273-11/+87
| | | | | |
| * | | | | cmArgumentParser: Add callback bindingsBrad King2022-07-272-3/+201
| | | | | |
| * | | | | cmArgumentParser: Generalize expected argument countBrad King2022-07-272-33/+51
| | | | | | | | | | | | | | | | | | | | | | | | Replace the boolean expectation with an integer count.
| * | | | | cmArgumentParser: Generalize internal state trackingBrad King2022-07-272-24/+52
| | | | | | | | | | | | | | | | | | | | | | | | Use a `std::function` to support general actions on value arguments.
| * | | | | cmArgumentParser: Propagate constructors through binding wrapper typesBrad King2022-07-272-0/+54
| | | | | |
* | | | | | Merge topic 'FindCURL-version-string'Brad King2022-07-281-2/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0b7ae2af0d FindCURL: Fix version string in case of multiple curl installations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7515
| * | | | | | FindCURL: Fix version string in case of multiple curl installationsGeorg Lutz2022-07-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On systems where there are two versions of libcurl installed CURL_VERSION_STRING is always set to the version found by the `pkg_check_modules(PC_CURL QUIET libcurl)`. But CURL_VERSION_STRING should match the libs and include paths found by `find_path` and `find_library` (more specifically the path where the header is found, because that where the version is parsed from. So make sure that the version is always parsed from the header file, use the output of pkg_check_modules only as HINT for find_path / find_library.
* | | | | | | Merge topic 'find-sdl_gfx'Brad King2022-07-288-27/+102
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 13aee97207 FindSDL_gfx: Add module to find another SDL component 1279131a8e FindSDL_*: Drop module history from public documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7475
| * | | | | | | FindSDL_gfx: Add module to find another SDL componentXavier Del Campo Romero2022-07-273-0/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complement the several existing `FindSDL_*` modules. Follow the pattern of the existing `FindSDL_mixer` module. Fixes: #12004
| * | | | | | | FindSDL_*: Drop module history from public documentationBrad King2022-07-195-27/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This information belongs in commit messages, not documentation.
* | | | | | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | |
| * | | | | | | Merge topic 'verify-interface-header-sets-interface-library-source-language' ↵Brad King2022-07-284-1/+14
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into release-3.24 41f15193e5 VERIFY_INTERFACE_HEADER_SETS: Fall back to global languages Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7517
* | \ \ \ \ \ \ \ Merge topic 'verify-interface-header-sets-interface-library-source-language'Brad King2022-07-284-1/+14
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 41f15193e5 VERIFY_INTERFACE_HEADER_SETS: Fall back to global languages Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7517
| * | | | | | | | VERIFY_INTERFACE_HEADER_SETS: Fall back to global languagesKyle Edwards2022-07-274-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a target doesn't have any source files, fall back to the global list of enabled languages to determine the language of the header file to verify. Fixes: #23774
* | | | | | | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |