build(deps): replace SOIL2 with stb for image and vorbis decoding

This commit is contained in:
2026-07-21 10:51:47 +08:00
parent 48300b0acc
commit 5018ebe247
12 changed files with 8009 additions and 19 deletions

8
third_party/stb/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,8 @@
add_library(stb STATIC
stb_vorbis.cpp
stb_image.cpp
)
target_include_directories(stb PUBLIC
${CMAKE_SOURCE_DIR}/third_party/stb
)

2
third_party/stb/stb_image.cpp vendored Normal file
View File

@@ -0,0 +1,2 @@
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"

7988
third_party/stb/stb_image.h vendored Normal file

File diff suppressed because it is too large Load Diff

2
third_party/stb/stb_vorbis.cpp vendored Normal file
View File

@@ -0,0 +1,2 @@
#define STB_VORBIS_IMPLEMENTATION
#include "stb_vorbis.h"

5584
third_party/stb/stb_vorbis.h vendored Normal file

File diff suppressed because it is too large Load Diff