Updates for CPack Debian release generation.
This commit is contained in:
+11
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user