mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
A follow-up PR adds a flag to control an inline namespace that allows symbols in libDemangling to be distinguished between the runtime and the compiler. These dependencies ensure that the flag is plumbed through for inclusions of Demangling headers that aren't already covered by existing `target_link_libraries`.
15 lines
467 B
CMake
15 lines
467 B
CMake
add_swift_host_tool(sil-opt
|
|
SILOpt.cpp
|
|
SWIFT_COMPONENT tools
|
|
)
|
|
target_link_libraries(sil-opt
|
|
PRIVATE
|
|
swiftFrontend
|
|
swiftIRGen
|
|
swiftSIL
|
|
swiftSILGen
|
|
swiftSILOptimizer
|
|
# Clang libraries included to appease the linker on linux.
|
|
clangBasic
|
|
clangCodeGen)
|