Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,7 @@ jobs:
-DDRACO_TESTS=ON \
-DDRACO_TRANSCODER_SUPPORTED=ON
cmake_build_command: cmake --build . --config Release -- -m:2
# TODO(https://github.com/google/draco/issues/826)
draco_test_command: |-
Release/draco_tests \
--gtest_filter=-GltfDecoderTest.ThreeMeshesOneNoMaterialMesh

draco_test_command: Release/draco_tests

- test_name: windows-msvc-release-static
os: windows-2019
Expand All @@ -189,11 +185,7 @@ jobs:
-DDRACO_TESTS=ON \
-DDRACO_TRANSCODER_SUPPORTED=ON
cmake_build_command: cmake --build . --config Release -- -m:2
# TODO(https://github.com/google/draco/issues/826)
draco_test_command: |-
Release/draco_tests \
--gtest_filter=-GltfDecoderTest.ThreeMeshesOneNoMaterialMesh

draco_test_command: Release/draco_tests

- test_name: windows-make-release-shared
os: windows-2019
Expand Down
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,13 @@ else()
${draco_include_paths})

if(DRACO_TRANSCODER_SUPPORTED)
if(MSVC)
# TODO(https://github.com/google/draco/issues/826)
set_source_files_properties(
"${draco_src_root}/io/gltf_decoder.cc"
PROPERTIES COMPILE_OPTIONS "/Od")
endif()

draco_add_library(
NAME
draco_material
Expand Down