File: CMakeLists.txt

package info (click to toggle)
mana 0.7.0-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 18,068 kB
  • sloc: cpp: 73,403; sh: 6,362; ansic: 5,162; xml: 1,509; makefile: 422; java: 141; php: 127
file content (20 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
file(GLOB_RECURSE DATA_FILES
     fonts/*.ttf
     graphics/*.png
     graphics/*.xml
     help/*.txt
     icons/*.hqx
     icons/*.icns
     icons/*.ico
     icons/*.png
     icons/*.svg
     icons/*.xpm
     music/*.ogg
     sfx/*.ogg
     sfx/*.wav)

# Add a custom target to make sure the data files are visible in IDEs
add_custom_target(data SOURCES ${DATA_FILES})

install(DIRECTORY fonts graphics help icons music sfx
        DESTINATION ${CMAKE_INSTALL_DATADIR}/data)