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
				)

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
)

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

GPUOpen-Tools/gpu_performance_api CMakeLists.txt :88

cpack_add_component(GPUPerfAPI)

intel/libvpl cmake/PackageTarget.cmake :28

cpack_add_component(${VPL_COMPONENT_LIB})

manticoresoftware/manticoresearch CMakeLists.txt :463

cpack_add_component ( server GROUP main )

openstudiocoalition/OpenStudioApplication CMakeLists.txt :1006

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

mysql/mysql-connector-cpp packaging/CMakeLists.txt :193

cpack_add_component(DevCommon GROUP main)

kelteseth/ScreenPlay CMake/CreateIFWInstaller.cmake :41

cpack_add_component(
    ScreenPlay
    DISPLAY_NAME "ScreenPlay"
    DESCRIPTION "This installs ScreenPlay.")

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

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

BioMedIA/MIRTK CMake/Basis/BasisPack.cmake :279

cpack_add_component (${COMPNAME} ${ARGN})

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

cpack_add_component(docs HIDDEN)

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
  )

vectorgrp/sil-kit CMakeLists.txt :279

cpack_add_component(docs DISPLAY_NAME "SIL Kit Documentation")

plexinc/plex-media-player CMakeModules/CPackConfiguration.cmake :35

cpack_add_component(Core DISPLAY_NAME "Plex Media Player" DESCRIPTION "Plex Media Player (Core Application)" REQUIRED)

freeorion/freeorion CMakeLists.txt :956

cpack_add_component(binaries
    DISPLAY_NAME "Binaries only"
    REQUIRED
)

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)

realm/realm-core CMakeLists.txt :436

cpack_add_component(runtime DEPENDS runtime)

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)

aljen/spaghetti CMakeLists.txt :74

cpack_add_component(SDK
    DISPLAY_NAME "Spaghetti SDK"
    REQUIRED
  )

soulsmods/ModEngine2 cmake/ModEngineInstaller.cmake :95

cpack_add_component(application HIDDEN)

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

ffAudio/foleys_gui_magic CMakeLists.txt :122

cpack_add_component(foleys_gui_magic
        GROUP Foleys
        INSTALL_TYPES Developer)

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
  )

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

ROCm/ROCR-Runtime CMakeLists.txt :320

cpack_add_component(binary  GROUP static)

ROCm/rocm_smi_lib CMakeLists.txt :390

cpack_add_component(
  dev
  DISPLAY_NAME "Development"
  DESCRIPTION "Development needed header files for ROCM-SMI"
  DEPENDS dev)

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)

machinekit/machinekit-hal src/executables/bitfile/CMakeLists.txt :118

cpack_add_component(MachinekitHAL_Executable_Bitfile_Python_Packages
                        GROUP MachinekitHAL_Executable_Bitfile)

mhogomchungu/zuluCrypt external_libraries/tcplay/CMakeLists.txt :169

cpack_add_component(bin DISPLAY_NAME bin REQUIRED INSTALL_TYPES all)

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

CPACK_ADD_COMPONENT(DTApplication DISPLAY_NAME "darktable main application" REQUIRED)

madlib/archived_madlib deploy/CMakeLists.txt :65

cpack_add_component(doc
    DISPLAY_NAME Documentation
    DESCRIPTION "API reference and documentation (generated with Doxygen)."
)

drowe67/codec2-dev CMakeLists.txt :292

cpack_add_component(lib 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)

mgba-emu/mgba CMakeLists.txt :1234

cpack_add_component(${BINARY_NAME} GROUP base)

drawpile/Drawpile cmake/DrawpilePackaging.cmake :95

cpack_add_component(i18n HIDDEN)

HDFGroup/hdf5 CMakeInstallation.cmake :535

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

rcornwell/sims cmake/simh-packaging.cmake :2

cpack_add_component(runtime_support
    DISPLAY_NAME "Runtime support"
    DESCRIPTION "Required SIMH runtime support (documentation, shared libraries)"
    REQUIRED
)

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