mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
runtime: adjust the style for target_link_libraries
Using a single library per line model allows for an easier time to adjust the list as well as reduces the diff between revisions.
This commit is contained in:
@@ -89,7 +89,8 @@ target_include_directories(swiftRuntime PRIVATE
|
||||
"${PROJECT_BINARY_DIR}/include"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
target_link_libraries(swiftRuntime PRIVATE swiftShims)
|
||||
target_link_libraries(swiftRuntime PRIVATE
|
||||
swiftShims)
|
||||
|
||||
# FIXME: Refactor so that we're not pulling sources from the compiler files
|
||||
target_sources(swiftRuntime PRIVATE
|
||||
|
||||
@@ -30,8 +30,9 @@ target_compile_definitions(swiftStdlibStubs PRIVATE
|
||||
$<$<BOOL:${BUILD_SHARED_LIBS}>:-DswiftCore_EXPORTS>
|
||||
$<$<BOOL:${SwiftCore_ENABLE_UNICODE_DATA}>:-DSWIFT_STDLIB_ENABLE_UNICODE_DATA>)
|
||||
|
||||
target_link_libraries(swiftStdlibStubs PRIVATE
|
||||
swiftShims)
|
||||
|
||||
target_link_libraries(swiftStdlibStubs PRIVATE swiftShims)
|
||||
target_include_directories(swiftStdlibStubs PRIVATE
|
||||
"${PROJECT_BINARY_DIR}/include"
|
||||
# FIXME: pulls in headers from the main compiler build
|
||||
|
||||
Reference in New Issue
Block a user