aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/MCTargetDesc/CMakeLists.txt
blob: ab2ebb43a0b6b5bca238a7dc697ef7a53b61eeb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
add_llvm_library(LLVMX86Desc
  X86AsmBackend.cpp
  X86MCTargetDesc.cpp
  X86MCAsmInfo.cpp
  X86MCCodeEmitter.cpp 
  X86MachObjectWriter.cpp
  )

add_dependencies(LLVMX86Desc X86CommonTableGen)

# Hack: we need to include 'main' target directory to grab private headers
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)