Debian Codegraph @

addons/physfs/CMakeLists.txt

raw
1 include_directories(SYSTEM ${PHYSFS_INCLUDE_DIR})
2
3 set(PHYSFS_SOURCES a5_physfs.c a5_physfs_dir.c)
4
5 set(PHYSFS_INCLUDE_FILES allegro5/allegro_physfs.h)
6
7 # This allows the monolith build to find the files.
8 set(PHYSFS_INCLUDE_DIRECTORIES ${PHYSFS_INCLUDE_DIR})
9
10 set_our_header_properties(${PHYSFS_INCLUDE_FILES})
11
12 add_our_addon_library(allegro_physfs
13 AllegroPhysfs-${ALLEGRO_SOVERSION}
14 "${PHYSFS_SOURCES};${PHYSFS_INCLUDE_FILES}"
15 "-DALLEGRO_PHYSFS_SRC"
16 "${ALLEGRO_LINK_WITH};${PHYSFS_LIBRARIES}"
17 )
18
19 install_our_headers(${PHYSFS_INCLUDE_FILES})
20
21 add_addon(physfs)
22
23 #-----------------------------------------------------------------------------#
24 # vi: set ts=8 sts=4 sw=4 et: