llvm-mirror/tools/llvm-as/CMakeLists.txt
Chris Bieneman 7680f32409 [CMake] llvm-as depends on intrinsics_gen
llvm-as.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-as needs to depend on intrinsics_gen.

llvm-svn: 287423
2016-11-19 02:15:04 +00:00

14 lines
139 B
CMake

set(LLVM_LINK_COMPONENTS
AsmParser
BitWriter
Core
Support
)
add_llvm_tool(llvm-as
llvm-as.cpp
DEPENDS
intrinsics_gen
)