CMakeLists.txt
changeset 1315 c686e4f84ab5
parent 1311 ec7bcd927ccb
child 1317 4ea85d1717b0
--- a/CMakeLists.txt	Fri Nov 02 00:47:50 2012 -0400
+++ b/CMakeLists.txt	Mon Nov 12 23:40:29 2012 +0200
@@ -133,6 +133,7 @@
     src/archiver_qpak.c
     src/archiver_wad.c
     src/archiver_zip.c
+    src/archiver_slb.c
     src/archiver_iso9660.c
     ${PHYSFS_BEOS_SRCS}
 )
@@ -248,6 +249,11 @@
     add_definitions(-DPHYSFS_SUPPORTS_QPAK=1)
 endif()
 
+option(PHYSFS_ARCHIVE_SLB "Enable I-War / Independence War SLB support" TRUE)
+if(PHYSFS_ARCHIVE_SLB)
+    add_definitions(-DPHYSFS_SUPPORTS_SLB=1)
+endif()
+
 option(PHYSFS_ARCHIVE_ISO9660 "Enable ISO9660 support" TRUE)
 if(PHYSFS_ARCHIVE_ISO9660)
     add_definitions(-DPHYSFS_SUPPORTS_ISO9660=1)
@@ -364,6 +370,7 @@
 message_bool_option("HOG support" PHYSFS_ARCHIVE_HOG)
 message_bool_option("MVL support" PHYSFS_ARCHIVE_MVL)
 message_bool_option("QPAK support" PHYSFS_ARCHIVE_QPAK)
+message_bool_option("SLB support" PHYSFS_ARCHIVE_SLB)
 message_bool_option("CD-ROM drive support" PHYSFS_HAVE_CDROM_SUPPORT)
 message_bool_option("Thread safety" PHYSFS_HAVE_THREAD_SUPPORT)
 message_bool_option("Build static library" PHYSFS_BUILD_STATIC)