From 0afb31d503ee5b6978b19728e9ebc88295573f85 Mon Sep 17 00:00:00 2001 From: shweet Date: Thu, 19 Nov 2026 23:16:59 -0500 Subject: [PATCH] external/: stb (stb_image for the game's PNGs, as in smack-a-brother) Co-Authored-By: Claude Opus 5.5 --- .gitmodules | 4 ++++ CMakeLists.txt | 2 +- external/stb | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 160000 external/stb diff --git a/.gitmodules b/.gitmodules index 13891cd..ce1cee3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,7 @@ path = external/simdjson url = https://github.com/simdjson/simdjson.git shallow = true +[submodule "external/stb"] + path = external/stb + url = https://github.com/nothings/stb.git + shallow = true diff --git a/CMakeLists.txt b/CMakeLists.txt index 712af7d..4a74848 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,5 +42,5 @@ target_compile_definitions(simdjson PUBLIC SIMDJSON_EXCEPTIONS=0) file(GLOB SOURCES CONFIGURE_DEPENDS src/*.cpp) add_executable(isaac ${SOURCES} generated-src/stubs.cpp) target_include_directories(isaac PRIVATE src) -target_include_directories(isaac SYSTEM PRIVATE generated-src) +target_include_directories(isaac SYSTEM PRIVATE generated-src external/stb) target_link_libraries(isaac PRIVATE SDL3::SDL3-static lua simdjson) diff --git a/external/stb b/external/stb new file mode 160000 index 0000000..d14d46f --- /dev/null +++ b/external/stb @@ -0,0 +1 @@ +Subproject commit d14d46f6b44456eb88beac58cba833a4135d4c89