Skip to content

Commit 5ad98aa

Browse files
committed
Remove notes about SwiftCompilerSources being unsupported with Xcode
1 parent b3ea191 commit 5ad98aa

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ set(SWIFT_TOOLS_ENABLE_LTO OFF CACHE STRING "Build Swift tools with LTO. One
192192
option only affects the tools that run on the host (the compiler), and has
193193
no effect on the target libraries (the standard library and the runtime).")
194194

195-
# NOTE: We do not currently support building the swift compiler modules with the Xcode generator.
196-
cmake_dependent_option(BOOTSTRAPPING_MODE [=[
195+
option(BOOTSTRAPPING_MODE [=[
197196
How to build the swift compiler modules. Possible values are
198197
OFF: build without swift modules
199198
HOSTTOOLS: build with a pre-installed toolchain
@@ -204,7 +203,7 @@ How to build the swift compiler modules. Possible values are
204203
`SWIFT_NATIVE_SWIFT_TOOLS_PATH` (non-Darwin only)
205204
CROSSCOMPILE-WITH-HOSTLIBS: build with a bootstrapping-with-hostlibs compiled
206205
compiler, provided in `SWIFT_NATIVE_SWIFT_TOOLS_PATH`
207-
]=] OFF "NOT XCODE" OFF)
206+
]=] OFF)
208207

209208
# The following only works with the Ninja generator in CMake >= 3.0.
210209
set(SWIFT_PARALLEL_LINK_JOBS "" CACHE STRING
@@ -1110,8 +1109,6 @@ if(SWIFT_INCLUDE_TOOLS)
11101109
# SwiftCompilerSources must come before "tools".
11111110
# It adds swift module names to the global property "swift_compiler_modules"
11121111
# which is used in add_swift_host_tool for the lldb workaround.
1113-
#
1114-
# NOTE: We do not currently support SwiftCompilerSources with the Xcode generator.
11151112
add_subdirectory(SwiftCompilerSources)
11161113

11171114
# Always include this after including stdlib/!

0 commit comments

Comments
 (0)