Skip to content

Commit

Permalink
Add support for VDF
Browse files Browse the repository at this point in the history
  • Loading branch information
frabert committed Jun 20, 2017
1 parent cf18d4f commit e420640
Show file tree
Hide file tree
Showing 5 changed files with 558 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Expand Up @@ -135,6 +135,7 @@ set(PHYSFS_SRCS
src/archiver_zip.c
src/archiver_slb.c
src/archiver_iso9660.c
src/archiver_vdf.c
${PHYSFS_BEOS_SRCS}
)

Expand Down Expand Up @@ -263,6 +264,11 @@ if(PHYSFS_ARCHIVE_ISO9660)
add_definitions(-DPHYSFS_SUPPORTS_ISO9660=1)
endif()

option(PHYSFS_ARCHIVE_VDF "Enable Gothic I/II VDF archive support" TRUE)
if(PHYSFS_ARCHIVE_VDF)
add_definitions(-DPHYSFS_SUPPORTS_VDF=1)
endif()


option(PHYSFS_BUILD_STATIC "Build static library" TRUE)
if(PHYSFS_BUILD_STATIC)
Expand Down

0 comments on commit e420640

Please sign in to comment.