Files
clang-p2996/llvm/lib/Target/DirectX/CMakeLists.txt
Chris Bieneman 44a14a6a1d Add stub DirectX backend
This is the bare minimum needed to get the DirectX target compiling,
but does not actually do anything.

Reviewed By: pete, rnk, arsenm, jaebaek

Differential Revision: https://reviews.llvm.org/D122080
2022-03-28 13:44:48 -05:00

25 lines
422 B
CMake

add_llvm_component_group(DirectX)
set(LLVM_TARGET_DEFINITIONS DirectX.td)
tablegen(LLVM DirectXGenSubtargetInfo.inc -gen-subtarget)
add_public_tablegen_target(DirectXCommonTableGen)
add_llvm_target(DirectXCodeGen
DirectXSubtarget.cpp
DirectXTargetMachine.cpp
LINK_COMPONENTS
Bitwriter
Core
Support
DirectXInfo
ADD_TO_COMPONENT
DirectX
)
add_subdirectory(MCTargetDesc)
add_subdirectory(TargetInfo)