feat(file): implement stormlib sfile backend (#113)

This commit is contained in:
Marco Tylus 2026-01-16 12:06:12 +09:00 committed by GitHub
parent 5472065b8b
commit b4e950a1c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 88 additions and 36 deletions

View file

@ -42,7 +42,7 @@ endif()
list(APPEND STORM_SOURCES "file/SFileClass.cpp")
if(WHOA_SFILE_MODE STREQUAL "STORMLIB")
list(APPEND STORM_SOURCES "file/SFile.cpp")
list(APPEND STORM_SOURCES "file/SFile.cpp" "file/SFileStormLibShim.cpp")
else()
list(APPEND STORM_SOURCES "file/SFileNative.cpp")
endif()
@ -62,6 +62,7 @@ target_include_directories(storm
target_link_libraries(storm
PRIVATE
system
stormlib-9.31
)
if(HAS_NO_INVALID_OFFSETOF)