![]() Those marked with the MACOSX_BUNDLE property are treated as BUNDLE Executables are treated as RUNTIME targets, except that There are six kinds of target files that may be installed:ĪRCHIVE, LIBRARY, RUNTIME, OBJECTS, FRAMEWORK, andīUNDLE. The TARGETS form specifies rules for installing targets from a OPTIONAL Specify that it is not an error if the file to be installed doesĬommand signatures that install files may print messages during Renaming is allowed only when a single file is Installed as part of a component-specific installation RENAME Specify a name for an installed file that may be different from the EXCLUDE_FROM_ALL Specify that the file is excluded from a full installation and only The default component name may be controlled with theĬMAKE_INSTALL_DEFAULT_COMPONENT_NAME variable. If COMPONENT is not provided a default component “Unspecified” isĬreated. During a full installationĪll components are installed unless marked with EXCLUDE_FROM_ALL. The given component name will be executed. DuringĬomponent-specific installation only install rules associated with Is associated, such as “runtime” or “development”. COMPONENT Specify an installation component name with which the install rule CONFIGURATIONS Specify a list of build configurations for which the install ruleĪpplies (Debug, Release, etc.). Not make sense on certain platforms are ignored on those platforms. GROUP_WRITE, GROUP_EXECUTE, WORLD_READ, WORLD_WRITE, OWNER_READ, OWNER_WRITE, OWNER_EXECUTE, GROUP_READ, PERMISSIONS Specify permissions for installed files. Mechanism explained in the CMAKE_INSTALL_PREFIX variableĭocumentation. The prefix can be relocated at install time using the DESTDIR Relative to the value of the CMAKE_INSTALL_PREFIX variable. If a relative path is given it is interpreted If a full path (with a leading slash or drive letter) is given The common options are: DESTINATION Specify the directory on disk to which a file will be installed. Multiple signatures are covered here but they are valid only for Installation options for files and targets. There are multiple signatures for this command. Specified by calls to this command within a source directory areĮxecuted in order during installation. This command generates installation rules for a project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |