This commit is contained in:
9
thirdparty/stb/CMakeLists.txt
vendored
Normal file
9
thirdparty/stb/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
project(
|
||||
stb
|
||||
LANGUAGES C
|
||||
)
|
||||
|
||||
add_library(stb src/stb_image.c src/stb_image_write.c src/stb_image_resize2.c)
|
||||
target_include_directories(stb PUBLIC "include/")
|
||||
7988
thirdparty/stb/include/stb_image.h
vendored
Normal file
7988
thirdparty/stb/include/stb_image.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
10616
thirdparty/stb/include/stb_image_resize2.h
vendored
Normal file
10616
thirdparty/stb/include/stb_image_resize2.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1724
thirdparty/stb/include/stb_image_write.h
vendored
Normal file
1724
thirdparty/stb/include/stb_image_write.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3
thirdparty/stb/src/stb_image.c
vendored
Normal file
3
thirdparty/stb/src/stb_image.c
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#define STBI_FAILURE_USERMSG
|
||||
#include "stb_image.h"
|
||||
2
thirdparty/stb/src/stb_image_resize2.c
vendored
Normal file
2
thirdparty/stb/src/stb_image_resize2.c
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#define STB_IMAGE_RESIZE_IMPLEMENTATION
|
||||
#include "stb_image_resize2.h"
|
||||
2
thirdparty/stb/src/stb_image_write.c
vendored
Normal file
2
thirdparty/stb/src/stb_image_write.c
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
#include "stb_image_write.h"
|
||||
Reference in New Issue
Block a user