202 if(PHYSFS_ARCHIVE_ZIP) |
202 if(PHYSFS_ARCHIVE_ZIP) |
203 add_definitions(-DPHYSFS_SUPPORTS_ZIP=1) |
203 add_definitions(-DPHYSFS_SUPPORTS_ZIP=1) |
204 set(PHYSFS_FEATURES "ZIP") |
204 set(PHYSFS_FEATURES "ZIP") |
205 endif(PHYSFS_ARCHIVE_ZIP) |
205 endif(PHYSFS_ARCHIVE_ZIP) |
206 |
206 |
207 option(PHYSFS_ARCHIVE_GRP "Enable Build Engine GRP support" TRUE) |
207 #option(PHYSFS_ARCHIVE_GRP "Enable Build Engine GRP support" TRUE) |
208 if(PHYSFS_ARCHIVE_GRP) |
208 #if(PHYSFS_ARCHIVE_GRP) |
209 add_definitions(-DPHYSFS_SUPPORTS_GRP=1) |
209 # add_definitions(-DPHYSFS_SUPPORTS_GRP=1) |
210 set(PHYSFS_FEATURES "${PHYSFS_FEATURES} GRP") |
210 # set(PHYSFS_FEATURES "${PHYSFS_FEATURES} GRP") |
211 endif(PHYSFS_ARCHIVE_GRP) |
211 #endif(PHYSFS_ARCHIVE_GRP) |
212 |
212 |
213 option(PHYSFS_ARCHIVE_WAD "Enable Doom WAD support" TRUE) |
213 #option(PHYSFS_ARCHIVE_WAD "Enable Doom WAD support" TRUE) |
214 if(PHYSFS_ARCHIVE_WAD) |
214 #if(PHYSFS_ARCHIVE_WAD) |
215 add_definitions(-DPHYSFS_SUPPORTS_WAD=1) |
215 # add_definitions(-DPHYSFS_SUPPORTS_WAD=1) |
216 set(PHYSFS_FEATURES "${PHYSFS_FEATURES} WAD") |
216 # set(PHYSFS_FEATURES "${PHYSFS_FEATURES} WAD") |
217 endif(PHYSFS_ARCHIVE_WAD) |
217 #endif(PHYSFS_ARCHIVE_WAD) |
218 |
218 |
219 option(PHYSFS_ARCHIVE_HOG "Enable Descent I/II HOG support" TRUE) |
219 #option(PHYSFS_ARCHIVE_HOG "Enable Descent I/II HOG support" TRUE) |
220 if(PHYSFS_ARCHIVE_HOG) |
220 #if(PHYSFS_ARCHIVE_HOG) |
221 add_definitions(-DPHYSFS_SUPPORTS_HOG=1) |
221 # add_definitions(-DPHYSFS_SUPPORTS_HOG=1) |
222 set(PHYSFS_FEATURES "${PHYSFS_FEATURES} HOG") |
222 # set(PHYSFS_FEATURES "${PHYSFS_FEATURES} HOG") |
223 endif(PHYSFS_ARCHIVE_HOG) |
223 #endif(PHYSFS_ARCHIVE_HOG) |
224 |
224 |
225 option(PHYSFS_ARCHIVE_MVL "Enable Descent I/II MVL support" TRUE) |
225 #option(PHYSFS_ARCHIVE_MVL "Enable Descent I/II MVL support" TRUE) |
226 if(PHYSFS_ARCHIVE_MVL) |
226 #if(PHYSFS_ARCHIVE_MVL) |
227 add_definitions(-DPHYSFS_SUPPORTS_MVL=1) |
227 # add_definitions(-DPHYSFS_SUPPORTS_MVL=1) |
228 set(PHYSFS_FEATURES "${PHYSFS_FEATURES} MVL") |
228 # set(PHYSFS_FEATURES "${PHYSFS_FEATURES} MVL") |
229 endif(PHYSFS_ARCHIVE_MVL) |
229 #endif(PHYSFS_ARCHIVE_MVL) |
230 |
230 |
231 option(PHYSFS_ARCHIVE_QPAK "Enable Quake I/II QPAK support" TRUE) |
231 #option(PHYSFS_ARCHIVE_QPAK "Enable Quake I/II QPAK support" TRUE) |
232 if(PHYSFS_ARCHIVE_QPAK) |
232 #if(PHYSFS_ARCHIVE_QPAK) |
233 add_definitions(-DPHYSFS_SUPPORTS_QPAK=1) |
233 # add_definitions(-DPHYSFS_SUPPORTS_QPAK=1) |
234 set(PHYSFS_FEATURES "${PHYSFS_FEATURES} QPAK") |
234 # set(PHYSFS_FEATURES "${PHYSFS_FEATURES} QPAK") |
235 endif(PHYSFS_ARCHIVE_QPAK) |
235 #endif(PHYSFS_ARCHIVE_QPAK) |
236 |
236 |
237 option(PHYSFS_ARCHIVE_ISO9660 "Enable ISO9660 support" TRUE) |
237 #option(PHYSFS_ARCHIVE_ISO9660 "Enable ISO9660 support" TRUE) |
238 if(PHYSFS_ARCHIVE_ISO9660) |
238 #if(PHYSFS_ARCHIVE_ISO9660) |
239 add_definitions(-DPHYSFS_SUPPORTS_ISO9660=1) |
239 # add_definitions(-DPHYSFS_SUPPORTS_ISO9660=1) |
240 set(PHYSFS_FEATURES "${PHYSFS_FEATURES} CD-ROM") |
240 # set(PHYSFS_FEATURES "${PHYSFS_FEATURES} CD-ROM") |
241 endif(PHYSFS_ARCHIVE_ISO9660) |
241 #endif(PHYSFS_ARCHIVE_ISO9660) |
242 |
242 |
243 |
243 |
244 ##as needed by Hedgewars configuration |
244 ##as needed by Hedgewars configuration |
245 if(WINDOWS) |
245 if(WINDOWS) |
246 option(PHYSFS_BUILD_STATIC "Build static library" FALSE) |
246 option(PHYSFS_BUILD_STATIC "Build static library" FALSE) |