Move parts of llvm-symbolizer tool into LLVMSymbolize library.
[oota-llvm.git] / tools / llvm-symbolizer / CMakeLists.txt
1 # FIXME: As we plan to execute llvm-symbolizer binary from compiler-rt
2 # libraries, it has to be compiled for all supported targets (x86_64, i386 etc).
3 # This means that we need LLVM libraries to be compiled for these
4 # targets as well. Currently, there is no support for such a build strategy.
5
6 set(LLVM_LINK_COMPONENTS
7   DebugInfoDWARF
8   DebugInfoPDB
9   Object
10   Support
11   Symbolize
12   )
13
14 add_llvm_tool(llvm-symbolizer
15   llvm-symbolizer.cpp
16   )