mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-09 02:07:04 +08:00
build: add stb image write lib
This commit is contained in:
1
third_party/stb/CMakeLists.txt
vendored
1
third_party/stb/CMakeLists.txt
vendored
@@ -1,6 +1,7 @@
|
|||||||
add_library(stb STATIC
|
add_library(stb STATIC
|
||||||
stb_vorbis.cpp
|
stb_vorbis.cpp
|
||||||
stb_image.cpp
|
stb_image.cpp
|
||||||
|
stb_image_write.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(stb PUBLIC
|
target_include_directories(stb PUBLIC
|
||||||
|
|||||||
2
third_party/stb/stb_image_write.cpp
vendored
Normal file
2
third_party/stb/stb_image_write.cpp
vendored
Normal 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
1724
third_party/stb/stb_image_write.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user