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