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 :57

cpack_add_component(${PROJECT_NAME}_Development
        DISPLAY_NAME "Developer pre-requisites"
        DESCRIPTION "Headers needed for development"
        DEPENDS  ${PROJECT_NAME}_Runtime
        INSTALL_TYPES Full Developer)

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

openstudiocoalition/OpenStudioApplication CMakeLists.txt :1006

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

rAthenaCN/rAthenaCN CMakeLists.txt :441

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

freeorion/freeorion GG/CMakeLists.txt :276

cpack_add_component(
    COMPONENT_GIGI
    DISPLAY_NAME GiGi
    DESCRIPTION "The core GG library, including the GUI state machine and all the controls.  Not usable without an input driver."
    REQUIRED
    GROUP COMPONENT_GROUP_RUNTIME
)

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)

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)

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 :113

cpack_add_component (client
        DISPLAY_NAME "Engine and Plugins"
        DESCRIPTION "The client and server executables plus game, audio, and other plugins."
        DEPENDS packs libs
        INSTALL_TYPES gui
    )

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
                )

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)

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)

drawpile/Drawpile cmake/DrawpilePackaging.cmake :96

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