summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Apple-Clang.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Linker configuration: introduce a new architectureMarc Chevrier2024-07-201-2/+0
| | | | | | | | A new set of files are dedicated to linker configuration. This set of files enable a fine-tuned configuration based of the linker type as identified during compiler detection. Fixes: #25360
* Merge topic 'ios-mac-catalyst'Brad King2024-07-081-0/+2
|\ | | | | | | | | | | | | 2785364b7b iOS: Add support for Mac Catalyst Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9595
| * iOS: Add support for Mac CatalystRaul Metsma2024-07-031-0/+2
| | | | | | | | | | Issue: #20132 Signed-off-by: Raul Metsma <raul@metsma.ee>
* | Link feature attributes: stabilizationMarc Chevrier2024-06-211-1/+1
| | | | | | | | | | * enhance OVERRIDE handling * Update wording
* | Libraries processing: update configuration wordingMarc Chevrier2024-06-211-1/+1
|/
* GenEx $<LINK_LIBRARY>: Add the support of properties attached to featuresMarc Chevrier2024-05-151-0/+1
| | | | Fixes: #24504, #25954
* Merge branch 'backport-3.28-visionOS' into visionOSBrad King2024-02-091-3/+3
|\
| * visionOS: Update deployment-target flag for Xcode 15.1 betaBrad King2024-02-091-3/+3
| | | | | | | | | | | | | | | | Use the same flags Xcode adds for `XROS_DEPLOYMENT_TARGET`. They are `-target arm64-apple-xros1.0` and `-target arm64-apple-xros1.0-simulator`, where `1.0` is the deployment target version. Fixes: #25188
* | Link step: Enable to configure deduplication of librariesMarc Chevrier2023-11-091-0/+2
| | | | | | | | | | | | | | | | | | Some platforms, Apple or Windows for instance, do not require to duplicate static libraries to resolve mutual dependencies. Moreover, Xcode version 15 emits a warning if a library is duplicated. On Windows, enable a better control of libraries order. Fixes: #20722, #25297
* | Add options to specify linker toolMarc Chevrier2023-10-131-0/+7
|/ | | | | | | | | | | | | | | | | | Offer the capability, through variable `CMAKE_LINKER_TYPE`, as well as the target property `LINKER_TYPE` to specify which linker must be used. The implementation of this capability is specified by variables specific to the language and linker type: `CMAKE_<LANG>_USING_LINKER_<TYPE>`. Some definitions are provided as part of `CMake`. For example, to select the `LLVM` linker rather than the standard one, the type `LLD` should be specified through the variable `CMAKE_LINKER_TYPE`. And, on `Apple`, `Linux` and some environments on `Windows`, the variable `CMAKE_<LANG>_USING_LINKER_LLD` has value `-fuse-ld=lld`. And for `Windows` environments based on `MSVC`, where the linker is used directly, the tool `lld-link.exe` will be used rather than `link.exe`. Fixes: #19174, #24254, #24990
* macOS: Framework: simplify link flagMarc Chevrier2023-09-211-0/+4
| | | | Use the compiler option rather than the linker one.
* apple: add preliminary visionOS supportGregor Jasny2023-07-111-0/+4
|
* Apple: Use include_guard() within compiler configGregor Jasny2018-04-181-4/+1
|
* Apple: Use CMAKE_EFFECTIVE_SYSTEM_NAME to share compiler infoGregor Jasny2018-04-181-0/+35
Apple platforms macOS, iOS, tvOS, and watchOS can all share the same compiler information. Rename `Darwin-*` modules to `Apple-*` and load them all through `CMAKE_EFFECTIVE_SYSTEM_NAME`. This saves duplication of 4 * 21 compiler information modules. Issue: #17870