Files
swift-mirror/tools/sil-llvm-gen/CMakeLists.txt
Michael Gottesman 8c0b29a895 Add a new tool called SILLLVMGen that performs IRGen on a sil or sib file without adding any additional complexity.
I am going to use this in bug reducer for debugging runtime crashes. I just
found the branch and cleaned it up, so I fugred I would commit it sooner rather
than after I lost the branch again.
2017-01-26 18:10:20 -08:00

15 lines
306 B
CMake

add_swift_host_tool(sil-llvm-gen
SILLLVMGen.cpp
LINK_LIBRARIES
swiftFrontend
swiftIRGen
swiftSILGen
swiftSILOptimizer
# Clang libraries included to appease the linker on linux.
clangBasic
clangCodeGen
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
SWIFT_COMPONENT tools
)