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
				)

shapelets/khiva cmake/CPackConfig.cmake :134

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

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

manticoresoftware/manticoresearch CMakeLists.txt :463

cpack_add_component ( server GROUP main )

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

cpack_add_component(DevCommon GROUP main)

anira-project/anira cmake/package.cmake :46

cpack_add_component(deps-backends GROUP deps)

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

cpack_add_component(
    SDK
    DISPLAY_NAME
    "ZeroMQ headers and libraries"
    INSTALL_TYPES
    FullInstall
    DevInstall
    GROUP
    Development)

rAthenaCN/rAthenaCN CMakeLists.txt :441

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

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

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

CPACK_ADD_COMPONENT(python DISPLAY_NAME "Python Bindings" DESCRIPTION "PolyVox bindings for the Python language" DISABLED GROUP bindings DEPENDS library)

zeromq/libzmq CMakeLists.txt :1849

cpack_add_component(
    SDK
    DISPLAY_NAME
    "ZeroMQ headers and libraries"
    INSTALL_TYPES
    FullInstall
    DevInstall
    GROUP
    Development)

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)

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

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

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/arrayfire CMakeModules/CPackProjectConfig.cmake :129

cpack_add_component(${RC_COMPONENT}
      DISPLAY_NAME "${RC_DISPLAY_NAME}"
      DEPENDS ${RC_REQUIRES}
      GROUP ${RC_GROUP}
      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 :41

cpack_add_component(${component}
                    DISPLAY_NAME ${component}
                    DESCRIPTION "Thirdparty engine ${component}"
                    GROUP thirdparty
                    INSTALL_TYPES recommended full
                    )

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

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

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

cpack_add_component(MachinekitHAL_Executable_Bitfile_Python_Packages
                        GROUP MachinekitHAL_Executable_Bitfile)

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

cpack_add_component(SDK
    DISPLAY_NAME "ZeroMQ headers and libraries"
    INSTALL_TYPES FullInstall DevInstall
    GROUP Development)

zeromq/zeromq3-x CMakeLists.txt :375

cpack_add_component (SDK
	DISPLAY_NAME "ZeroMQ headers and libraries"
	INSTALL_TYPES FullInstall DevInstall
	GROUP Development
)

zeromq/zeromq4-1 CMakeLists.txt :847

cpack_add_component(SDK
    DISPLAY_NAME "ZeroMQ headers and libraries"
    INSTALL_TYPES FullInstall DevInstall
    GROUP Development)

mgba-emu/mgba CMakeLists.txt :1234

cpack_add_component(${BINARY_NAME} GROUP base)

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
  )