misc/physfs/extras/CMakeLists.txt
author unc0rr
Sun, 18 Nov 2012 00:37:23 +0400
branchphysfslayer
changeset 8052 845b5ae03841
parent 8043 da083f8d95e6
child 8072 c803d89ae74d
permissions -rw-r--r--
Mount .hwt files found in Data folder
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8022
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     1
find_package(SDL REQUIRED)
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     2
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     3
include_directories(${SDL_INCLUDE_DIR})
8037
547f94509079 Oops, didn't realize FindLua.cmake is our own module
unc0rr
parents: 8034
diff changeset
     4
include_directories(${CMAKE_SOURCE_DIR}/misc/liblua)
8022
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     5
include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/src)
10b3b93c1f56 - Add physfsrwops library
unc0rr
parents:
diff changeset
     6
8052
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents: 8043
diff changeset
     7
add_library(physfsrwops STATIC physfsrwops.c physfslualoader.c hwpacksmounter.c)
8043
da083f8d95e6 We need custom script loading function in lua now
unc0rr
parents: 8037
diff changeset
     8
da083f8d95e6 We need custom script loading function in lua now
unc0rr
parents: 8037
diff changeset
     9
add_dependencies(physfsrwops lua)