Working on Debian Packaging.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(hdk-assets
|
||||
VERSION 0.0.1
|
||||
DESCRIPTION "Shared assets for use with examples with the Hollow Development Kit (HDK)"
|
||||
LANGUAGES NONE
|
||||
)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
# Install all asset files with the release component
|
||||
install(DIRECTORY
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/fonts/
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/textures/
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sounds/
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/music/
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/hdk-assets
|
||||
COMPONENT hdk-assets_release
|
||||
)
|
||||
|
||||
# Install metadata files for release package
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/README.md
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../CHANGELOG.md
|
||||
DESTINATION ${CMAKE_INSTALL_DOCDIR}/hdk-assets
|
||||
COMPONENT hdk-assets_release
|
||||
OPTIONAL
|
||||
)
|
||||
|
||||
# CPack Packaging Policy
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/../cmake/HDKPackaging.cmake)
|
||||
Reference in New Issue
Block a user