File tree Expand file tree Collapse file tree 16 files changed +94
-73
lines changed Expand file tree Collapse file tree 16 files changed +94
-73
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ add_swift_host_tool(swift
4
4
autolink_extract_main.cpp
5
5
modulewrap_main.cpp
6
6
swift_format_main.cpp
7
- LINK_LIBRARIES
8
- swiftDriver
9
- swiftFrontendTool
10
7
SWIFT_COMPONENT compiler
11
8
)
12
-
9
+ target_link_libraries (swift
10
+ PRIVATE
11
+ swiftDriver
12
+ swiftFrontendTool )
13
13
if (HAVE_UNICODE_LIBEDIT )
14
14
target_link_libraries (swift PRIVATE edit )
15
15
endif ()
Original file line number Diff line number Diff line change 1
1
add_swift_host_tool (lldb-moduleimport-test
2
2
lldb-moduleimport-test.cpp
3
- LINK_LIBRARIES
4
- swiftASTSectionImporter swiftFrontend swiftClangImporter
5
3
SWIFT_COMPONENT tools
6
4
)
5
+ target_link_libraries (lldb-moduleimport-test
6
+ PRIVATE
7
+ swiftASTSectionImporter
8
+ swiftClangImporter
9
+ swiftFrontend )
7
10
Original file line number Diff line number Diff line change 1
1
add_swift_host_tool (sil-func-extractor
2
2
SILFunctionExtractor.cpp
3
- LINK_LIBRARIES
4
- swiftFrontend
5
- swiftSILGen
6
- swiftSILOptimizer
7
- swiftSerialization
8
- swiftClangImporter
9
3
SWIFT_COMPONENT tools
10
4
)
5
+ target_link_libraries (sil-func-extractor
6
+ PRIVATE
7
+ swiftClangImporter
8
+ swiftFrontend
9
+ swiftSerialization
10
+ swiftSILGen
11
+ swiftSILOptimizer )
Original file line number Diff line number Diff line change 1
1
add_swift_host_tool (sil-llvm-gen
2
2
SILLLVMGen.cpp
3
- LINK_LIBRARIES
4
- swiftFrontend
5
- swiftIRGen
6
- swiftSILGen
7
- swiftSILOptimizer
8
- # Clang libraries included to appease the linker on linux.
9
- clangBasic
10
- clangCodeGen
11
3
SWIFT_COMPONENT tools
12
4
)
5
+ target_link_libraries (sil-llvm-gen
6
+ PRIVATE
7
+ swiftFrontend
8
+ swiftIRGen
9
+ swiftSILGen
10
+ swiftSILOptimizer
11
+ # Clang libraries included to appease the linker on linux.
12
+ clangBasic
13
+ clangCodeGen )
Original file line number Diff line number Diff line change 1
1
add_swift_host_tool (sil-nm
2
2
SILNM.cpp
3
- LINK_LIBRARIES
4
- swiftFrontend
5
- swiftSILGen
6
- swiftSILOptimizer
7
- swiftSerialization
8
- swiftClangImporter
9
3
SWIFT_COMPONENT tools
10
4
)
5
+ target_link_libraries (sil-nm
6
+ PRIVATE
7
+ swiftClangImporter
8
+ swiftFrontend
9
+ swiftSerialization
10
+ swiftSILGen
11
+ swiftSILOptimizer )
Original file line number Diff line number Diff line change 1
1
add_swift_host_tool (sil-opt
2
2
SILOpt.cpp
3
- LINK_LIBRARIES
4
- swiftFrontend
5
- swiftIRGen
6
- swiftSILGen
7
- swiftSILOptimizer
8
- # Clang libraries included to appease the linker on linux.
9
- clangBasic
10
- clangCodeGen
11
3
SWIFT_COMPONENT tools
12
4
)
5
+ target_link_libraries (sil-opt
6
+ PRIVATE
7
+ swiftFrontend
8
+ swiftIRGen
9
+ swiftSILGen
10
+ swiftSILOptimizer
11
+ # Clang libraries included to appease the linker on linux.
12
+ clangBasic
13
+ clangCodeGen )
Original file line number Diff line number Diff line change 1
1
add_swift_host_tool (sil-passpipeline-dumper
2
2
SILPassPipelineDumper.cpp
3
- LINK_LIBRARIES
4
- swiftFrontend
5
- swiftSILGen
6
- swiftSILOptimizer
7
- swiftSerialization
8
- swiftClangImporter
9
- # FIXME: Circular dependencies require re-listing these libraries.
10
- swiftSema
11
- swiftAST
12
3
SWIFT_COMPONENT tools
13
4
)
5
+ target_link_libraries (sil-passpipeline-dumper
6
+ PRIVATE
7
+ swiftClangImporter
8
+ swiftFrontend
9
+ swiftSerialization
10
+ swiftSILGen
11
+ swiftSILOptimizer
12
+ # FIXME: Circular dependencies require re-listing these libraries.
13
+ swiftAST
14
+ swiftSema )
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ add_swift_host_tool(swift-api-digester
2
2
swift-api-digester.cpp
3
3
ModuleAnalyzerNodes.cpp
4
4
ModuleDiagsConsumer.cpp
5
- LINK_LIBRARIES swiftFrontend swiftIDE
6
5
SWIFT_COMPONENT tools
7
6
)
7
+ target_link_libraries (swift-api-digester
8
+ PRIVATE
9
+ swiftFrontend
10
+ swiftIDE )
Original file line number Diff line number Diff line change 1
1
add_swift_fuzzer_host_tool (swift-demangle-fuzzer
2
2
swift-demangle-fuzzer.cpp
3
- LINK_LIBRARIES swiftDemangling
4
3
LLVM_COMPONENT_DEPENDS support
5
4
SWIFT_COMPONENT compiler
6
5
)
6
+ target_link_libraries (swift-demangle-fuzzer
7
+ PRIVATE
8
+ swiftDemangling )
Original file line number Diff line number Diff line change 1
1
add_swift_host_tool (swift-demangle-yamldump
2
2
swift-demangle-yamldump.cpp
3
- LINK_LIBRARIES swiftDemangling
4
3
LLVM_COMPONENT_DEPENDS support
5
4
SWIFT_COMPONENT tools
6
5
)
6
+ target_link_libraries (swift-demangle-yamldump
7
+ PRIVATE
8
+ swiftDemangling )
You can’t perform that action at this time.
0 commit comments