mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-05-06 07:13:51 +00:00
feat(file): implement stormlib sfile backend (#113)
This commit is contained in:
parent
5472065b8b
commit
b4e950a1c9
3 changed files with 88 additions and 36 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue