llvm/llvm/unittests/Target/DirectX/CMakeLists.txt

include_directories(
  ${LLVM_MAIN_SRC_DIR}/lib/Target/DirectX
  ${LLVM_BINARY_DIR}/lib/Target/DirectX
  )

set(LLVM_LINK_COMPONENTS
  AsmParser
  Core
  DirectXCodeGen
  DirectXPointerTypeAnalysis
  Support
  )

add_llvm_target_unittest(DirectXTests
  CBufferDataLayoutTests.cpp
  PointerTypeAnalysisTests.cpp
  )