Skip to content

Commit 05de8dd

Browse files
committed
---
yaml --- r: 346839 b: refs/heads/master c: 1b34b8e h: refs/heads/master i: 346837: f5b4d2a 346835: 138f5b8 346831: c4d1dc0
1 parent 14ee734 commit 05de8dd

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
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: 5b1d826e9e310297d5fc2fc1a4683ba589059e1b
2+
refs/heads/master: 1b34b8e294069d947d79cc9ff633855232ace25d
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/apinotes/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ add_custom_target("copy_apinotes"
2828
COMMENT "Copying API notes to ${output_dir}"
2929
SOURCES "${sources}")
3030

31+
# This is treated as an OPTIONAL target because if we don't build the SDK
32+
# overlay, the files will be missing anyway. It also allows us to build
33+
# single overlays without installing the API notes.
3134
swift_install_in_component(sdk-overlay
32-
FILES ${sources}
33-
DESTINATION "lib/swift/apinotes")
35+
DIRECTORY "${output_dir}"
36+
DESTINATION "lib/swift/"
37+
OPTIONAL)

trunk/cmake/modules/StandaloneOverlay.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ precondition(SWIFT_DEST_ROOT)
5959
precondition(SWIFT_HOST_VARIANT_SDK)
6060
precondition(TOOLCHAIN_DIR)
6161

62+
# Without this line, installing components is broken. This needs refactoring.
63+
swift_configure_components()
64+
6265
# Some overlays include the runtime's headers,
6366
# and some of those headers are generated at build time.
6467
add_subdirectory("${SWIFT_SOURCE_DIR}/include" "${SWIFT_SOURCE_DIR}/include")
6568
add_subdirectory("${SWIFT_SOURCE_DIR}/apinotes" "${SWIFT_SOURCE_DIR}/apinotes")
6669

67-
# Without this line, installing components is broken. This needs refactoring.
68-
swift_configure_components()
69-
7070
precondition(unknown_sdks NEGATE MESSAGE "Unknown SDKs: ${unknown_sdks}")
7171
precondition(SWIFT_CONFIGURED_SDKS MESSAGE "No SDKs selected.")
7272
precondition(SWIFT_HOST_VARIANT_SDK MESSAGE "No SDK for host tools.")

0 commit comments

Comments
 (0)