summaryrefslogtreecommitdiffstats
path: root/deps/physfs/CMakeLists.txt
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-12-11 15:14:26 +0500
committeruntodesu <kirill@untode.su>2025-12-11 15:14:26 +0500
commitf40d09cb8f712e87691af4912f3630d92d692779 (patch)
tree7ac3a4168ff722689372fd489c6f94d0a2546e8f /deps/physfs/CMakeLists.txt
parent8bcbd2729388edc63c82d77d314b583af1447c49 (diff)
downloadvoxelius-f40d09cb8f712e87691af4912f3630d92d692779.tar.bz2
voxelius-f40d09cb8f712e87691af4912f3630d92d692779.zip
Shuffle stuff around
- Use the new and improved hierarchy I figured out when making Prospero chat - Re-add NSIS scripts, again from Prospero - Update most build and utility scripts with their most recent versions
Diffstat (limited to 'deps/physfs/CMakeLists.txt')
-rw-r--r--deps/physfs/CMakeLists.txt96
1 files changed, 0 insertions, 96 deletions
diff --git a/deps/physfs/CMakeLists.txt b/deps/physfs/CMakeLists.txt
deleted file mode 100644
index bce32de..0000000
--- a/deps/physfs/CMakeLists.txt
+++ /dev/null
@@ -1,96 +0,0 @@
-add_library(physfs STATIC
- "${CMAKE_CURRENT_LIST_DIR}/include/physfs.h"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_7z.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_dir.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_grp.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_hog.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_iso9660.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_mvl.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_qpak.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_slb.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_unpacked.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_vdf.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_wad.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_archiver_zip.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_byteorder.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_casefolding.h"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_internal.h"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_lzmasdk.h"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_miniz.h"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_casefolding.h"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_internal.h"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_lzmasdk.h"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_miniz.h"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_platform_android.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_platform_os2.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_platform_posix.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_platform_qnx.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_platform_unix.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_platform_windows.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_platforms.h"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs_unicode.c"
- "${CMAKE_CURRENT_LIST_DIR}/src/physfs.c")
-target_include_directories(physfs PUBLIC "${CMAKE_CURRENT_LIST_DIR}/include")
-set_target_properties(physfs PROPERTIES FOLDER Dependencies)
-
-if(APPLE)
- target_link_libraries(physfs PRIVATE "-framework IOkit -framework Foundation")
- target_sources(physfs PRIVATE "${CMAKE_CURRENT_LIST_DIR}/src/physfs_platform_apple.m")
-endif()
-
-if(UNIX AND NOT WIN32 AND NOT APPLE)
- find_library(PTHREAD_LIBRARY pthread)
- if(PTHREAD_LIBRARY)
- target_link_libraries(physfs PRIVATE ${PTHREAD_LIBRARY})
- endif()
-endif()
-
-option(PHYSFS_ARCHIVE_ZIP "Enable ZIP support" TRUE)
-if(NOT PHYSFS_ARCHIVE_ZIP)
- target_compile_definitions(physfs PUBLIC PHYSFS_SUPPORTS_ZIP=0)
-endif()
-
-option(PHYSFS_ARCHIVE_7Z "Enable 7zip support" TRUE)
-if(NOT PHYSFS_ARCHIVE_7Z)
- target_compile_definitions(physfs PUBLIC PHYSFS_SUPPORTS_7Z=0)
-endif()
-
-option(PHYSFS_ARCHIVE_GRP "Enable Build Engine GRP support" TRUE)
-if(NOT PHYSFS_ARCHIVE_GRP)
- target_compile_definitions(physfs PUBLIC PHYSFS_SUPPORTS_GRP=0)
-endif()
-
-option(PHYSFS_ARCHIVE_WAD "Enable Doom WAD support" TRUE)
-if(NOT PHYSFS_ARCHIVE_WAD)
- target_compile_definitions(physfs PUBLIC PHYSFS_SUPPORTS_WAD=0)
-endif()
-
-option(PHYSFS_ARCHIVE_HOG "Enable Descent I/II HOG support" TRUE)
-if(NOT PHYSFS_ARCHIVE_HOG)
- target_compile_definitions(physfs PUBLIC PHYSFS_SUPPORTS_HOG=0)
-endif()
-
-option(PHYSFS_ARCHIVE_MVL "Enable Descent I/II MVL support" TRUE)
-if(NOT PHYSFS_ARCHIVE_MVL)
- target_compile_definitions(physfs PUBLIC PHYSFS_SUPPORTS_MVL=0)
-endif()
-
-option(PHYSFS_ARCHIVE_QPAK "Enable Quake I/II QPAK support" TRUE)
-if(NOT PHYSFS_ARCHIVE_QPAK)
- target_compile_definitions(physfs PUBLIC PHYSFS_SUPPORTS_QPAK=0)
-endif()
-
-option(PHYSFS_ARCHIVE_SLB "Enable I-War / Independence War SLB support" TRUE)
-if(NOT PHYSFS_ARCHIVE_SLB)
- target_compile_definitions(physfs PUBLIC PHYSFS_SUPPORTS_SLB=0)
-endif()
-
-option(PHYSFS_ARCHIVE_ISO9660 "Enable ISO9660 support" TRUE)
-if(NOT PHYSFS_ARCHIVE_ISO9660)
- target_compile_definitions(physfs PUBLIC PHYSFS_SUPPORTS_ISO9660=0)
-endif()
-
-option(PHYSFS_ARCHIVE_VDF "Enable Gothic I/II VDF archive support" TRUE)
-if(NOT PHYSFS_ARCHIVE_VDF)
- target_compile_definitions(physfs PUBLIC PHYSFS_SUPPORTS_VDF=0)
-endif()