Skip to content

Commit c50c2b9

Browse files
committed
---
yaml --- r: 347463 b: refs/heads/master c: 820766c h: refs/heads/master i: 347461: a656b4a 347459: 0c9684b 347455: f8ffa08
1 parent af76b8e commit c50c2b9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9ba0bf8ad2cef531feb5e8177fcb2c95a110848a
2+
refs/heads/master: 820766c166ae1ee499715d69f06953249c74f1de
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/cmake/modules/AddSwift.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,11 @@ function(_add_swift_library_single target name)
10271027
set_target_properties("${target}" PROPERTIES
10281028
LIBRARY_OUTPUT_DIRECTORY ${SWIFTLIB_DIR}/${SWIFTLIB_SINGLE_SUBDIR}
10291029
ARCHIVE_OUTPUT_DIRECTORY ${SWIFTLIB_DIR}/${SWIFTLIB_SINGLE_SUBDIR})
1030+
if(SWIFTLIB_SINGLE_SDK STREQUAL WINDOWS AND SWIFTLIB_SINGLE_IS_STDLIB_CORE
1031+
AND libkind STREQUAL SHARED)
1032+
add_custom_command(TARGET ${target} POST_BUILD
1033+
COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:${target}> ${SWIFTLIB_DIR}/${SWIFTLIB_SINGLE_SUBDIR})
1034+
endif()
10301035

10311036
foreach(config ${CMAKE_CONFIGURATION_TYPES})
10321037
string(TOUPPER ${config} config_upper)

0 commit comments

Comments
 (0)