File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
validation-test/BuildSystem Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -1042,7 +1042,11 @@ if(SWIFT_INCLUDE_TOOLS)
10421042 # "libswift" must come before "tools".
10431043 # It adds libswift module names to the global property "libswift_modules"
10441044 # which is used in add_swift_host_tool for the lldb workaround.
1045- add_subdirectory (libswift)
1045+ #
1046+ # NOTE: We do not currently support libswift with the Xcode generator.
1047+ if (NOT CMAKE_GENERATOR STREQUAL "Xcode" )
1048+ add_subdirectory (libswift)
1049+ endif ()
10461050
10471051 # Always include this after including stdlib/!
10481052 # Refer to the large comment above the add_subdirectory(stdlib) call.
Original file line number Diff line number Diff line change 33# if we build on Darwin since we do not have a host toolchain available when
44# compiling on the bots for Linux meaning this path would not be tested.
55if (CMAKE_Swift_COMPILER AND APPLE )
6- add_subdirectory (swift-cmake)
6+ # We do not support this with the Xcode generator currently.
7+ if (NOT CMAKE_GENERATOR STREQUAL "Xcode" )
8+ add_subdirectory (swift-cmake)
9+ endif ()
710endif ()
You can’t perform that action at this time.
0 commit comments