You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-ebook-reader/reader/data/CMakeLists.txt

50 lines
1.3 KiB

##### default files
file( GLOB _default_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/default/*.xml )
install(
FILES ${_default_files}
DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/default
)
##### format files
file( GLOB _formats_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/formats/fb2/* )
install(
FILES ${_formats_files}
DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/formats/fb2
)
file( GLOB _formats_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/formats/html/* )
install(
FILES ${_formats_files}
DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/formats/html
)
##### help files
file( GLOB _help_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/help/*.fb2 )
install(
FILES ${_help_files}
DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/help
)
##### icons files
file( GLOB_RECURSE _icon_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/icons/*)
install(
FILES ${_icon_files}
DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/icons
)
##### resource files
file( GLOB _xml_resource_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/resources/*.xml )
install(
FILES ${_xml_resource_files}
DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/resources
)