xref: /openbsd-src/gnu/llvm/clang/cmake/caches/HLSL.cmake (revision 12c855180aad702bbcca06e0398d774beeafb155)
1# Including the native target is important because some of LLVM's tests fail if
2# you don't.
3set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
4
5# Include the DirectX target for DXIL code generation, eventually we'll include
6# SPIR-V here too.
7set(LLVM_EXPERIMENTAL_TARGETS_TO_BUILD DirectX CACHE STRING "")
8
9# HLSL support is currently limted to clang, eventually it will expand to
10# clang-tools-extra too.
11set(LLVM_ENABLE_PROJECTS "clang" CACHE STRING "")
12
13set(CLANG_ENABLE_HLSL On CACHE BOOL "")
14