


On macOS when marked as FRAMEWORK (see below). On macOS, the linker import file created for shared libraries withĮNABLE_EXPORTS enabled (except when marked as FRAMEWORK, On AIX, the linker import file created for executables with (on all Windows-based systems including Cygwin they have extension (except on macOS when marked as FRAMEWORK, see below) Output Artifacts of the specified artifact kind: ARCHIVE Output Artifacts that do not have a dedicated group specified 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.

Specify an installation component name with which the install rule If an install(TARGETS)Ĭonfigurations is accumulated for each kind of artifact. Specify a list of build configurations for which the install rule Is accumulated for each kind of artifact. Uses arguments, a separate list of permissions If this option is used multiple times in a single call, its list 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, In particular, there is no need to make paths absolute by prependingĬMAKE_INSTALL_PREFIX this prefix is used by default if Generators, it is preferable to use relative paths throughout. If an absolute path (with a leading slash or drive letter) is givenĪs absolute paths are not supported by cpack installer Mechanism explained in the CMAKE_INSTALL_PREFIX variable The prefix can be relocated at install time using the DESTDIR If a relative path is given it is interpreted relative to the value Specify the directory on disk to which a file will be installed.Īrguments can be relative or absolute paths. Multiple signatures are covered here but they are valid only for Installation options for files and targets. There are multiple signatures for this command. Changed in version 3.22: The environment variable CMAKE_INSTALL_MODE can override the
