mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 21:12:35 +01:00
Compare commits
2 Commits
v1.136.911
...
v1.136.913
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eda300c870 | ||
|
|
fc0cada1eb |
@@ -45,7 +45,7 @@ cmake_dependent_option(
|
||||
)
|
||||
cmake_dependent_option(BGFX_WITH_WAYLAND "Use Wayland backend." ON "CMAKE_SYSTEM_NAME STREQUAL Linux" OFF)
|
||||
option(BGFX_CUSTOM_TARGETS "Include convenience custom targets." ON)
|
||||
option(BGFX_CONFIG_MULTITHREADED "Build bgfx with multithreaded configuration" ON)
|
||||
cmake_dependent_option(BGFX_CONFIG_MULTITHREADED "Build bgfx with multithreaded configuration" ON "NOT CMAKE_SYSTEM_NAME STREQUAL Emscripten" OFF)
|
||||
option(BGFX_CONFIG_RENDERER_WEBGPU "Enable the webgpu renderer" OFF)
|
||||
option(BGFX_CONFIG_DEBUG_ANNOTATION "Enable gfx debug annotations (default: on in debug)" OFF)
|
||||
|
||||
|
||||
2
bgfx
2
bgfx
Submodule bgfx updated: 9ca7782405...011ede6b42
2
bx
2
bx
Submodule bx updated: d8d7d13c85...36ad6131f4
1
cmake/bgfx/3rdparty/spirv-opt.cmake
vendored
1
cmake/bgfx/3rdparty/spirv-opt.cmake
vendored
@@ -114,6 +114,7 @@ file(
|
||||
${SPIRV_TOOLS}/source/val/validate_extensions.cpp
|
||||
${SPIRV_TOOLS}/source/val/validate_function.cpp
|
||||
${SPIRV_TOOLS}/source/val/validate_graph.cpp
|
||||
${SPIRV_TOOLS}/source/val/validate_group.cpp
|
||||
${SPIRV_TOOLS}/source/val/validate_id.cpp
|
||||
${SPIRV_TOOLS}/source/val/validate_image.cpp
|
||||
${SPIRV_TOOLS}/source/val/validate_instruction.cpp
|
||||
|
||||
@@ -38,6 +38,20 @@ target_include_directories(
|
||||
PRIVATE ${BGFX_DIR}/3rdparty/dawn
|
||||
${BGFX_DIR}/3rdparty/dawn/src
|
||||
)
|
||||
|
||||
if(UNIX
|
||||
AND NOT APPLE
|
||||
AND NOT EMSCRIPTEN
|
||||
AND NOT ANDROID
|
||||
)
|
||||
target_include_directories(
|
||||
shaderc
|
||||
PRIVATE ${BGFX_DIR}/3rdparty/directx-headers/include/directx
|
||||
${BGFX_DIR}/3rdparty/directx-headers/include
|
||||
${BGFX_DIR}/3rdparty/directx-headers/include/wsl/stubs
|
||||
)
|
||||
endif()
|
||||
|
||||
if(BGFX_AMALGAMATED)
|
||||
target_link_libraries(shaderc PRIVATE bgfx-shader)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user