build: add stb image write lib

This commit is contained in:
2026-08-07 10:59:27 +08:00
parent 236e7c0433
commit 1c2c77f83f
3 changed files with 1727 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
add_library(stb STATIC
stb_vorbis.cpp
stb_image.cpp
stb_image_write.cpp
)
target_include_directories(stb PUBLIC

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

@@ -0,0 +1,2 @@
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"

1724
third_party/stb/stb_image_write.h vendored Normal file

File diff suppressed because it is too large Load Diff