external/: simdjson v5.1.1; the game reads JSON that an import tool makes from the player's install
Config and .anm2 data are converted from the install's XML (and packed archives) into a gitignored resources/ by a tool in the gitignored tools/, as in smack-a-brother. The game has no XML parser. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
199c3d3d2b
commit
0b86c1071f
5 files changed
+16
-3
No files matched your search
+6
-1
@@ -30,10 +30,15 @@ add_library(lua STATIC ${LUA_SOURCES})
|
||||
target_include_directories(lua SYSTEM PUBLIC external/lua)
|
||||
target_compile_definitions(lua PRIVATE LUA_USE_POSIX)
|
||||
|
||||
# simdjson: its single-file build, static, without exceptions, for the JSON the import tool writes into resources/.
|
||||
add_library(simdjson STATIC external/simdjson/singleheader/simdjson.cpp)
|
||||
target_include_directories(simdjson SYSTEM PUBLIC external/simdjson/singleheader)
|
||||
target_compile_definitions(simdjson PUBLIC SIMDJSON_EXCEPTIONS=0)
|
||||
|
||||
# The curated game: src/*.cpp, written on top of the declarations generated-src/classes.h holds for every class.
|
||||
# generated-src/'s own bodies stay out until they compile (scripts/source_tree.py --check reports how many do).
|
||||
file(GLOB SOURCES CONFIGURE_DEPENDS src/*.cpp)
|
||||
add_library(isaac STATIC ${SOURCES})
|
||||
target_include_directories(isaac PRIVATE src)
|
||||
target_include_directories(isaac SYSTEM PRIVATE generated-src)
|
||||
target_link_libraries(isaac PRIVATE SDL3::SDL3-static lua)
|
||||
target_link_libraries(isaac PRIVATE SDL3::SDL3-static lua simdjson)
|
||||
Reference in new issue
Block a user