File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 5b1d826e9e310297d5fc2fc1a4683ba589059e1b
2
+ refs/heads/master: 1b34b8e294069d947d79cc9ff633855232ace25d
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ add_custom_target("copy_apinotes"
28
28
COMMENT "Copying API notes to ${output_dir} "
29
29
SOURCES "${sources} " )
30
30
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.
31
34
swift_install_in_component (sdk-overlay
32
- FILES ${sources}
33
- DESTINATION "lib/swift/apinotes" )
35
+ DIRECTORY "${output_dir} "
36
+ DESTINATION "lib/swift/"
37
+ OPTIONAL )
Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ precondition(SWIFT_DEST_ROOT)
59
59
precondition (SWIFT_HOST_VARIANT_SDK )
60
60
precondition (TOOLCHAIN_DIR )
61
61
62
+ # Without this line, installing components is broken. This needs refactoring.
63
+ swift_configure_components ()
64
+
62
65
# Some overlays include the runtime's headers,
63
66
# and some of those headers are generated at build time.
64
67
add_subdirectory ("${SWIFT_SOURCE_DIR} /include" "${SWIFT_SOURCE_DIR} /include" )
65
68
add_subdirectory ("${SWIFT_SOURCE_DIR} /apinotes" "${SWIFT_SOURCE_DIR} /apinotes" )
66
69
67
- # Without this line, installing components is broken. This needs refactoring.
68
- swift_configure_components ()
69
-
70
70
precondition (unknown_sdks NEGATE MESSAGE "Unknown SDKs: ${unknown_sdks} " )
71
71
precondition (SWIFT_CONFIGURED_SDKS MESSAGE "No SDKs selected." )
72
72
precondition (SWIFT_HOST_VARIANT_SDK MESSAGE "No SDK for host tools." )
You can’t perform that action at this time.
0 commit comments