summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePackage
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Enable RunCMake.CMakePackage visionOS cases with Xcode 15.2Brad King2024-02-092-6/+5
| | | | | | | | | Xcode 15.2 officially includes the visionOS SDKs. Fix a typo from commit 2a398cd9b6 (CMakePackageConfigHelpers: Clarify generate_apple_*_selection_file signatures, 2024-01-04) to make it pass. Issue: #25266
* CMakePackageConfigHelpers: Clarify generate_apple_*_selection_file signaturesBrad King2024-01-052-13/+13
| | | | | | | | | | | | | | | | | | | The helpers added by: * commit 37bc3400cd (CMakePackageConfigHelpers: Add generate_apple_platform_selection_file(), 2023-11-03) * commit 4ac5a2f866 (CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file(), 2023-12-19) were worded in terms of including package configuration files, but the actual functionality is to include files *from* package configuration files. The included files do not themselves need to be usable as package configuration files. Rename the options and clarify the documentation accordingly. Issue: #25262 Issue: #25516
* CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file()Brad King2023-12-1910-2/+46
| | | | | | | Add a helper to select architecture-specific implementations of a package on an Apple-specific platform. Fixes: #25516
* generate_apple_platform_selection_file: Add INSTALL_PREFIX optionBrad King2023-12-191-0/+1
| | | | This is necessary to forward to `configure_package_config_file`.
* Tests: Verify generate_apple_platform_selection_file file pathsBrad King2023-12-1910-0/+12
|
* CMakePackageConfigHelpers: Clarify Apple platform selection usage errorBrad King2023-12-184-0/+15
| | | | `generate_apple_platform_selection_file` requires `INSTALL_DESTINATION`.
* Tests: Cover generate_apple_platform_selection_file on all platformsBrad King2023-12-1626-0/+173
The test added by commit 37bc3400cd (CMakePackageConfigHelpers: Add generate_apple_platform_selection_file(), 2023-11-03) covers importing only on macOS, and is specific to the xcframework test case. Add a dedicated test for `generate_apple_platform_selection_file` that covers export and import on all platforms.