We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4017cd commit 8c5e487Copy full SHA for 8c5e487
clang/cmake/caches/HLSL.cmake
@@ -8,6 +8,12 @@ set(LLVM_EXPERIMENTAL_TARGETS_TO_BUILD "DirectX;SPIRV" CACHE STRING "")
8
9
# HLSL support is currently limted to clang, eventually it will expand to
10
# clang-tools-extra too.
11
-set(LLVM_ENABLE_PROJECTS "clang" CACHE STRING "")
+set(LLVM_ENABLE_PROJECTS "clang;clang-tools-extra" CACHE STRING "")
12
13
set(CLANG_ENABLE_HLSL On CACHE BOOL "")
14
+
15
+if (NOT CMAKE_CONFIGURATION_TYPES)
16
+ set(LLVM_DISTRIBUTION_COMPONENTS
17
+ "clang;hlsl-resource-headers;clangd"
18
+ CACHE STRING "")
19
+endif()
0 commit comments