llvm-mirror/tools/llvm-split/CMakeLists.txt
Chris Bieneman c25845eda0 [CMake] llvm-split depends on intrinsics_gen
llvm-split.cpp has the following include chain:

llvm/Bitcode/BitcodeWriter.h
llvm/IR/ModuleSummaryIndex.h
llvm/IR/Module.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llvm-split needs to depend on intrinsics_gen.

llvm-svn: 287399
2016-11-18 23:20:38 +00:00

15 lines
161 B
CMake

set(LLVM_LINK_COMPONENTS
TransformUtils
BitWriter
Core
IRReader
Support
)
add_llvm_tool(llvm-split
llvm-split.cpp
DEPENDS
intrinsics_gen
)