Browse Source

Merge topic 'fix-swift-whole-archive'

c894bc0831 Linker: Restore support for WHOLE_ARCHIVE with Swift libraries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10266
pull/376/head
Brad King 6 months ago
committed by Kitware Robot
parent
commit
ee35812ddf
  1. 6
      Modules/Platform/Linker/Apple-AppleClang-Swift.cmake
  2. 5
      Modules/Platform/Linker/Apple-Swift.cmake
  3. 6
      Modules/Platform/Linker/Linux-GNU-Swift.cmake
  4. 6
      Modules/Platform/Linker/Linux-GNUgold-Swift.cmake
  5. 6
      Modules/Platform/Linker/Linux-LLD-Swift.cmake
  6. 5
      Modules/Platform/Linker/Linux-Swift.cmake
  7. 6
      Modules/Platform/Linker/Windows-MSVC-Swift.cmake
  8. 5
      Modules/Platform/Linker/Windows-Swift.cmake
  9. 4
      Modules/Platform/Linker/WindowsPhone-MSVC-Swift.cmake
  10. 5
      Modules/Platform/Linker/WindowsPhone-Swift.cmake
  11. 4
      Modules/Platform/Linker/WindowsStore-MSVC-Swift.cmake
  12. 5
      Modules/Platform/Linker/WindowsStore-Swift.cmake

6
Modules/Platform/Linker/Apple-AppleClang-Swift.cmake

@ -0,0 +1,6 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
include(Platform/Linker/Apple-AppleClang)
__apple_linker_appleclang(Swift)

5
Modules/Platform/Linker/Apple-Swift.cmake

@ -0,0 +1,5 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
# AppleClang is the default linker
include(Platform/Linker/Apple-AppleClang-Swift)

6
Modules/Platform/Linker/Linux-GNU-Swift.cmake

@ -0,0 +1,6 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
include(Platform/Linker/Linux-GNU)
__linux_linker_gnu(Swift)

6
Modules/Platform/Linker/Linux-GNUgold-Swift.cmake

@ -0,0 +1,6 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
include(Platform/Linker/Linux-GNU-Swift)
set(CMAKE_Swift_PLATFORM_LINKER_ID GNUgold)

6
Modules/Platform/Linker/Linux-LLD-Swift.cmake

@ -0,0 +1,6 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
include(Platform/Linker/Linux-LLD)
__linux_linker_lld(Swift)

5
Modules/Platform/Linker/Linux-Swift.cmake

@ -0,0 +1,5 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
# GNU is the default linker
include(Platform/Linker/Linux-GNU-CXX)

6
Modules/Platform/Linker/Windows-MSVC-Swift.cmake

@ -0,0 +1,6 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
include(Platform/Linker/Windows-MSVC)
__windows_linker_msvc(Swift)

5
Modules/Platform/Linker/Windows-Swift.cmake

@ -0,0 +1,5 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
# MSVC is the default linker
include(Platform/Linker/Windows-MSVC-Swift)

4
Modules/Platform/Linker/WindowsPhone-MSVC-Swift.cmake

@ -0,0 +1,4 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
include(Platform/Linker/Windows-MSVC-Swift)

5
Modules/Platform/Linker/WindowsPhone-Swift.cmake

@ -0,0 +1,5 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
# MSVC is the default linker
include(Platform/Linker/WindowsPhone-MSVC-Swift)

4
Modules/Platform/Linker/WindowsStore-MSVC-Swift.cmake

@ -0,0 +1,4 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
include(Platform/Linker/Windows-MSVC-Swift)

5
Modules/Platform/Linker/WindowsStore-Swift.cmake

@ -0,0 +1,5 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
# MSVC is the default linker
include(Platform/Linker/WindowsStore-MSVC-Swift)
Loading…
Cancel
Save