mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
Make dawn_wire a shared library
Also moves the TerribleCommandBuffer to utils:: because it isn't part of the implementation of the wire, renames dawn::wire to dawn_wire, moves src/wire to src/dawn_wire and puts the interface of dawn_wire in src/include/dawn_wire.
This commit is contained in:
committed by
Corentin Wallez
parent
012c149fd9
commit
bdc867713a
4
third_party/CMakeLists.txt
vendored
4
third_party/CMakeLists.txt
vendored
@@ -40,6 +40,10 @@ set(GLAD_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/glad/include)
|
||||
set(GLAD_INCLUDE_DIR ${GLAD_INCLUDE_DIR} PARENT_SCOPE)
|
||||
target_include_directories(glad SYSTEM PUBLIC ${GLAD_INCLUDE_DIR})
|
||||
DawnExternalTarget("third_party" glad)
|
||||
if(APPLE)
|
||||
# Workaround https://github.com/Dav1dde/glad/issues/158
|
||||
set_property(TARGET glad APPEND PROPERTY COMPILE_OPTIONS "-fno-common")
|
||||
endif()
|
||||
|
||||
# ShaderC
|
||||
# Prevent SPIRV-Tools from using Werror as it has a warning on MSVC
|
||||
|
||||
Reference in New Issue
Block a user