Skip to content

Commit f8beec1

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 95fc7d3 commit f8beec1

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
@@ -1692,12 +1692,14 @@ function(add_swift_library name)
16921692
set(codesign_arg CODESIGN)
16931693
endif()
16941694
precondition(THIN_INPUT_TARGETS)
1695-
_add_swift_lipo_target(
1696-
SDK ${sdk}
1697-
TARGET ${lipo_target}
1698-
OUTPUT ${UNIVERSAL_LIBRARY_NAME}
1699-
${codesign_arg}
1700-
${THIN_INPUT_TARGETS})
1695+
_add_swift_lipo_target(SDK
1696+
${sdk}
1697+
TARGET
1698+
${lipo_target}
1699+
OUTPUT
1700+
${UNIVERSAL_LIBRARY_NAME}
1701+
${codesign_arg}
1702+
${THIN_INPUT_TARGETS})
17011703

17021704
# Cache universal libraries for dependency purposes
17031705
set(UNIVERSAL_LIBRARY_NAMES_${SWIFT_SDK_${sdk}_LIB_SUBDIR}
@@ -1743,11 +1745,13 @@ function(add_swift_library name)
17431745
"${name}-${SWIFT_SDK_${sdk}_LIB_SUBDIR}-static")
17441746
set(UNIVERSAL_LIBRARY_NAME
17451747
"${SWIFTSTATICLIB_DIR}/${SWIFT_SDK_${sdk}_LIB_SUBDIR}/${CMAKE_STATIC_LIBRARY_PREFIX}${name}${CMAKE_STATIC_LIBRARY_SUFFIX}")
1746-
_add_swift_lipo_target(
1747-
SDK ${sdk}
1748-
TARGET ${lipo_target_static}
1749-
OUTPUT "${UNIVERSAL_LIBRARY_NAME}"
1750-
${THIN_INPUT_TARGETS_STATIC})
1748+
_add_swift_lipo_target(SDK
1749+
${sdk}
1750+
TARGET
1751+
${lipo_target_static}
1752+
OUTPUT
1753+
"${UNIVERSAL_LIBRARY_NAME}"
1754+
${THIN_INPUT_TARGETS_STATIC})
17511755
swift_install_in_component("${SWIFTLIB_INSTALL_IN_COMPONENT}"
17521756
FILES "${UNIVERSAL_LIBRARY_NAME}"
17531757
DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift_static/${resource_dir_sdk_subdir}"

0 commit comments

Comments
 (0)