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 c06ae04 commit cd09291Copy full SHA for cd09291
1 file changed
templates/xbox/cmake/FetchDawn.cmake
@@ -29,8 +29,11 @@ set(DAWN_BUILD_SAMPLES OFF CACHE BOOL "" FORCE)
29
set(TINT_BUILD_TESTS OFF CACHE BOOL "" FORCE)
30
set(TINT_BUILD_CMD_TOOLS OFF CACHE BOOL "" FORCE)
31
32
-# webgpu_dawn: webgpu.h C-API を提供する統合ライブラリ (バインディング層はこれを叩く)
33
-set(DAWN_BUILD_MONOLITHIC_LIBRARY ON CACHE BOOL "" FORCE)
+# webgpu_dawn: webgpu.h C-API を提供する統合ライブラリ (バインディング層はこれを叩く)。
+# 2025 以降の Dawn では SHARED / STATIC / OFF の3値。STATIC で exe に静的リンクし
34
+# 追加 DLL の同梱を不要にする (BUILD_SHARED_LIBS=OFF が前提)。
35
+set(DAWN_BUILD_MONOLITHIC_LIBRARY STATIC CACHE STRING "" FORCE)
36
+set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
37
38
FetchContent_Declare(
39
dawn
0 commit comments