llvm/llvm/lib/Target/Hexagon/AsmParser/CMakeLists.txt

include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )

add_llvm_component_library(LLVMHexagonAsmParser
  HexagonAsmParser.cpp

  LINK_COMPONENTS
  MC
  MCParser
  Support
  HexagonDesc
  HexagonInfo

  ADD_TO_COMPONENT
  Hexagon
  )

add_dependencies( LLVMHexagonAsmParser HexagonCommonTableGen )