File tree 4 files changed +10
-10
lines changed
FoundationInternationalization
4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 12
12
##
13
13
##===----------------------------------------------------------------------===##
14
14
15
- add_subdirectory (_CShims )
15
+ add_subdirectory (_FoundationCShims )
16
16
add_subdirectory (FoundationMacros)
17
17
add_subdirectory (FoundationEssentials)
18
18
add_subdirectory (FoundationInternationalization)
Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ target_compile_options(FoundationEssentials PRIVATE ${_SwiftFoundation_availabil
67
67
target_compile_options (FoundationEssentials PRIVATE -package-name "SwiftFoundation" )
68
68
69
69
target_link_libraries (FoundationEssentials PUBLIC
70
- _CShims
70
+ _FoundationCShims
71
71
_FoundationCollections)
72
72
73
73
if (NOT BUILD_SHARED_LIBS )
74
74
target_compile_options (FoundationEssentials PRIVATE
75
- "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _CShims >" )
75
+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationCShims >" )
76
76
target_compile_options (FoundationEssentials PRIVATE
77
77
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationCollections>" )
78
78
endif ()
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ target_compile_options(FoundationInternationalization PRIVATE -package-name "Swi
36
36
37
37
target_link_libraries (FoundationInternationalization PUBLIC
38
38
FoundationEssentials
39
- _CShims
39
+ _FoundationCShims
40
40
_FoundationICU)
41
41
42
42
if (NOT BUILD_SHARED_LIBS )
43
43
target_compile_options (FoundationInternationalization PRIVATE
44
- "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _CShims >" )
44
+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationCShims >" )
45
45
target_compile_options (FoundationInternationalization PRIVATE
46
46
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationICU>" )
47
47
endif ()
Original file line number Diff line number Diff line change 12
12
##
13
13
##===----------------------------------------------------------------------===##
14
14
15
- add_library (_CShims STATIC
15
+ add_library (_FoundationCShims STATIC
16
16
platform_shims.c
17
17
string_shims.c
18
18
uuid.c)
19
19
20
- target_include_directories (_CShims PUBLIC include )
20
+ target_include_directories (_FoundationCShims PUBLIC include )
21
21
22
- set_property (GLOBAL APPEND PROPERTY SWIFT_FOUNDATION_EXPORTS _CShims )
22
+ set_property (GLOBAL APPEND PROPERTY SWIFT_FOUNDATION_EXPORTS _FoundationCShims )
23
23
24
24
if (BUILD_SHARED_LIBS )
25
25
set (install_directory swift)
@@ -31,11 +31,11 @@ endif()
31
31
install (DIRECTORY
32
32
include /
33
33
DESTINATION
34
- lib/${install_directory} /_CShims )
34
+ lib/${install_directory} /_FoundationCShims )
35
35
36
36
if (NOT BUILD_SHARED_LIBS )
37
37
get_swift_host_os(swift_os)
38
- install (TARGETS _CShims
38
+ install (TARGETS _FoundationCShims
39
39
ARCHIVE DESTINATION lib/${install_directory} /${swift_os}
40
40
LIBRARY DESTINATION lib/${install_directory} /${swift_os}
41
41
RUNTIME DESTINATION bin)
You can’t perform that action at this time.
0 commit comments