diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/CMakeLists.txt | 23 | ||||
| -rw-r--r-- | data/arena/CMakeLists.txt | 13 | ||||
| -rw-r--r-- | data/conf/CMakeLists.txt | 14 | ||||
| -rw-r--r-- | data/font/CMakeLists.txt | 13 | ||||
| -rw-r--r-- | data/image/CMakeLists.txt | 13 | ||||
| -rw-r--r-- | data/lang/CMakeLists.txt | 21 | ||||
| -rw-r--r-- | data/music/CMakeLists.txt | 15 | ||||
| -rw-r--r-- | data/sound/CMakeLists.txt | 15 |
8 files changed, 121 insertions, 6 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt new file mode 100644 index 0000000..3b103c9 --- /dev/null +++ b/data/CMakeLists.txt @@ -0,0 +1,23 @@ +############################################################################### +# tuxanci/data/CMakeLists.txt +############################################################################### +# DIRECTORIES +############################################################################### +ADD_SUBDIRECTORY ( arena ) +ADD_SUBDIRECTORY ( conf ) +ADD_SUBDIRECTORY ( font ) +ADD_SUBDIRECTORY ( image ) +ADD_SUBDIRECTORY ( lang ) +ADD_SUBDIRECTORY ( music ) +ADD_SUBDIRECTORY ( sound ) +############################################################################### +# CURRENT DIRECTORY FILES +############################################################################### +IF ( NOT Server ) + INSTALL ( FILES tuxanci.desktop DESTINATION doc/${APPNAME}-${VERSION}/) + IF ( NOT Win ) + INSTALL ( FILES tuxanci.ico + DESTINATION doc/${APPNAME}-${VERSION}/) + ENDIF ( NOT Win ) +ENDIF ( NOT Server ) +###############################################################################
\ No newline at end of file diff --git a/data/arena/CMakeLists.txt b/data/arena/CMakeLists.txt new file mode 100644 index 0000000..36cdae3 --- /dev/null +++ b/data/arena/CMakeLists.txt @@ -0,0 +1,13 @@ +############################################################################### +# tuxanci/data/arena/CMakeLists.txt +############################################################################### +# DIRECTORIES +############################################################################### +# nada :P +############################################################################### +# CURRENT DIRECTORY FILES +############################################################################### +FILE ( GLOB files "*.map" ) +INSTALL ( FILES ${files} + DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/arena/ ) +###############################################################################
\ No newline at end of file diff --git a/data/conf/CMakeLists.txt b/data/conf/CMakeLists.txt new file mode 100644 index 0000000..df336b4 --- /dev/null +++ b/data/conf/CMakeLists.txt @@ -0,0 +1,14 @@ +############################################################################### +# tuxanci/data/conf/CMakeLists.txt +############################################################################### +# DIRECTORIES +############################################################################### +# nada :P +############################################################################### +# CURRENT DIRECTORY FILES +############################################################################### +IF ( Server ) + INSTALL ( FILES server.conf + DESTINATION ${CMAKE_INSTALL_ETCDIR}/${APPNAME} ) +ENDIF ( Server ) +###############################################################################
\ No newline at end of file diff --git a/data/font/CMakeLists.txt b/data/font/CMakeLists.txt new file mode 100644 index 0000000..3c9e283 --- /dev/null +++ b/data/font/CMakeLists.txt @@ -0,0 +1,13 @@ +############################################################################### +# tuxanci/data/font/CMakeLists.txt +############################################################################### +# DIRECTORIES +############################################################################### +# nada :P +############################################################################### +# CURRENT DIRECTORY FILES +############################################################################### +FILE ( GLOB files "*.ttf" ) +INSTALL ( FILES ${files} + DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/font/ ) +###############################################################################
\ No newline at end of file diff --git a/data/image/CMakeLists.txt b/data/image/CMakeLists.txt new file mode 100644 index 0000000..4d428a1 --- /dev/null +++ b/data/image/CMakeLists.txt @@ -0,0 +1,13 @@ +############################################################################### +# tuxanci/data/images/CMakeLists.txt +############################################################################### +# DIRECTORIES +############################################################################### +# nada :P +############################################################################### +# CURRENT DIRECTORY FILES +############################################################################### +FILE ( GLOB files "*.png" ) +INSTALL ( FILES ${files} + DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/images/ ) +###############################################################################
\ No newline at end of file diff --git a/data/lang/CMakeLists.txt b/data/lang/CMakeLists.txt index 17feca8..749a747 100644 --- a/data/lang/CMakeLists.txt +++ b/data/lang/CMakeLists.txt @@ -1,6 +1,15 @@ -# vyroba jazyku pomoci gettexu doufam ze na nej prejdem -IF ( HAVE_GETTEXT ) - INCLUDE( Po ) - COMPILE_PO_FILES( ${CMAKE_SOURCE_DIR}/po MO_FILES ) - ADD_CUSTOM_TARGET( mofiles ALL DEPENDS ${MO_FILES} ) -ENDIF ( HAVE_GETTEXT ) +############################################################################### +# tuxanci/data/sound/CMakeLists.txt +############################################################################### +# DIRECTORIES +############################################################################### +# nada :P +############################################################################### +# CURRENT DIRECTORY FILES +############################################################################### +IF ( NOT NO_Audio ) + FILE ( GLOB files "*.lang" ) + INSTALL ( FILES ${files} + DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/lang/ ) +ENDIF ( NOT NO_Audio ) +###############################################################################
\ No newline at end of file diff --git a/data/music/CMakeLists.txt b/data/music/CMakeLists.txt new file mode 100644 index 0000000..cce6972 --- /dev/null +++ b/data/music/CMakeLists.txt @@ -0,0 +1,15 @@ +############################################################################### +# tuxanci/data/music/CMakeLists.txt +############################################################################### +# DIRECTORIES +############################################################################### +# nada :P +############################################################################### +# CURRENT DIRECTORY FILES +############################################################################### +IF ( NOT NO_Audio ) + FILE ( GLOB files "*.ogg" ) + INSTALL ( FILES ${files} + DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/sound/ ) +ENDIF ( NOT NO_Audio ) +###############################################################################
\ No newline at end of file diff --git a/data/sound/CMakeLists.txt b/data/sound/CMakeLists.txt new file mode 100644 index 0000000..9e60aa7 --- /dev/null +++ b/data/sound/CMakeLists.txt @@ -0,0 +1,15 @@ +############################################################################### +# tuxanci/data/sound/CMakeLists.txt +############################################################################### +# DIRECTORIES +############################################################################### +# nada :P +############################################################################### +# CURRENT DIRECTORY FILES +############################################################################### +IF ( NOT NO_Audio ) + FILE ( GLOB files "*.ogg" ) + INSTALL ( FILES ${files} + DESTINATION ${CMAKE_INSTALL_DATADIR}/${APPNAME}/sound/ ) +ENDIF ( NOT NO_Audio ) +###############################################################################
\ No newline at end of file |