add cpack to build debian packages, split the packages by components

This commit is contained in:
Rolf Lussi
2021-09-23 20:18:14 +02:00
committed by Stanislav Angelovič
parent c422de641a
commit 9cb8b89a01
4 changed files with 35 additions and 15 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ target_include_directories(sdbus-c++-xml2cpp PRIVATE ${EXPAT_INCLUDE_DIRS})
# INSTALLATION
#----------------------------------
install(TARGETS sdbus-c++-xml2cpp EXPORT sdbus-c++-tools-targets DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS sdbus-c++-xml2cpp EXPORT sdbus-c++-tools-targets DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT dev)
#----------------------------------
# CMAKE CONFIG & PACKAGE CONFIG