mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The main action here is to sink the creation of the installation rule for all of the swift host tools into this API. In a latter commit, I will use this API to create include and build rules for add_swift_host_tool.
19 lines
329 B
CMake
19 lines
329 B
CMake
add_swift_host_tool(swift-llvm-opt
|
|
LLVMOpt.cpp
|
|
LINK_LIBRARIES
|
|
swiftIRGen
|
|
|
|
# Swift libraries included to appease the linker on linux.
|
|
swiftSema
|
|
swiftAST
|
|
|
|
# Clang libraries included to appease the linker on linux.
|
|
clangBasic
|
|
clangCodeGen
|
|
|
|
LLVM_COMPONENT_DEPENDS
|
|
DebugInfoCodeView
|
|
|
|
SWIFT_COMPONENT tools
|
|
)
|