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()
6262
6363add_subdirectory (SwiftShims/swift/shims)
6464add_subdirectory (CommandLineSupport)
65+ add_subdirectory (Cxx)
6566add_subdirectory (Threading)
6667
6768# This static library is shared across swiftCore and swiftRemoteInspection
@@ -159,7 +160,6 @@ endif()
159160
160161if (SWIFT_BUILD_SDK_OVERLAY OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
161162 add_subdirectory (Platform)
162- add_subdirectory (Cxx)
163163endif ()
164164
165165if (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
2222 INSTALL_IN_COMPONENT compiler
2323 INSTALL_WITH_SHARED)
2424
25- add_subdirectory (std)
25+ if (SWIFT_BUILD_SDK_OVERLAY OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
26+ add_subdirectory (std)
27+ endif ()
2628add_subdirectory (cxxshim)
Original file line number Diff line number Diff line change @@ -43,15 +43,16 @@ foreach(sdk ${SWIFT_SDKS})
4343
4444 swift_install_in_component(FILES libcxxshim.modulemap libcxxshim.h
4545 DESTINATION "lib/swift/${arch_subdir} "
46- COMPONENT sdk-overlay )
46+ COMPONENT compiler )
4747 if (SWIFT_BUILD_STATIC_STDLIB)
4848 swift_install_in_component(FILES libcxxshim.modulemap libcxxshim.h
4949 DESTINATION "lib/swift_static/${arch_subdir} "
50- COMPONENT sdk-overlay )
50+ COMPONENT compiler )
5151 endif ()
5252 endforeach ()
5353endforeach ()
5454
5555add_custom_target (libcxxshim_modulemap DEPENDS ${libcxxshim_modulemap_target_list} )
5656set_property (TARGET libcxxshim_modulemap PROPERTY FOLDER "Miscellaneous" )
5757add_dependencies (sdk-overlay libcxxshim_modulemap)
58+ add_dependencies (compiler libcxxshim_modulemap)
You can’t perform that action at this time.
0 commit comments