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
				)

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)

RHVoice/RHVoice data/voices/CMakeLists.txt :49

cpack_add_component("${voicePackageFilteredName}" GROUP "${voicesGroupFilteredName}" DISPLAY_NAME "${voiceName}"
		DESCRIPTION "${voiceName} voice for ${langName} (${langCode}) language for RHVoice licensed under `${license}` license."
		DEPENDS "${languagePackageFilteredName}"
	)

intel/libvpl cmake/PackageTarget.cmake :29

cpack_add_component(${VPL_COMPONENT_DEV} DEPENDS ${VPL_COMPONENT_LIB})

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

cpack_add_component(dev DEPENDS runtime)

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

cpack_add_component (headers
      DISPLAY_NAME "HDF5 Headers"
      DEPENDS libraries
      GROUP Development
      INSTALL_TYPES Full Developer
  )

freeorion/freeorion GG/CMakeLists.txt :284

cpack_add_component(
    COMPONENT_GIGI_DEVEL
    DISPLAY_NAME "GiGi"
    DESCRIPTION "The files necessary to do development with GiGi."
    GROUP COMPONENT_GROUP_DEVEL
    DEPENDS COMPONENT_GIGI
)

halide/Halide packaging/CMakeLists.txt :298

cpack_add_component(Halide_Development
                    DISPLAY_NAME "Halide development"
                    DESCRIPTION "Static Halide libraries and CMake development files"
                    DEPENDS Halide_Runtime)

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

CPACK_ADD_COMPONENT(development DISPLAY_NAME "Development" DESCRIPTION "Files required for developing with PolyVox" DEPENDS library)

realm/realm-core CMakeLists.txt :436

cpack_add_component(runtime DEPENDS runtime)

AshampooSystems/boden package/package.cmake :52

cpack_add_component(tests
                    DISPLAY_NAME "Unit tests"
                    DESCRIPTION "The boden unittests"
                    GROUP boden_tests
                    INSTALL_TYPES
                        all
                    DEPENDS library)

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
    )

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

cpack_add_component (headers
      DISPLAY_NAME "HDF5 Headers"
      DEPENDS libraries
      GROUP Development
      INSTALL_TYPES Full Developer
  )

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

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

cpack_add_component (headers
      DISPLAY_NAME "HDF5 Headers"
      DEPENDS libraries
      GROUP Development
      INSTALL_TYPES Full Developer
  )

machinekit/machinekit-hal src/executables/comp/CMakeLists.txt :161

cpack_add_component(
      MachinekitHAL_Executable_Comp_Python_Packages
      DEPENDS MachinekitHAL_Library_Symbol_Visibility_CMake_Functions
      GROUP MachinekitHAL_Executable_Comp)

drowe67/codec2-dev CMakeLists.txt :293

cpack_add_component(dev DEPENDS lib)

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

cpack_add_component (headers
      DISPLAY_NAME "HDF5 Headers"
      DEPENDS libraries
      GROUP Development
      INSTALL_TYPES Full Developer
  )

szcom/rnnlib hdf5_snap/CMakeInstallation.cmake :431

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