summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'add-try_compile-test-documentation'Brad King2022-09-192-0/+18
|\ | | | | | | | | | | | | | | e933fccc7e Tests: document try_{compile,run} old/new signature testing Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7681
| * Tests: document try_{compile,run} old/new signature testingMatthew Woehlke2022-09-152-0/+18
| | | | | | | | | | Add a brief documentation blurb to the try_compile and try_run test sets on writing tests for both "old" and "new" signatures.
* | Merge topic 'improve-try_compile-arg-error'Brad King2022-09-195-7/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | f976800577 try_compile: More useful error if insufficient arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7682
| * | try_compile: More useful error if insufficient argumentsMatthew Woehlke2022-09-155-7/+12
| |/ | | | | | | | | Tweak try_compile and try_run to give a more informative error (rather than "unknown error") when given an insufficient number of arguments.
* | CMake Nightly Date StampKitware Robot2022-09-191-1/+1
| |
* | CMake Nightly Date StampKitware Robot2022-09-181-1/+1
| |
* | CMake Nightly Date StampKitware Robot2022-09-171-1/+1
| |
* | Merge topic 'try_compile-new-project-signature'Brad King2022-09-1622-33/+147
|\ \ | | | | | | | | | | | | | | | | | | | | | 56ae40cc59 try_compile: Add PROJECT keyword-dispatched signature Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7677
| * | try_compile: Add PROJECT keyword-dispatched signatureMatthew Woehlke2022-09-1422-33/+147
| | | | | | | | | | | | | | | | | | | | | Introduce a new signature for the project flavor of try_compile (and try_run) which removes the `bindir` argument and adds a required PROJECT tag. This is similar to the SOURCES flavor added by commit aa9220d3 (try_compile: Add keyword-dispatched signature, 2022-09-02).
* | | Merge topic 'xcode-lib-dirs'Brad King2022-09-168-4/+74
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d4cc39842e Xcode: Do not append per-config suffixes to library search paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7672
| * | | Xcode: Do not append per-config suffixes to library search pathsMikko Sivulainen2022-09-158-4/+74
| |/ / | | | | | | | | | | | | | | | | | | Add policy `CMP0142` to remove the automatic addition of the `$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)` suffix in a compatible way. Fixes: #21757
* | | Merge topic 'fphsa-no-version-var'Brad King2022-09-164-9/+18
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 07f0a78874 FPHSA: Fix regression when VERSION_VAR is missing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7680
| * | | FPHSA: Fix regression when VERSION_VAR is missingBrad King2022-09-154-9/+18
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | If a package is found but FPHSA is called by the find module without a `VERSION_VAR`, and the `find_package` call specifies a version, we have previously accepted the package as found. This was accidentally regressed by commit 8f50f135ae (FPHSA: Improve error message when VERSION_VAR is empty or has been unset(), 2022-08-01). Restore it and add a test case.
* | | Merge topic 'cmake-presets-package-clear'Kyle Edwards2022-09-161-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec8b67918c cmCMakePresetsGraph: Clear package presets in ClearPresets() Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7688
| * | | cmCMakePresetsGraph: Clear package presets in ClearPresets()Kyle Edwards2022-09-151-0/+2
| |/ /
* | | Merge topic 'cmake-presets-list-error-message'Kyle Edwards2022-09-164-1/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e7087308ce cmake --list-presets: List package as a valid option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7684
| * | | cmake --list-presets: List package as a valid optionKyle Edwards2022-09-154-1/+6
| |/ /
* | | CMake Nightly Date StampKitware Robot2022-09-161-1/+1
|/ /
* | Merge topic 'add_tasking_compiler'Brad King2022-09-1513-0/+267
|\ \ | | | | | | | | | | | | | | | | | | 94df5b6ef1 Tasking: Add support for several compiler toolsets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7491
| * | Tasking: Add support for several compiler toolsetsChristoph Seitz2022-09-1413-0/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the Tasking compiler toolset: * TriCore Compiler Toolset 6.3 (with TriCore, ARM, MCS, 8051 and PCP architecture compilers) * SmartCode Compiler Toolset 10.1 (with TriCore, ARC, MCS, 8051 architecture compilers) * ARM Compiler 6.0 * MCS Complier 3.3 * 8051 Compiler 7.2 Fixes: #23756
* | | Merge topic 'export-ios-app-layout'Brad King2022-09-151-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d26c520f4b export: Fix IMPORTED_LOCATION of iOS flat app bundles Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7676
| * | | export: Fix IMPORTED_LOCATION of iOS flat app bundlesHarry Mallon2022-09-141-1/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | iOS/tvOS app bundles are flat and do not include the `Contents/MacOS/` layers, so they should not be in the `IMPORTED_LOCATION`. Use the same logic that commit 34f5ef564a (iOS: Fix App Bundle layout, 2015-12-10, v3.5.0-rc1~129^2~1) added for the installation layout. Fixes: #23963
* | | Merge topic 'binutils-apple-no-lld'Brad King2022-09-151-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a54e25b547 BinUtils: Avoid the 'ld.lld' ELF linker on Apple platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7671
| * | | BinUtils: Avoid the 'ld.lld' ELF linker on Apple platformsCarlo Cabrera2022-09-141-1/+1
| | |/ | |/| | | | | | | | | | `ld.lld` is an ELF linker, so we should never set `CMAKE_LINKER` to this when targeting an Apple platform.
* | | Merge topic 'fix-try_compile-tests'Brad King2022-09-153-3/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ecbf1f938 Tests: Fix recently added tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7678
| * | | Tests: Fix recently added testsMatthew Woehlke2022-09-143-3/+9
| | |/ | |/| | | | | | | | | | | | | Fix the tests added by commit 0c141b03 (try_compile: Record output location instead of reverse computing it, 2022-08-31), which were added as old-and-new-signature tests but only used the old signature.
* | | Merge branch 'release-3.24'Brad King2022-09-150-0/+0
|\ \ \
| * \ \ Merge topic 'FindMatlab-macos-arm64' into release-3.24Brad King2022-09-151-1/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0edac914a FindMatlab: Add MEX binary file suffix for Apple Silicon native Matlab Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7673
* | \ \ \ Merge topic 'FindMatlab-macos-arm64'Brad King2022-09-151-1/+5
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | f0edac914a FindMatlab: Add MEX binary file suffix for Apple Silicon native Matlab Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7673
| * | | | FindMatlab: Add MEX binary file suffix for Apple Silicon native MatlabMichael Hirsch2022-09-141-1/+5
| | | | | | | | | | | | | | | | | | | | The Matlab MEX binary file suffix is distinct for Apple Silicon.
* | | | | Merge branch 'release-3.24'Brad King2022-09-150-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'link-framework-with-multi-config-postfix' into release-3.24Brad King2022-09-154-11/+23
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | fc06450ff4 Apple: Fix regression when linking a framework with postfix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7675
* | | | | Merge topic 'link-framework-with-multi-config-postfix'Brad King2022-09-154-11/+23
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | fc06450ff4 Apple: Fix regression when linking a framework with postfix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7675
| * | | | Apple: Fix regression when linking a framework with postfixMarc Chevrier2022-09-144-11/+23
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Fix a regression caused by commit 40178f3c90 (cmGlobalGenerator: Add helper to split framework path, 2022-02-10, v3.24.0-rc1~661^2~1). Fixes: #23961
* | | | CMake Nightly Date StampKitware Robot2022-09-151-1/+1
| |/ / |/| |
* | | Merge topic 'MsvcDebugInformationFormatAbstraction'Brad King2022-09-1443-15/+546
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a858466aac MSVC: Add test for debug information format 0e96a20478 MSVC: Add abstraction for debug information format d4c8111da4 Clang/Windows: Clarify name of internal runtime library flags variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7606
| * | | MSVC: Add test for debug information formatBrad King2022-09-1411-0/+147
| | | | | | | | | | | | | | | | | | | | Verify that the format's flags are used to compile, both in the main project and in `try_compile` test projects.
| * | | MSVC: Add abstraction for debug information formatGlen Chung2022-09-1432-7/+391
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace our hard-coded default for `/Zi` with a first-class abstraction to select the debug information format an enumeration of logical names. We've long hesitated to do this because the idea of "debug information format" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flag requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0141 to provide compatibility. Fixes: #10189
| * | | Clang/Windows: Clarify name of internal runtime library flags variablesBrad King2022-09-131-10/+10
| | | | | | | | | | | | | | | | Also avoid extra spaces in resulting flag strings.
* | | | Merge topic 'Windows-Intel-dependencies'Brad King2022-09-142-12/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90874a542e Intel classic compilers on Windows: use msvc style dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !7668
| * | | | Intel classic compilers on Windows: use msvc style dependenciesMarc Chevrier2022-09-132-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intel classic compilers generate erroneous dependencies when gcc style is used with paths containing spaces. So, fall back to the old way to generate dependencies by using option /showIncludes. Fixes: #23948
* | | | | Merge topic 'modules-use-new-try_compile-signature'Brad King2022-09-1440-80/+81
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2edf0fc6d7 Modules: Use new keyword-dispatched try_compile signature Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7656
| * | | | | Modules: Use new keyword-dispatched try_compile signatureMatthew Woehlke2022-09-1440-80/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify most of the modules that ship with CMake to use the new try_compile / try_run signatures added by commit aa9220d3a0 (try_compile: Add keyword-dispatched signature, 2022-09-02). This improves debugging by each invocation using its own directory so that the results of multiple invocations can be retained. This does not cover any invocations which provide an entire project, as that flavor of try_compile has not yet been updated.
* | | | | | Merge topic 'cmake-presets-package-unsupported-error'Brad King2022-09-142-2/+2
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3546657cc7 CMakePresets.json: Fix error message for unsupported package presets Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7669
| * | | | | CMakePresets.json: Fix error message for unsupported package presetsKyle Edwards2022-09-132-2/+2
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2022-09-141-1/+1
| | | | | |
* | | | | | Merge branch 'release-3.24'Brad King2022-09-131-3/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | |
| * | | | CMake 3.24.2v3.24.2Brad King2022-09-132-4/+4
| | | | |
* | | | | Merge topic 'FindMPI-more-robust-conditionals'Brad King2022-09-131-70/+70
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08dece8b18 FindMPI: remove unnecessary variable expansions in conditionals 1edc2f337f FindMPI: match full language names when "simplifying" 93b5bdb8b4 FindMPI: quote literal values Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7666
| * | | | | FindMPI: remove unnecessary variable expansions in conditionalsBen Boeckel2022-09-121-53/+53
| | | | | |