1add_llvm_library(LLVMX86Desc
2  X86AsmBackend.cpp
3  X86MCTargetDesc.cpp
4  X86MCAsmInfo.cpp
5  X86MCCodeEmitter.cpp
6  X86MachObjectWriter.cpp
7  X86ELFObjectWriter.cpp
8  X86WinCOFFObjectWriter.cpp
9  X86MachORelocationInfo.cpp
10  X86ELFRelocationInfo.cpp
11  )
12
13add_dependencies(LLVMX86Desc X86CommonTableGen)
14
15# Hack: we need to include 'main' target directory to grab private headers
16include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
17