llvm.org GIT mirror llvm / release_30 lib / Target / X86 / MCTargetDesc / CMakeLists.txt
release_30

Tree @release_30 (Download .tar.gz)

CMakeLists.txt @release_30raw · history · blame

add_llvm_library(LLVMX86Desc
  X86AsmBackend.cpp
  X86MCTargetDesc.cpp
  X86MCAsmInfo.cpp
  X86MCCodeEmitter.cpp 
  X86MachObjectWriter.cpp
  )

add_llvm_library_dependencies(LLVMX86Desc
  LLVMMC
  LLVMSupport
  LLVMX86AsmPrinter
  LLVMX86AsmPrinter
  LLVMX86Info
  )

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}/..)