-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from RobLoach/LoadDirectoryFilesFromPhysFS
Add LoadDirectoryFilesFromPhysFS()
- Loading branch information
Showing
7 changed files
with
431 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# physfs | ||
|
||
# You can change these to support other formats | ||
set(PHYSFS_ARCHIVE_ZIP ON CACHE BOOL "" FORCE) | ||
set(PHYSFS_ARCHIVE_7Z OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_ARCHIVE_GRP OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_ARCHIVE_WAD OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_ARCHIVE_HOG OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_ARCHIVE_MVL OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_ARCHIVE_QPAK OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_ARCHIVE_SLB OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_ARCHIVE_ISO9660 OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_ARCHIVE_VDF OFF CACHE BOOL "" FORCE) | ||
|
||
# library options | ||
set(PHYSFS_BUILD_STATIC ON CACHE BOOL "" FORCE) | ||
set(PHYSFS_BUILD_SHARED OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_BUILD_TEST OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_BUILD_DOCS OFF CACHE BOOL "" FORCE) | ||
set(PHYSFS_DISABLE_INSTALL OFF CACHE BOOL "" FORCE) | ||
|
||
include(FetchContent) | ||
FetchContent_Declare( | ||
physfs | ||
GIT_REPOSITORY https://github.com/icculus/physfs.git | ||
GIT_TAG release-3.2.0 | ||
) | ||
FetchContent_MakeAvailable(physfs) | ||
include_directories(${physfs_SOURCE_DIR}/src) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# raylib | ||
include(FetchContent) | ||
FetchContent_Declare( | ||
raylib | ||
GIT_REPOSITORY https://github.com/raysan5/raylib.git | ||
GIT_TAG 4.2.0 | ||
) | ||
FetchContent_GetProperties(raylib) | ||
if (NOT raylib_POPULATED) # Have we downloaded raylib yet? | ||
set(FETCHCONTENT_QUIET NO) | ||
FetchContent_Populate(raylib) | ||
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) | ||
set(BUILD_GAMES OFF CACHE BOOL "" FORCE) | ||
add_subdirectory(${raylib_SOURCE_DIR} ${raylib_BINARY_DIR}) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.