![]()
This value can be anystring.ĭESCRIPTION is an extended description of the component, used ingraphical installers to give the user additional information about thecomponent. cpack_add_component¶Ĭompname is the name of an installation component, as defined by the COMPONENT argument of one or more CMake install() commands.With the cpack_add_component command one can set a name, a description,and other attributes of an installation component.One can also assign a component to a component group.ĭISPLAY_NAME is the displayed name of the component, used in graphicalinstallers to display the component name. True if this component is not selected to be installed by default. True if this component is hidden from the user. The dependencies (list of components) on which this component depends. CPACK_COMPONENT_DESCRIPTION_DESCRIPTION'>¶ The name to be displayed for a component. ![]() IGNORE : create one package per component (ignore the groups)ĪLL_COMPONENTS_IN_ONE : create a single package with all requestedcomponentsĬPACK_COMPONENT_DISPLAY_NAME_DISPLAY_NAME'>¶ ONE_PER_GROUP (default): create one package per component group ) may generateseveral packages files when there are components, dependingon the value of this variable: Cmake install list of files archive#Some generators like RPM or ARCHIVE (TGZ, ZIP. Specify how components are grouped for multi-package component-aware CPackgenerators. One can change the default behavior by setting this variable to0/1 or OFF/ON. RPM builds monolithic whereas NSIS buildscomponent. Cmake install list of files generator#Įach CPack Generator (RPM, DEB, ARCHIVE, NSIS, DMG, etc.) has a legacydefault behavior. For example, to use all defined componentsexcept foo and bar: CPACK_COMPONENT_INSTALL_COMPONENT_INSTALL'>¶Įnable/Disable component install for CPack generator. The get_cmake_property() command can be used to obtain the COMPONENTS property, then the list(REMOVE_ITEM) command can beused to remove the unwanted ones. Instead of specifying all the desired components, it is possible to obtain alist of all defined components and then remove the unwanted ones from thelist. The user may set it to only include thespecified components. The default value of this variable is computed by CPack and contains allcomponents defined by the project. The following variables influence the component-specific packaging: CPACK_COMPONENTS_ALL¶ ![]() To specify different groupings for different CPack generators usea CPACK_PROJECT_CONFIG_FILE. ![]() Components can beannotated with user-friendly names and descriptions, inter-componentdependencies, etc., and grouped in various ways to customize theresulting installer, using the commands described below. This module is automatically included by CPack.Ĭertain binary installers (especially the graphical installers) generatedby CPack allow users to select individual application components to install.This module allows developers to configure the packaging of such components.Ĭontents is assigned to components by the COMPONENTargument of CMake's install() command. ![]() What about the non-cmakefied library, are there any variable i could set to include the library into the package?Ĭonfigure components for binary installers and source packages. Cmake install list of files download#I have a question regarding the extension packaging.Ĭurrently i have an external added library in my extension, the external added library is not cmakefied.īasically i just download the library and header file and linked to my extension.įor the cmakefied projects, we use CPACK_INSTALL_CMAKE_PROJECTS to add the library into the package. Connect and share knowledge within a single location that is structured and easy to search. If # omitted, CPack will build an installer that installs everything. The four values # are: Build directory, Project Name, Project Component, Directory. Variable:: CPACKINSTALLCMAKEPROJECTS # List of four values that specify what project to install. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |