File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ endif()
4646# runtime being patched only through public ABI.
4747list (APPEND CXX_COMPILE_FLAGS "-DSWIFT_COMPATIBILITY_LIBRARY=1" )
4848
49+ set (CMAKE_C_VISIBILITY_PRESET hidden)
50+ set (CMAKE_CXX_VISIBILITY_PRESET hidden)
51+ set (CMAKE_VISIBILITY_INLINES_HIDDEN YES )
52+
4953if (SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT)
5054 add_subdirectory (legacy_layouts)
5155 add_subdirectory (Compatibility50)
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ set(library_name "swiftCompatibility56")
22
33include_directories ("include/" "${SWIFT_STDLIB_SOURCE_DIR} " )
44
5- set (CMAKE_C_VISIBILITY_PRESET hidden)
6- set (CMAKE_CXX_VISIBILITY_PRESET hidden)
7- set (CMAKE_VISIBILITY_INLINES_HIDDEN YES )
8-
95add_compile_definitions (SWIFT_COMPATIBILITY56)
106add_swift_target_library("${library_name} " STATIC
117 Overrides.cpp
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ set(library_name "swiftCompatibilityPacks")
22
33include_directories ("include/" "${SWIFT_STDLIB_SOURCE_DIR} " )
44
5- set (CMAKE_C_VISIBILITY_PRESET hidden)
6- set (CMAKE_CXX_VISIBILITY_PRESET hidden)
7- set (CMAKE_VISIBILITY_INLINES_HIDDEN YES )
8-
95add_compile_definitions (SWIFT_COMPATIBILITY_PACKS)
106add_swift_target_library("${library_name} " STATIC
117 Metadata.cpp
You can’t perform that action at this time.
0 commit comments