disable unneeded physfs archives (as of bug 529) physfslayer
authorkoda
Sun, 24 Feb 2013 19:24:14 +0100
branchphysfslayer
changeset 8542 dc511bf91aa0
parent 8540 cf808329bb6f
child 8544 d610e692e2f6
disable unneeded physfs archives (as of bug #529)
misc/libphysfs/CMakeLists.txt
--- a/misc/libphysfs/CMakeLists.txt	Sun Feb 24 19:11:58 2013 +0100
+++ b/misc/libphysfs/CMakeLists.txt	Sun Feb 24 19:24:14 2013 +0100
@@ -204,41 +204,41 @@
     set(PHYSFS_FEATURES "ZIP")
 endif(PHYSFS_ARCHIVE_ZIP)
 
-option(PHYSFS_ARCHIVE_GRP "Enable Build Engine GRP support" TRUE)
-if(PHYSFS_ARCHIVE_GRP)
-    add_definitions(-DPHYSFS_SUPPORTS_GRP=1)
-    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} GRP")
-endif(PHYSFS_ARCHIVE_GRP)
+#option(PHYSFS_ARCHIVE_GRP "Enable Build Engine GRP support" TRUE)
+#if(PHYSFS_ARCHIVE_GRP)
+#    add_definitions(-DPHYSFS_SUPPORTS_GRP=1)
+#    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} GRP")
+#endif(PHYSFS_ARCHIVE_GRP)
 
-option(PHYSFS_ARCHIVE_WAD "Enable Doom WAD support" TRUE)
-if(PHYSFS_ARCHIVE_WAD)
-    add_definitions(-DPHYSFS_SUPPORTS_WAD=1)
-    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} WAD")
-endif(PHYSFS_ARCHIVE_WAD)
+#option(PHYSFS_ARCHIVE_WAD "Enable Doom WAD support" TRUE)
+#if(PHYSFS_ARCHIVE_WAD)
+#    add_definitions(-DPHYSFS_SUPPORTS_WAD=1)
+#    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} WAD")
+#endif(PHYSFS_ARCHIVE_WAD)
 
-option(PHYSFS_ARCHIVE_HOG "Enable Descent I/II HOG support" TRUE)
-if(PHYSFS_ARCHIVE_HOG)
-    add_definitions(-DPHYSFS_SUPPORTS_HOG=1)
-    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} HOG")
-endif(PHYSFS_ARCHIVE_HOG)
+#option(PHYSFS_ARCHIVE_HOG "Enable Descent I/II HOG support" TRUE)
+#if(PHYSFS_ARCHIVE_HOG)
+#    add_definitions(-DPHYSFS_SUPPORTS_HOG=1)
+#    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} HOG")
+#endif(PHYSFS_ARCHIVE_HOG)
 
-option(PHYSFS_ARCHIVE_MVL "Enable Descent I/II MVL support" TRUE)
-if(PHYSFS_ARCHIVE_MVL)
-    add_definitions(-DPHYSFS_SUPPORTS_MVL=1)
-    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} MVL")
-endif(PHYSFS_ARCHIVE_MVL)
+#option(PHYSFS_ARCHIVE_MVL "Enable Descent I/II MVL support" TRUE)
+#if(PHYSFS_ARCHIVE_MVL)
+#    add_definitions(-DPHYSFS_SUPPORTS_MVL=1)
+#    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} MVL")
+#endif(PHYSFS_ARCHIVE_MVL)
 
-option(PHYSFS_ARCHIVE_QPAK "Enable Quake I/II QPAK support" TRUE)
-if(PHYSFS_ARCHIVE_QPAK)
-    add_definitions(-DPHYSFS_SUPPORTS_QPAK=1)
-    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} QPAK")
-endif(PHYSFS_ARCHIVE_QPAK)
+#option(PHYSFS_ARCHIVE_QPAK "Enable Quake I/II QPAK support" TRUE)
+#if(PHYSFS_ARCHIVE_QPAK)
+#    add_definitions(-DPHYSFS_SUPPORTS_QPAK=1)
+#    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} QPAK")
+#endif(PHYSFS_ARCHIVE_QPAK)
 
-option(PHYSFS_ARCHIVE_ISO9660 "Enable ISO9660 support" TRUE)
-if(PHYSFS_ARCHIVE_ISO9660)
-    add_definitions(-DPHYSFS_SUPPORTS_ISO9660=1)
-    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} CD-ROM")
-endif(PHYSFS_ARCHIVE_ISO9660)
+#option(PHYSFS_ARCHIVE_ISO9660 "Enable ISO9660 support" TRUE)
+#if(PHYSFS_ARCHIVE_ISO9660)
+#    add_definitions(-DPHYSFS_SUPPORTS_ISO9660=1)
+#    set(PHYSFS_FEATURES "${PHYSFS_FEATURES} CD-ROM")
+#endif(PHYSFS_ARCHIVE_ISO9660)
 
 
 ##as needed by Hedgewars configuration
@@ -289,5 +289,5 @@
 ## removed install, language bindings and test program
 ## simplified configuration output
 
-message(STATUS "PhysFS will be built with ${PHYSFS_FEATURES} support")
+#message(STATUS "PhysFS will be built with ${PHYSFS_FEATURES} support")