File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -2240,7 +2240,7 @@ endfunction()
2240
2240
#
2241
2241
# [ARCHITECTURE architecture]
2242
2242
# Architecture to build for.
2243
- function (_add_swift_target_executable_single name )
2243
+ function (_add_swift_target_executable_single module_name name )
2244
2244
set (options )
2245
2245
set (single_parameter_options
2246
2246
ARCHITECTURE
@@ -2298,7 +2298,7 @@ function(_add_swift_target_executable_single name)
2298
2298
SWIFTEXE_SINGLE_SOURCES SWIFTEXE_SINGLE_EXTERNAL_SOURCES ${name}
2299
2299
DEPENDS
2300
2300
${SWIFTEXE_SINGLE_DEPENDS}
2301
- MODULE_NAME ${name }
2301
+ MODULE_NAME ${module_name }
2302
2302
SDK ${SWIFTEXE_SINGLE_SDK}
2303
2303
ARCHITECTURE ${SWIFTEXE_SINGLE_ARCHITECTURE}
2304
2304
COMPILE_FLAGS ${SWIFTEXE_SINGLE_COMPILE_FLAGS}
@@ -2405,6 +2405,7 @@ function(add_swift_target_executable name)
2405
2405
"-${SWIFT_SDK_${sdk} _LIB_SUBDIR}"
2406
2406
SWIFTEXE_TARGET_DEPENDS_with_suffix )
2407
2407
_add_swift_target_executable_single (
2408
+ ${name}
2408
2409
${VARIANT_NAME}
2409
2410
${SWIFTEXE_TARGET_SOURCES}
2410
2411
DEPENDS ${SWIFTEXE_TARGET_DEPENDS_with_suffix}
Original file line number Diff line number Diff line change 1
- add_swift_host_tool (swiftdt
1
+ add_swift_target_executable (swiftdt
2
2
Inspector.swift
3
+ InterpolationExtensions.swift
3
4
main.swift
5
+ RemoteMirrorExtensions.swift
4
6
stdio.swift
5
7
symbolication.swift
6
- SWIFT_COMPONENT tools
7
- COMPILE_FLAGS -I${SWIFT_SOURCE_DIR}/include/swift/SwiftRemoteMirror
8
- )
9
8
10
- add_dependencies (swiftdt swift-stdlib )
11
- target_link_libraries (swiftdt
12
- swiftRemoteMirror.dylib )
9
+ COMPILE_FLAGS
10
+ -I${SWIFT_SOURCE_DIR}/include/swift/SwiftRemoteMirror
11
+ LINK_LIBRARIES
12
+ swiftRemoteMirror
13
+ )
Original file line number Diff line number Diff line change 1
- import Foundation
2
1
import SwiftRemoteMirror
3
2
4
3
You can’t perform that action at this time.
0 commit comments