Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add options to specify linker tool | Marc Chevrier | 2023-10-13 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | 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 flag | Marc Chevrier | 2023-09-21 | 1 | -0/+3 |
| | | | | Use the compiler option rather than the linker one. | ||||
* | Refactor: Use added message types in various modules | Alex Turbov | 2019-11-02 | 1 | -6/+6 |
| | | | | Co-Authored-By: Craig Scott <craig.scott@crascit.com> | ||||
* | Apple: Use include_guard() within compiler config | Gregor Jasny | 2018-04-18 | 1 | -4/+1 |
| | |||||
* | Apple: Use CMAKE_EFFECTIVE_SYSTEM_NAME to share compiler info | Gregor Jasny | 2018-04-18 | 1 | -0/+60 |
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 |