summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Modules: Do not implicitly add new functions via old Check ModulesRobert Maynard2020-10-2623-356/+386
| | | | | | | | | | | | | The conversion of Check<Lang>CompilerFlag, SourceCompiles, and SourceRuns over to the new functions has the possibility of breaking projects that had functions with those existing names. To reduce the possibility of collisions we now have all the legacy code call functions that start with `cmake_`, and users will need to explicitly include the new modules to get the non-prefixed versions Fixes: #21359
* Merge topic 'correct_profiling-output_exception' into release-3.19Brad King2020-10-261-3/+3
|\ | | | | | | | | | | | | afac7482d2 cmake: command arguments which use '=' behave consistently Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5414
| * cmake: command arguments which use '=' behave consistentlyRobert Maynard2020-10-231-3/+3
| | | | | | | | | | | | | | Fixes: #21351 The `profiling-format`, `profiling-output`, and `preset` all would crash when invoked without a trailing `=`.
* | Merge topic 'per-config-source-TARGET_FILE' into release-3.19Brad King2020-10-262-6/+24
|\ \ | | | | | | | | | | | | | | | | | | cd33bfcad5 add_custom_command: Properly recognize if sources depend on config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5410
| * | add_custom_command: Properly recognize if sources depend on configDeniz Bahadir2020-10-222-6/+24
| | | | | | | | | | | | Fixes: #21349
* | | Merge topic 'FindBoost-config-mode' into release-3.19Brad King2020-10-261-1/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4b2a61946f FindBoost: Honor BOOST_ROOT when finding upstream BoostConfig b32cb33275 FindBoost: Honor Boost_NO_SYSTEM_PATHS when finding upstream BoostConfig Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5408
| * | | FindBoost: Honor BOOST_ROOT when finding upstream BoostConfigBrad King2020-10-221-0/+6
| | | | | | | | | | | | | | | | Fixes: #21200
| * | | FindBoost: Honor Boost_NO_SYSTEM_PATHS when finding upstream BoostConfigBrad King2020-10-221-1/+6
| | | | | | | | | | | | | | | | Issue: #21200
* | | | Merge topic 'docs-cleanup-3.19' into release-3.19Craig Scott2020-10-2614-90/+107
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95c14579f2 Help: Cleanup typos and grammar for the 3.19 release Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5419
| * | | | Help: Cleanup typos and grammar for the 3.19 releaseCraig Scott2020-10-2414-90/+107
|/ / / /
* | | | Merge topic 'vs-fortran-debugging-flags' into release-3.19Brad King2020-10-231-3/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ad6fabfc5 VS: Remove flag table entries for Fortran /Z* flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5406
| * | | | VS: Remove flag table entries for Fortran /Z* flagsVolker Jacht2020-10-221-3/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were included when the Fortran flag table was first created by commit 10c91ded4f (ENH: add support for Intel Fortran Visual studio IDE, 2008-04-30, v2.8.0~2227), but they map to fields not actually supported by the IDE. Remove their table entries. Instead use just `/debug:minimal` and `/debug:full` to control debug information level in VS Intel Fortran. Let flags like `/Z7` pass through as raw additional options because they have no corresponding IDE property and can be used to complement the supported options. Fixes: #21340
* | | | Merge topic 'cmake-presets-toolset-arch-config' into release-3.19Craig Scott2020-10-2333-95/+241
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64afabdbcb CMakePresets.json: Split cmakeGeneratorConfig field Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5387
| * | | | CMakePresets.json: Split cmakeGeneratorConfig fieldKyle Edwards2020-10-2233-95/+241
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Make this field separate for both architecture and toolset. Allow architecture and toolset to be either strings or objects with value and strategy fields. Fixes: #21317
* | | | Merge topic 'cmake-presets-source-dir-name' into release-3.19Craig Scott2020-10-235-0/+12
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 25742c589c CMakePresets.json: Add ${sourceDirName} macro Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: Craig Scott <craig.scott@crascit.com> Merge-request: !5386
| * | | CMakePresets.json: Add ${sourceDirName} macroKyle Edwards2020-10-225-0/+12
|/ / / | | | | | | | | | Fixes: #21312
* | | Merge topic 'cmake-presets-invalid-macro' into release-3.19Kyle Edwards2020-10-2217-183/+268
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 638557cbfe CMakePresets.json: Properly report macro expansion errors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5397
| * | | CMakePresets.json: Properly report macro expansion errorsKyle Edwards2020-10-2117-183/+268
| |/ / | | | | | | | | | | | | | | | | | | | | | Make a distinction between strings which simply use the $vendor{<...>} macro, which is valid but makes it unusable by CMake, and strings which actually contain invalid macro expansions. Fixes: #21308
* | | Merge topic 'cmake-presets-boolean-cache' into release-3.19Kyle Edwards2020-10-226-7/+71
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 920d180047 CMakePresets.json: Allow boolean for cache variable value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5398
| * | CMakePresets.json: Allow boolean for cache variable valueKyle Edwards2020-10-216-7/+71
|/ / | | | | | | Fixes: #21327
* | Merge topic 'cmakepresets-schema' into release-3.19Kyle Edwards2020-10-2110-2/+315
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 21bc2fd945 CI: Install jsonschema for schema testing e3bce8edf4 Tests: Add JSON schema validation to CMakePresets.json tests 0307f7c980 Help: Add JSON schema for CMakePresets.json Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5366
| * | CI: Install jsonschema for schema testingKyle Edwards2020-10-203-1/+3
| | |
| * | Tests: Add JSON schema validation to CMakePresets.json testsKyle Edwards2020-10-204-1/+61
| | |
| * | Help: Add JSON schema for CMakePresets.jsonBen McMorran2020-10-203-0/+251
| | |
* | | Merge topic 'ci-win-python' into release-3.19Brad King2020-10-202-0/+44
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 8f7fef629b ci: add Python to PATH on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !5403
| * | ci: add Python to PATH on WindowsBrad King2020-10-202-0/+44
|/ / | | | | | | | | | | | | Our test suite searches for a Python interpreter to perform some extra checks. Our CI base images for Linux have Python available. Update our Windows jobs to provide a Python interpreter for our test suite to find consistently between the build and test steps.
* | Merge topic 'cmake-presets-doc-move' into release-3.19Kyle Edwards2020-10-206-332/+388
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4a123fc28c Help: Clarify purpose of warnings and errors 6c74bcfc20 Help: Make architecture and toolset descriptions generic 45766789a0 Help: Add inheritance to CMakePresets.json example 88c9d6f6eb Help: Add documentation for debug field efab856008 Help: Show environment field 2208db114c Help: Show multiple ways of doing cacheVariables d30f85193f Help: Move vendor field into example b9c8c57860 Help: s/unusedVars/unusedCli/ ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5373
| * | Help: Clarify purpose of warnings and errorsKyle Edwards2020-10-191-4/+4
| | |
| * | Help: Make architecture and toolset descriptions genericKyle Edwards2020-10-191-4/+4
| | |
| * | Help: Add inheritance to CMakePresets.json exampleKyle Edwards2020-10-191-0/+7
| | |
| * | Help: Add documentation for debug fieldKyle Edwards2020-10-191-0/+20
| | | | | | | | | | | | Oops!
| * | Help: Show environment fieldKyle Edwards2020-10-192-0/+5
| | |
| * | Help: Show multiple ways of doing cacheVariablesKyle Edwards2020-10-192-3/+5
| | | | | | | | | | | | | | | This demonstrates both the simple string and the complex object, and ensures that they get automated testing.
| * | Help: Move vendor field into exampleKyle Edwards2020-10-192-14/+12
| | | | | | | | | | | | | | | This ensures that the vendor field gets automated testing from the example.
| * | Help: s/unusedVars/unusedCli/Kyle Edwards2020-10-191-1/+1
| | | | | | | | | | | | | | | | | | This was a mistake in the documentation. Fixes: #21303
| * | Help: Move CMakePresets.json documentation into a separate fileKyle Edwards2020-10-194-329/+353
| | |
* | | Merge topic 'find_package-check-dir' into release-3.19Brad King2020-10-201-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0356b81525 find_package: Fix regression in searching root prefix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5396
| * | | find_package: Fix regression in searching root prefixBrad King2020-10-191-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | Fix the check added by commit 2ff1693066 (find_package: avoid showing files as directories when searching config files, 2020-09-30, v3.19.0-rc1~67^2) to avoid skipping the root prefix `/`. Fixes: #21324
* | | Merge topic 'FindPython-support-version-3.10' into release-3.19Brad King2020-10-191-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 23cd98a66a FindPython: Add support of version 3.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5383
| * | | FindPython: Add support of version 3.10Marc Chevrier2020-10-161-1/+1
| | | |
* | | | Merge topic 'separate_arguments-no-args' into release-3.19Brad King2020-10-194-0/+20
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 747f80fe82 separate_arguments: Fix crash on *_COMMAND with no arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5382
| * | | separate_arguments: Fix crash on *_COMMAND with no argumentsRobert Bozzetto2020-10-164-0/+20
| |/ / | | | | | | | | | Fixes: #21320
* | | Merge topic 'doc-CMP0111' into release-3.19Brad King2020-10-195-15/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c3a91c808 CMP0111: Clarify that the new error is on a missing property setting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Reinking <alex_reinking@berkeley.edu> Merge-request: !5385
| * | | CMP0111: Clarify that the new error is on a missing property settingBrad King2020-10-165-15/+25
| |/ / | | | | | | | | | The previous wording could be confused with the file missing on disk.
* | | Merge topic 'sccache-macos-without-timeouts' into release-3.19Brad King2020-10-191-4/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0fe666846 ci: use a patched sccache on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !5394
| * | | ci: use a patched sccache on macOSBen Boeckel2020-10-191-4/+12
|/ / / | | | | | | | | | | | | | | | | | | This version is much less likely to timeout on server startup since it runs the expensive computation in a background thread. See https://github.com/mozilla/sccache/pull/868 for the status.
* | | Merge topic 'cmake-gui-disable-presets' into release-3.19Craig Scott2020-10-173-22/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d471406f0b CMake GUI: Disable preset fields instead of hiding them Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !5374
| * | | CMake GUI: Disable preset fields instead of hiding themKyle Edwards2020-10-163-22/+24
| | | |
* | | | Merge topic 'file-configure-angle-brackets' into release-3.19Brad King2020-10-167-20/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06a9a3bdc3 file(CONFIGURE): Allow angle brackets in content Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5379
| * | | | file(CONFIGURE): Allow angle brackets in contentCristian Adam2020-10-157-20/+9
| | | | | | | | | | | | | | | | | | | | Fixes: #21306