1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/tools/llc/CMakeLists.txt
Chris Bieneman be368c6be8 [CMake] llc depends on intrinsics_gen
llc.cpp has the following include chain:

llvm/Analysis/TargetLibraryInfo.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llc needs to depend on intrinsics_gen.

llvm-svn: 287422
2016-11-19 02:12:03 +00:00

27 lines
327 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
AsmPrinter
CodeGen
Core
IRReader
MC
MIRParser
ScalarOpts
SelectionDAG
Support
Target
TransformUtils
)
# Support plugins.
set(LLVM_NO_DEAD_STRIP 1)
add_llvm_tool(llc
llc.cpp
DEPENDS
intrinsics_gen
)
export_executable_symbols(llc)