Updates for CPack Debian release generation.

This commit is contained in:
BadQuanta
2026-05-17 11:32:15 +00:00
parent 878ae78dd3
commit 14924b9d46
6 changed files with 821 additions and 12 deletions
+11 -2
View File
@@ -8,7 +8,7 @@ project(hdk-grid
# Note: The src/ directory contains Doxygen documentation-only .cpp files.
# This is a header-only library; src/ files are not compiled into any targets.
option(HDK_GRID_TESTS "Build hdk-grid tests" ${HDK_TESTS})
option(HDK_TESTS "Build hdk-grid tests" OFF)
# No examples for grid at the moment
add_library(hdk-grid INTERFACE)
@@ -24,7 +24,7 @@ target_include_directories(
$<INSTALL_INTERFACE:include>
)
if(HDK_GRID_TESTS)
if(HDK_TESTS)
add_subdirectory(test)
endif()
@@ -67,6 +67,15 @@ install(FILES
COMPONENT hdk-grid_dev
)
# 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-grid
COMPONENT hdk-grid_release
OPTIONAL
)
# Documentation Policy
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/HDKDocumentationPolicy.cmake)