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 demos/CMakeLists.txt :150

cpack_add_component( CastorDvpTD
					DISPLAY_NAME "CastorDvpTD"
					DESCRIPTION "A small Tower Defense game, using Castor3D."
					GROUP Demos
					DEPENDS GuiCommon
				)

overte-org/overte cmake/macros/GenerateInstallers.cmake :140

cpack_add_component(${CLIENT_COMPONENT} DISPLAY_NAME "Overte Interface")

NREL/OpenStudio CMakeLists.txt :1484

cpack_add_component(CLI
  DISPLAY_NAME "Command Line Interface"
  DESCRIPTION "Command Line Interface"
)

shapelets/khiva cmake/CPackConfig.cmake :134

cpack_add_component(core
  DISPLAY_NAME "Core"
  DESCRIPTION "Khiva Core"
  GROUP khiva
  REQUIRED)

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
)

RHVoice/RHVoice data/languages/CMakeLists.txt :21

cpack_add_component("${languagePackageFilteredName}" GROUP "languages" DISPLAY_NAME "${languageName}"
		DESCRIPTION "${languageName} language (${langCode}) for RHVoice"
	)

vengi-voxel/vengi cmake/macros.cmake :333

cpack_add_component(${_EXE_TARGET} DISPLAY_NAME "${COMMANDLINE}" DESCRIPTION "${DESCRIPTION}")

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)

NREL/EnergyPlus cmake/Install.cmake :706

cpack_add_component(Documentation DISPLAY_NAME "Documentation" DESCRIPTION "EnergyPlus documentation in PDF format")

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

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

openstudiocoalition/OpenStudioApplication CMakeLists.txt :1006

cpack_add_component(Resources
  DISPLAY_NAME "Application Resources"
  DESCRIPTION "Resource Files used by the OpenStudio Application"
)

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

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

rAthenaCN/rAthenaCN CMakeLists.txt :441

cpack_add_component( Runtime_base DESCRIPTION ${Runtime_base} DISPLAY_NAME "Base files" GROUP Runtime )

supertuxkart/stk-code lib/wiiuse/CMakeLists.txt :134

cpack_add_component(development
		DISPLAY_NAME "Development Files")

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
  )

freeorion/freeorion CMakeLists.txt :956

cpack_add_component(binaries
    DISPLAY_NAME "Binaries only"
    REQUIRED
)

christophe-calmejane/Hive installer/CMakeLists.txt :69

cpack_add_component(${COMPONENT_NAME_WINPCAP} DISPLAY_NAME "WinPCap" DESCRIPTION "Installs WinPcap, necessary if not already installed on the system.")

halide/Halide packaging/CMakeLists.txt :294

cpack_add_component(Halide_Runtime
                    DISPLAY_NAME "Halide"
                    DESCRIPTION "Runtime files for libHalide and autoschedulers")

phisko/kengine kengine/render/polyvox/libs/polyvox/Packaging.cmake :54

CPACK_ADD_COMPONENT(library DISPLAY_NAME "Library" DESCRIPTION "The runtime libraries" REQUIRED)

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)

DLR-SC/tigl CMakeLists.txt :199

cpack_add_component(creator DISPLAY_NAME "TiGL + 3rd Party DLLs")

RigsOfRods/rigs-of-rods cmake/Macros.cmake :170

cpack_add_component(${cname} DISPLAY_NAME "${name}" GROUP "ContentPack" REQUIRED TRUE)

contour-terminal/contour src/contour/CMakeLists.txt :566

cpack_add_component(contour
        DISPLAY_NAME "${CPACK_PACKAGE_NAME}"
        REQUIRED
    )

soulsmods/ModEngine2 cmake/ModEngineInstaller.cmake :97

cpack_add_component(sdk
        DISPLAY_NAME "SDK"
        DESCRIPTION "SDK used to develop extensions for Mod Engine"
        DEPENDS application)

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

cpack_add_component (packs
        DISPLAY_NAME "Required Resources"
        HIDDEN
    )

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})

ufz/ogs Applications/CLI/CMakeLists.txt :124

cpack_add_component(
    ogs_cli
    DISPLAY_NAME "OGS THMC Simulator"
    DESCRIPTION "The command line interface for OpenGeoSys."
    GROUP Applications
)

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
  )

orbitersim/orbiter CMakeLists.txt :327

cpack_add_component(Unspecified
	DISPLAY_NAME "OrbiterCore"
	DESCRIPTION "Orbiter Core Components"
	REQUIRED
)

orbbec/OrbbecSDK_v2 3rdparty/dylib/src/cmake/dylib.cmake :20

cpack_add_component(dev
	DISPLAY_NAME "${LIB_NAME} header"
	DESCRIPTION "The header needed for using ${LIB_NAME} in own software"
)

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)

wiiuse/wiiuse CMakeLists.txt :131

cpack_add_component(development
		DISPLAY_NAME "Development Files")

darktable-org/darktable cmake/darktable-packaging.cmake :117

CPACK_ADD_COMPONENT(DTApplication DISPLAY_NAME "darktable main application" REQUIRED)

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)

drawpile/Drawpile cmake/DrawpilePackaging.cmake :96

cpack_add_component(drawpile
	DISPLAY_NAME "Drawpile client"
	DESCRIPTION "The main Drawpile client application."
	DEPENDS i18n
)

HDFGroup/hdf5 CMakeInstallation.cmake :535

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

szcom/rnnlib hdf5_snap/CMakeInstallation.cmake :431

CPACK_ADD_COMPONENT (hdfapplications 
      DISPLAY_NAME "HDF5 Applications" 
      DEPENDS libraries
      GROUP Applications
  )

vrpn/vrpn CMakeLists.txt :1551

cpack_add_component(serversdk
		DISPLAY_NAME
		"VRPN Server Library and C++ Headers")