Files
swift-mirror/tools/sil-llvm-gen/CMakeLists.txt
Saleem Abdulrasool dd85d79105 tools: use target_link_libraries like clang (NFC)
Rather than using the `LINK_LIBRARIES` option, use target_link_libraries
like clang does.  Because these are all host tools, there is no name
mangling done for the libraries making this a no-op change.
2018-11-16 17:43:06 -08:00

14 lines
448 B
CMake

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