Skip to content

Commit f82307e

Browse files
committed
build: use a multiline string literal (NFC)
This uses a multiline string literal for the documentation rather than a single string over multiple lines.
1 parent 8612cd0 commit f82307e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ set(SWIFT_TOOLS_ENABLE_LTO OFF CACHE STRING "Build Swift tools with LTO. One
188188
no effect on the target libraries (the standard library and the runtime).")
189189

190190
# NOTE: We do not currently support building libswift with the Xcode generator.
191-
cmake_dependent_option(LIBSWIFT_BUILD_MODE "How to build libswift. Possible values are
191+
cmake_dependent_option(LIBSWIFT_BUILD_MODE [=[
192+
How to build libswift. Possible values are
192193
OFF: the compiler is built without libswift
193194
HOSTTOOLS: libswift is built with a pre-installed toolchain
194195
BOOTSTRAPPING: libswift is built with a 2-stage bootstrapping process
@@ -197,8 +198,8 @@ cmake_dependent_option(LIBSWIFT_BUILD_MODE "How to build libswift. Possible valu
197198
CROSSCOMPILE: libswift is cross-compiled with a native host compiler, provided in
198199
`SWIFT_NATIVE_SWIFT_TOOLS_PATH` (non-Darwin only)
199200
CROSSCOMPILE-WITH-HOSTLIBS: libswift is built with a bootstrapping-with-hostlibs compiled
200-
compiler, provided in `SWIFT_NATIVE_SWIFT_TOOLS_PATH`"
201-
OFF "NOT CMAKE_GENERATOR STREQUAL \"Xcode\"" OFF)
201+
compiler, provided in `SWIFT_NATIVE_SWIFT_TOOLS_PATH`
202+
]=] OFF "NOT CMAKE_GENERATOR STREQUAL \"Xcode\"" OFF)
202203

203204
# The following only works with the Ninja generator in CMake >= 3.0.
204205
set(SWIFT_PARALLEL_LINK_JOBS "" CACHE STRING

0 commit comments

Comments
 (0)