mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-09 02:07:04 +08:00
build(deps): replace SOIL2 with stb for image and vorbis decoding
This commit is contained in:
8
third_party/stb/CMakeLists.txt
vendored
Normal file
8
third_party/stb/CMakeLists.txt
vendored
Normal 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
2
third_party/stb/stb_image.cpp
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#include "stb_image.h"
|
||||
7988
third_party/stb/stb_image.h
vendored
Normal file
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
2
third_party/stb/stb_vorbis.cpp
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#define STB_VORBIS_IMPLEMENTATION
|
||||
#include "stb_vorbis.h"
|
||||
5584
third_party/stb/stb_vorbis.h
vendored
Normal file
5584
third_party/stb/stb_vorbis.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user