Skip to content

Commit dbd4547

Browse files
committed
build: tweak whitespace (NFC)
This makes it easier to read and see what is going on. This made it easier to see what parameters were being passed when debugging the windows cross-compilation dependencies.
1 parent 88c5441 commit dbd4547

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,12 +1681,14 @@ function(add_swift_library name)
16811681
set(codesign_arg CODESIGN)
16821682
endif()
16831683
precondition(THIN_INPUT_TARGETS)
1684-
_add_swift_lipo_target(
1685-
SDK ${sdk}
1686-
TARGET ${lipo_target}
1687-
OUTPUT ${UNIVERSAL_LIBRARY_NAME}
1688-
${codesign_arg}
1689-
${THIN_INPUT_TARGETS})
1684+
_add_swift_lipo_target(SDK
1685+
${sdk}
1686+
TARGET
1687+
${lipo_target}
1688+
OUTPUT
1689+
${UNIVERSAL_LIBRARY_NAME}
1690+
${codesign_arg}
1691+
${THIN_INPUT_TARGETS})
16901692

16911693
# Cache universal libraries for dependency purposes
16921694
set(UNIVERSAL_LIBRARY_NAMES_${SWIFT_SDK_${sdk}_LIB_SUBDIR}
@@ -1732,11 +1734,13 @@ function(add_swift_library name)
17321734
"${name}-${SWIFT_SDK_${sdk}_LIB_SUBDIR}-static")
17331735
set(UNIVERSAL_LIBRARY_NAME
17341736
"${SWIFTSTATICLIB_DIR}/${SWIFT_SDK_${sdk}_LIB_SUBDIR}/${CMAKE_STATIC_LIBRARY_PREFIX}${name}${CMAKE_STATIC_LIBRARY_SUFFIX}")
1735-
_add_swift_lipo_target(
1736-
SDK ${sdk}
1737-
TARGET ${lipo_target_static}
1738-
OUTPUT "${UNIVERSAL_LIBRARY_NAME}"
1739-
${THIN_INPUT_TARGETS_STATIC})
1737+
_add_swift_lipo_target(SDK
1738+
${sdk}
1739+
TARGET
1740+
${lipo_target_static}
1741+
OUTPUT
1742+
"${UNIVERSAL_LIBRARY_NAME}"
1743+
${THIN_INPUT_TARGETS_STATIC})
17401744
swift_install_in_component("${SWIFTLIB_INSTALL_IN_COMPONENT}"
17411745
FILES "${UNIVERSAL_LIBRARY_NAME}"
17421746
DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift_static/${resource_dir_sdk_subdir}"

0 commit comments

Comments
 (0)