File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ endif()
62
62
63
63
add_subdirectory (SwiftShims/swift/shims )
64
64
add_subdirectory (CommandLineSupport )
65
+ add_subdirectory (Cxx )
65
66
add_subdirectory (Threading )
66
67
67
68
# This static library is shared across swiftCore and swiftRemoteInspection
@@ -159,7 +160,6 @@ endif()
159
160
160
161
if (SWIFT_BUILD_SDK_OVERLAY OR SWIFT_BUILD_TEST_SUPPORT_MODULES )
161
162
add_subdirectory (Platform )
162
- add_subdirectory (Cxx )
163
163
endif ()
164
164
165
165
if (SWIFT_BUILD_SDK_OVERLAY )
Original file line number Diff line number Diff line change @@ -22,5 +22,7 @@ add_swift_target_library(swiftCxx ${SWIFT_CXX_LIBRARY_KIND} NO_LINK_NAME IS_STDL
22
22
INSTALL_IN_COMPONENT compiler
23
23
INSTALL_WITH_SHARED )
24
24
25
- add_subdirectory (std )
25
+ if (SWIFT_BUILD_SDK_OVERLAY OR SWIFT_BUILD_TEST_SUPPORT_MODULES )
26
+ add_subdirectory (std )
27
+ endif ()
26
28
add_subdirectory (cxxshim )
Original file line number Diff line number Diff line change @@ -43,15 +43,16 @@ foreach(sdk ${SWIFT_SDKS})
43
43
44
44
swift_install_in_component (FILES libcxxshim.modulemap libcxxshim.h
45
45
DESTINATION "lib/swift/${arch_subdir} "
46
- COMPONENT sdk-overlay )
46
+ COMPONENT compiler )
47
47
if (SWIFT_BUILD_STATIC_STDLIB )
48
48
swift_install_in_component (FILES libcxxshim.modulemap libcxxshim.h
49
49
DESTINATION "lib/swift_static/${arch_subdir} "
50
- COMPONENT sdk-overlay )
50
+ COMPONENT compiler )
51
51
endif ()
52
52
endforeach ()
53
53
endforeach ()
54
54
55
55
add_custom_target (libcxxshim_modulemap DEPENDS ${libcxxshim_modulemap_target_list} )
56
56
set_property (TARGET libcxxshim_modulemap PROPERTY FOLDER "Miscellaneous" )
57
57
add_dependencies (sdk-overlay libcxxshim_modulemap )
58
+ add_dependencies (compiler libcxxshim_modulemap )
You can’t perform that action at this time.
0 commit comments