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()
46
46
# runtime being patched only through public ABI.
47
47
list (APPEND CXX_COMPILE_FLAGS "-DSWIFT_COMPATIBILITY_LIBRARY=1" )
48
48
49
+ set (CMAKE_C_VISIBILITY_PRESET hidden )
50
+ set (CMAKE_CXX_VISIBILITY_PRESET hidden )
51
+ set (CMAKE_VISIBILITY_INLINES_HIDDEN YES )
52
+
49
53
if (SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT )
50
54
add_subdirectory (legacy_layouts )
51
55
add_subdirectory (Compatibility50 )
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ set(library_name "swiftCompatibility56")
2
2
3
3
include_directories ("include/" "${SWIFT_STDLIB_SOURCE_DIR} " )
4
4
5
- set (CMAKE_C_VISIBILITY_PRESET hidden )
6
- set (CMAKE_CXX_VISIBILITY_PRESET hidden )
7
- set (CMAKE_VISIBILITY_INLINES_HIDDEN YES )
8
-
9
5
add_compile_definitions (SWIFT_COMPATIBILITY56 )
10
6
add_swift_target_library ("${library_name} " STATIC
11
7
Overrides.cpp
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ set(library_name "swiftCompatibilityPacks")
2
2
3
3
include_directories ("include/" "${SWIFT_STDLIB_SOURCE_DIR} " )
4
4
5
- set (CMAKE_C_VISIBILITY_PRESET hidden )
6
- set (CMAKE_CXX_VISIBILITY_PRESET hidden )
7
- set (CMAKE_VISIBILITY_INLINES_HIDDEN YES )
8
-
9
5
add_compile_definitions (SWIFT_COMPATIBILITY_PACKS )
10
6
add_swift_target_library ("${library_name} " STATIC
11
7
Metadata.cpp
You can’t perform that action at this time.
0 commit comments