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)
1042
1042
# "libswift" must come before "tools".
1043
1043
# It adds libswift module names to the global property "libswift_modules"
1044
1044
# 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 ()
1046
1050
1047
1051
# Always include this after including stdlib/!
1048
1052
# Refer to the large comment above the add_subdirectory(stdlib) call.
Original file line number Diff line number Diff line change 3
3
# if we build on Darwin since we do not have a host toolchain available when
4
4
# compiling on the bots for Linux meaning this path would not be tested.
5
5
if (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 ()
7
10
endif ()
You can’t perform that action at this time.
0 commit comments