From 3bf42c6ff3805a0d42bbc661794a95ff31bedc26 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 15 Mar 2025 16:22:09 +0500 Subject: Add whatever I was working on for the last month --- deps/src/stb/CMakeLists.txt | 4 ++++ deps/src/stb/stb.c | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 deps/src/stb/CMakeLists.txt create mode 100644 deps/src/stb/stb.c (limited to 'deps/src/stb') diff --git a/deps/src/stb/CMakeLists.txt b/deps/src/stb/CMakeLists.txt new file mode 100644 index 0000000..8eae420 --- /dev/null +++ b/deps/src/stb/CMakeLists.txt @@ -0,0 +1,4 @@ +add_library(stb STATIC "${CMAKE_CURRENT_LIST_DIR}/stb.c") +target_compile_definitions(stb PRIVATE _CRT_SECURE_NO_WARNINGS) +target_include_directories(stb PUBLIC "${DEPS_INCLUDE_DIR}") +set_target_properties(stb PROPERTIES FOLDER DEPS) diff --git a/deps/src/stb/stb.c b/deps/src/stb/stb.c new file mode 100644 index 0000000..2a6d888 --- /dev/null +++ b/deps/src/stb/stb.c @@ -0,0 +1,5 @@ +#define STB_IMAGE_IMPLEMENTATION +#include + +#define STB_IMAGE_WRITE_IMPLEMENTATION +#include -- cgit