Skip to content

Commit

Permalink
[cmake] Remove tests from debian installer (#2031)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannemn authored Feb 17, 2025
1 parent b3f0749 commit fddee5a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cpack/cpack_variables.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ if(UNIX)
set(CPACK_GENERATOR "DEB")
set(CPACK_SOURCE_GENERATOR "TGZ")

# Enable component-based packaging for debian deployment
set(CPACK_DEB_COMPONENT_INSTALL ON)
set(CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE)

# When configuring the project, a header file with paths has been created.
# These paths are used e.g. in eCAL Mon to find the plugin diretory. Thus we
# need to use the same paths for cpack.
Expand All @@ -63,13 +67,11 @@ set(CPACK_RESOURCE_FILE_README ${ECAL_PROJECT_ROOT}/README.md)

get_cmake_property(CPACK_COMPONENTS_ALL COMPONENTS)
list(REMOVE_ITEM CPACK_COMPONENTS_ALL
#"libprotobuf-lite"
#"protobuf-export"
#"protobuf-headers"
#"protobuf-protos"
"tinyxml2_config"
"tinyxml2_headers"
"tinyxml2_libraries"
"testing"
"python"
)

include(CPack)

0 comments on commit fddee5a

Please sign in to comment.