cmake cpack_add_component examples

Signatures

cpack_add_component(compname
  [DISPLAY_NAME name]
  [DESCRIPTION description]
  [HIDDEN | REQUIRED | DISABLED ]
  [GROUP group]
  [DEPENDS comp1 comp2 ... ]
  [INSTALL_TYPES type1 type2 ... ]
  [DOWNLOADED]
  [ARCHIVE_FILE filename]
[PLIST filename])

Examples

DragonJoker/Castor3D source/Core/CMakeLists.txt :118

cpack_add_component( CastorUtils
		DISPLAY_NAME "CastorUtils"
		DESCRIPTION "Base utilities library used in Castor3D."
		REQUIRED
		GROUP Core
		INSTALL_TYPES Minimal Full
	)

shapelets/khiva cmake/CPackConfig.cmake :153

cpack_add_component(headers
  DISPLAY_NAME "C/C++ Headers"
  DESCRIPTION "Headers for the Khiva Library."
  GROUP khiva
  INSTALL_TYPES Development Extra)

ultravideo/uvgRTP packaging/CMakeLists.txt :51

cpack_add_component(${PROJECT_NAME}_Runtime
        DISPLAY_NAME Runtime
        Description "Shared libraries"
        REQUIRED
        INSTALL_TYPES Full Developer Minimal)

awawa-dev/HyperHDR cmake/packages.cmake :231

cpack_add_component(HyperHDR
	DISPLAY_NAME "HyperHDR"
	DESCRIPTION "HyperHDR runtime"
	INSTALL_TYPES Full Min
	GROUP Runtime
	REQUIRED
)

root-project/root cmake/modules/RootCPack.cmake :173

cpack_add_component(applications
    DISPLAY_NAME "ROOT Applications"
    DESCRIPTION "ROOT executables such as root.exe"
     INSTALL_TYPES full minimal developer)

eclipse-upm/upm src/CMakeLists.txt :945

cpack_add_component (${libname} DISPLAY_NAME ${libname} REQUIRED INSTALL_TYPES all)

asset-group/5ghoul-5g-nr-attacks libs/libzmq/CMakeLists.txt :1723

cpack_add_component(PerfTools DISPLAY_NAME "ZeroMQ performance tools" INSTALL_TYPES FullInstall DevInstall)

InsightSoftwareConsortium/ITK Modules/ThirdParty/HDF5/src/itkhdf5/CMakeInstallation.cmake :516

cpack_add_component (libraries
      DISPLAY_NAME "HDF5 Libraries"
      GROUP Runtime
      INSTALL_TYPES Full Developer User
  )

zeromq/libzmq CMakeLists.txt :1847

cpack_add_component(PerfTools DISPLAY_NAME "ZeroMQ performance tools" INSTALL_TYPES FullInstall DevInstall)

AshampooSystems/boden package/package.cmake :44

cpack_add_component(library
                    DISPLAY_NAME "Library"
                    DESCRIPTION "The boden framework"
                    REQUIRED
                    INSTALL_TYPES
                        all libonly
                    GROUP boden_framework)

skyjake/Doomsday-Engine doomsday/cmake/Packaging.cmake :108

cpack_add_component (libs
        DISPLAY_NAME "Runtime Libraries"
        HIDDEN REQUIRED
        INSTALL_TYPES gui
    )

Tencent/Forward source/third_party/hdf5/CMakeInstallation.cmake :503

cpack_add_component (libraries
      DISPLAY_NAME "HDF5 Libraries"
      GROUP Runtime
      INSTALL_TYPES Full Developer User
  )

arrayfire/forge CMakeModules/ForgeCPackConfig.cmake :99

cpack_add_component(forge_dependencies
    DISPLAY_NAME "Forge Dependencies"
    DESCRIPTION "Libraries required by Forge OpenGL backend"
    PARENT_GROUP backends
    INSTALL_TYPES Development Runtime)

arrayfire/arrayfire CMakeModules/CPackProjectConfig.cmake :86

cpack_add_component(${RC_COMPONENT}
      DISPLAY_NAME "${RC_DISPLAY_NAME}"
      INSTALL_TYPES ${RC_INSTALL_TYPES}
      DESCRIPTION ${RC_DESCRIPTION})

OpenMS/OpenMS cmake/package_components.cmake :15

cpack_add_component(share
                DISPLAY_NAME "OpenMS shared files"
                DESCRIPTION "OpenMS shared files"
                INSTALL_TYPES recommended full minimal
                )

Kitware/VTK ThirdParty/hdf5/vtkhdf5/CMakeInstallation.cmake :514

cpack_add_component (libraries
      DISPLAY_NAME "HDF5 Libraries"
      GROUP Runtime
      INSTALL_TYPES Full Developer User
  )

Geant4/geant4 cmake/Modules/G4CPack.cmake :169

cpack_add_component(Development
  DISPLAY_NAME "Development Components"
  DESCRIPTION "Install all files needed for developing Geant4 applications (headers, makefiles, etc.)"
  INSTALL_TYPES developer full
  )

srcML/srcML package/CMakeLists.txt :71

cpack_add_component(SRCML
                    DISPLAY_NAME "srcml"
                    DESCRIPTION "srcml cli program with required libraries"
                    REQUIRED
                    INSTALL_TYPES CLIENT DEVELOPER)

mpeg5/xeve CMakeLists.txt :261

cpack_add_component(Runtime DISPLAY_NAME "Application" DESCRIPTION  "Reference application that makes use of libxeve" GROUP RuntimeGroup INSTALL_TYPES Full Runtime)

zeromq/zeromq4-x CMakeLists.txt :764

cpack_add_component(PerfTools
    DISPLAY_NAME "ZeroMQ performance tools"
    INSTALL_TYPES FullInstall DevInstall)

zeromq/zeromq3-x CMakeLists.txt :366

cpack_add_component (PerfTools
	DISPLAY_NAME "ZeroMQ performance tools"
	INSTALL_TYPES FullInstall DevInstall
)

zeromq/zeromq4-1 CMakeLists.txt :840

cpack_add_component(PerfTools
    DISPLAY_NAME "ZeroMQ performance tools"
    INSTALL_TYPES FullInstall DevInstall)

HDFGroup/hdf5 CMakeInstallation.cmake :535

cpack_add_component (libraries
      DISPLAY_NAME "HDF5 Libraries"
      GROUP Runtime
      INSTALL_TYPES Full Developer User
  )