Datasets:

Modalities:
Image
Text
Formats:
text
Size:
< 1K
Libraries:
Datasets
License:
ZijunCui commited on
Commit
52e3da6
·
verified ·
1 Parent(s): 112cca2

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/archive.rst +107 -0
  2. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/bundle.rst +76 -0
  3. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/cygwin.rst +30 -0
  4. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/deb.rst +704 -0
  5. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/dmg.rst +162 -0
  6. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/external.rst +294 -0
  7. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/freebsd.rst +151 -0
  8. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/ifw.rst +519 -0
  9. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/innosetup.rst +420 -0
  10. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/nsis.rst +240 -0
  11. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/nuget.rst +264 -0
  12. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/packagemaker.rst +7 -0
  13. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/productbuild.rst +249 -0
  14. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/rpm.rst +1097 -0
  15. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/wix.rst +339 -0
  16. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/ADSP_ROOT.rst +10 -0
  17. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/ASM_DIALECT.rst +28 -0
  18. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/ASM_DIALECTFLAGS.rst +19 -0
  19. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CC.rst +19 -0
  20. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CCMAKE_COLORS.rst +36 -0
  21. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CFLAGS.rst +12 -0
  22. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_APPBUNDLE_PATH.rst +14 -0
  23. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_APPLE_SILICON_PROCESSOR.rst +13 -0
  24. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_BUILD_PARALLEL_LEVEL.rst +13 -0
  25. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_BUILD_TYPE.rst +10 -0
  26. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_COLOR_DIAGNOSTICS.rst +9 -0
  27. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_CONFIGURATION_TYPES.rst +11 -0
  28. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_CONFIG_TYPE.rst +7 -0
  29. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.rst +11 -0
  30. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_FRAMEWORK_PATH.rst +15 -0
  31. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_GENERATOR.rst +18 -0
  32. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_GENERATOR_INSTANCE.rst +9 -0
  33. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_GENERATOR_PLATFORM.rst +10 -0
  34. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_GENERATOR_TOOLSET.rst +10 -0
  35. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_INCLUDE_PATH.rst +13 -0
  36. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_INSTALL_MODE.rst +116 -0
  37. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_LANG_COMPILER_LAUNCHER.rst +12 -0
  38. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.rst +13 -0
  39. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_LANG_LINKER_LAUNCHER.rst +13 -0
  40. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_LIBRARY_PATH.rst +13 -0
  41. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_MAXIMUM_RECURSION_DEPTH.rst +10 -0
  42. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_MSVCIDE_RUN_PATH.rst +10 -0
  43. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_NO_VERBOSE.rst +10 -0
  44. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_OSX_ARCHITECTURES.rst +10 -0
  45. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_PREFIX_PATH.rst +17 -0
  46. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_PROGRAM_PATH.rst +13 -0
  47. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_TOOLCHAIN_FILE.rst +12 -0
  48. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CSFLAGS.rst +14 -0
  49. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CTEST_INTERACTIVE_DEBUG_MODE.rst +7 -0
  50. toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CTEST_NO_TESTS_ACTION.rst +14 -0
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/archive.rst ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack Archive Generator
2
+ -----------------------
3
+
4
+ CPack generator for packaging files into an archive, which can have
5
+ any of the following formats:
6
+
7
+ - 7Z - 7zip - (``.7z``)
8
+ - TBZ2 (``.tar.bz2``)
9
+ - TGZ (``.tar.gz``)
10
+ - TXZ (``.tar.xz``)
11
+ - TZ (``.tar.Z``)
12
+ - TZST (``.tar.zst``)
13
+ - ZIP (``.zip``)
14
+
15
+ .. versionadded:: 3.1
16
+ 7Z and TXZ formats support.
17
+
18
+ .. versionadded:: 3.16
19
+ TZST format support.
20
+
21
+ When this generator is called from ``CPackSourceConfig.cmake`` (or through
22
+ the ``package_source`` target), then the generated archive will contain all
23
+ files in the project directory, except those specified in
24
+ :variable:`CPACK_SOURCE_IGNORE_FILES`. The following is one example of
25
+ packaging all source files of a project:
26
+
27
+ .. code-block:: cmake
28
+
29
+ set(CPACK_SOURCE_GENERATOR "TGZ")
30
+ set(CPACK_SOURCE_IGNORE_FILES
31
+ \\.git/
32
+ build/
33
+ ".*~$"
34
+ )
35
+ set(CPACK_VERBATIM_VARIABLES YES)
36
+ include(CPack)
37
+
38
+ When this generator is called from ``CPackConfig.cmake`` (or through the
39
+ ``package`` target), then the generated archive will contain all files
40
+ that have been installed via CMake's :command:`install` command (and the
41
+ deprecated commands :command:`install_files`, :command:`install_programs`,
42
+ and :command:`install_targets`).
43
+
44
+ Variables specific to CPack Archive generator
45
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46
+
47
+ .. variable:: CPACK_ARCHIVE_FILE_NAME
48
+ CPACK_ARCHIVE_<component>_FILE_NAME
49
+
50
+ Package file name without extension.
51
+
52
+ :Default: The default is ``<CPACK_PACKAGE_FILE_NAME>[-<component>]``, with spaces
53
+ replaced by '-'.
54
+
55
+ The extension is determined from the archive format (see list above) and
56
+ automatically appended to the file name. Note that ``<component>`` is all
57
+ uppercase in the variable name.
58
+
59
+ .. versionadded:: 3.9
60
+ Per-component :variable:`!CPACK_ARCHIVE_<component>_FILE_NAME` variables.
61
+
62
+ .. variable:: CPACK_ARCHIVE_FILE_EXTENSION
63
+
64
+ .. versionadded:: 3.25
65
+
66
+ Package file extension.
67
+
68
+ :Default: Default values are given in the list above.
69
+
70
+ .. variable:: CPACK_ARCHIVE_COMPONENT_INSTALL
71
+
72
+ Enable component packaging.
73
+
74
+ :Default: ``OFF``
75
+
76
+ If enabled (``ON``) multiple packages are generated. By default a single package
77
+ containing files of all components is generated.
78
+
79
+ Variables used by CPack Archive generator
80
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81
+
82
+ These variables are used by the Archive generator, but are also available to
83
+ CPack generators which are essentially archives at their core. These include:
84
+
85
+ - :cpack_gen:`CPack Cygwin Generator`
86
+ - :cpack_gen:`CPack FreeBSD Generator`
87
+
88
+ .. variable:: CPACK_ARCHIVE_THREADS
89
+
90
+ The number of threads to use when performing the compression.
91
+
92
+ .. versionadded:: 3.18
93
+
94
+ :Default: ``1``
95
+
96
+ If set to ``0``, the number of available cores on the machine will be used instead.
97
+ The default is ``1`` which limits compression to a single thread. Note that
98
+ not all compression modes support threading in all environments. Currently,
99
+ only the XZ compression may support it.
100
+
101
+ See also the :variable:`CPACK_THREADS` variable.
102
+
103
+ .. versionadded:: 3.21
104
+
105
+ Official CMake binaries available on ``cmake.org`` now ship
106
+ with a ``liblzma`` that supports parallel compression.
107
+ Older versions did not.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/bundle.rst ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack Bundle Generator
2
+ ----------------------
3
+
4
+ CPack Bundle generator (macOS) specific options
5
+
6
+ Variables specific to CPack Bundle generator
7
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
+
9
+ Installers built on macOS using the Bundle generator use the
10
+ aforementioned DragNDrop (``CPACK_DMG_xxx``) variables, plus the following
11
+ Bundle-specific parameters (``CPACK_BUNDLE_xxx``).
12
+
13
+ .. variable:: CPACK_BUNDLE_NAME
14
+
15
+ The name of the generated bundle. This appears in the macOS Finder as the
16
+ bundle name. Required.
17
+
18
+ .. variable:: CPACK_BUNDLE_PLIST
19
+
20
+ Path to an macOS Property List (``.plist``) file that will be used
21
+ for the generated bundle. This
22
+ assumes that the caller has generated or specified their own ``Info.plist``
23
+ file. Required.
24
+
25
+ .. variable:: CPACK_BUNDLE_ICON
26
+
27
+ Path to an macOS icon file that will be used as the icon for the generated
28
+ bundle. This is the icon that appears in the macOS Finder for the bundle, and
29
+ in the macOS dock when the bundle is opened. Required.
30
+
31
+ .. variable:: CPACK_BUNDLE_STARTUP_COMMAND
32
+
33
+ Path to a startup script. This is a path to an executable or script that
34
+ will be run whenever an end-user double-clicks the generated bundle in the
35
+ macOS Finder. Optional.
36
+
37
+ .. variable:: CPACK_BUNDLE_APPLE_CERT_APP
38
+
39
+ .. versionadded:: 3.2
40
+
41
+ The name of your Apple supplied code signing certificate for the application.
42
+ The name usually takes the form ``Developer ID Application: [Name]`` or
43
+ ``3rd Party Mac Developer Application: [Name]``. If this variable is not set
44
+ the application will not be signed.
45
+
46
+ .. variable:: CPACK_BUNDLE_APPLE_ENTITLEMENTS
47
+
48
+ .. versionadded:: 3.2
49
+
50
+ The name of the Property List (``.plist``) file that contains your Apple
51
+ entitlements for sandboxing your application. This file is required
52
+ for submission to the macOS App Store.
53
+
54
+ .. variable:: CPACK_BUNDLE_APPLE_CODESIGN_FILES
55
+
56
+ .. versionadded:: 3.2
57
+
58
+ A list of additional files that you wish to be signed. You do not need to
59
+ list the main application folder, or the main executable. You should
60
+ list any frameworks and plugins that are included in your app bundle.
61
+
62
+ .. variable:: CPACK_BUNDLE_APPLE_CODESIGN_PARAMETER
63
+
64
+ .. versionadded:: 3.3
65
+
66
+ Additional parameter that will passed to ``codesign``.
67
+ Default value: ``--deep -f``
68
+
69
+ .. variable:: CPACK_COMMAND_CODESIGN
70
+
71
+ .. versionadded:: 3.2
72
+
73
+ Path to the ``codesign(1)`` command used to sign applications with an
74
+ Apple cert. This variable can be used to override the automatically
75
+ detected command (or specify its location if the auto-detection fails
76
+ to find it).
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/cygwin.rst ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack Cygwin Generator
2
+ ----------------------
3
+
4
+ Cygwin CPack generator (Cygwin).
5
+
6
+ Variables affecting the CPack Cygwin generator
7
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
+
9
+ - .. versionadded:: 3.18
10
+ :variable:`CPACK_ARCHIVE_THREADS`
11
+
12
+
13
+ Variables specific to CPack Cygwin generator
14
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
+
16
+ The
17
+ following variable is specific to installers build on and/or for
18
+ Cygwin:
19
+
20
+ .. variable:: CPACK_CYGWIN_PATCH_NUMBER
21
+
22
+ The Cygwin patch number. FIXME: This documentation is incomplete.
23
+
24
+ .. variable:: CPACK_CYGWIN_PATCH_FILE
25
+
26
+ The Cygwin patch file. FIXME: This documentation is incomplete.
27
+
28
+ .. variable:: CPACK_CYGWIN_BUILD_SCRIPT
29
+
30
+ The Cygwin build script. FIXME: This documentation is incomplete.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/deb.rst ADDED
@@ -0,0 +1,704 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack DEB Generator
2
+ -------------------
3
+
4
+ The built in (binary) CPack DEB generator (Unix only)
5
+
6
+ Variables specific to CPack Debian (DEB) generator
7
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
+
9
+ The CPack DEB generator may be used to create DEB package using :module:`CPack`.
10
+ The CPack DEB generator is a :module:`CPack` generator thus it uses the
11
+ :variable:`!CPACK_XXX` variables used by :module:`CPack`.
12
+
13
+ The CPack DEB generator should work on any Linux host but it will produce
14
+ better deb package when Debian specific tools ``dpkg-xxx`` are usable on
15
+ the build system.
16
+
17
+ The CPack DEB generator has specific features which are controlled by the
18
+ specifics :variable:`!CPACK_DEBIAN_XXX` variables.
19
+
20
+ :variable:`!CPACK_DEBIAN_<COMPONENT>_XXXX` variables may be used in order to have
21
+ **component** specific values. Note however that ``<COMPONENT>`` refers to
22
+ the **grouping name** written in upper case. It may be either a component name
23
+ or a component GROUP name.
24
+
25
+ Here are some CPack DEB generator wiki resources that are here for historic
26
+ reasons and are no longer maintained but may still prove useful:
27
+
28
+ - https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Configuration
29
+ - https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators#deb-unix-only
30
+
31
+ List of CPack DEB generator specific variables:
32
+
33
+ .. variable:: CPACK_DEB_COMPONENT_INSTALL
34
+
35
+ Enable component packaging for CPackDEB
36
+
37
+ :Mandatory: No
38
+ :Default: ``OFF``
39
+
40
+ If enabled (``ON``) multiple packages are generated. By default a single package
41
+ containing files of all components is generated.
42
+
43
+ .. variable:: CPACK_DEBIAN_PACKAGE_NAME
44
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_NAME
45
+
46
+ Set Package control field (variable is automatically transformed to lower
47
+ case).
48
+
49
+ :Mandatory: Yes
50
+ :Default:
51
+
52
+ - :variable:`CPACK_PACKAGE_NAME` for non-component based
53
+ installations
54
+ - :variable:`CPACK_DEBIAN_PACKAGE_NAME` suffixed with ``-<COMPONENT>``
55
+ for component-based installations.
56
+
57
+ .. versionadded:: 3.5
58
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_NAME` variables.
59
+
60
+ See https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-source
61
+
62
+ .. variable:: CPACK_DEBIAN_FILE_NAME
63
+ CPACK_DEBIAN_<COMPONENT>_FILE_NAME
64
+
65
+ .. versionadded:: 3.6
66
+
67
+ Package file name.
68
+
69
+ :Mandatory: Yes
70
+ :Default: ``<CPACK_PACKAGE_FILE_NAME>[-<component>].deb``
71
+
72
+ This may be set to ``DEB-DEFAULT`` to allow the CPack DEB generator to generate
73
+ package file name by itself in deb format::
74
+
75
+ <PackageName>_<VersionNumber>-<DebianRevisionNumber>_<DebianArchitecture>.deb
76
+
77
+ Alternatively provided package file name must end
78
+ with either ``.deb`` or ``.ipk`` suffix.
79
+
80
+ .. versionadded:: 3.10
81
+ ``.ipk`` suffix used by OPKG packaging system.
82
+
83
+ .. note::
84
+
85
+ Preferred setting of this variable is ``DEB-DEFAULT`` but for backward
86
+ compatibility with the CPack DEB generator in CMake prior to version 3.6 this
87
+ feature is disabled by default.
88
+
89
+ .. note::
90
+
91
+ By using non default filenames duplicate names may occur. Duplicate files
92
+ get overwritten and it is up to the packager to set the variables in a
93
+ manner that will prevent such errors.
94
+
95
+ .. variable:: CPACK_DEBIAN_PACKAGE_EPOCH
96
+
97
+ .. versionadded:: 3.10
98
+
99
+ The Debian package epoch
100
+
101
+ :Mandatory: No
102
+ :Default: None
103
+
104
+ Optional number that should be incremented when changing versioning schemas
105
+ or fixing mistakes in the version numbers of older packages.
106
+
107
+ .. variable:: CPACK_DEBIAN_PACKAGE_VERSION
108
+
109
+ The Debian package version
110
+
111
+ :Mandatory: Yes
112
+ :Default: :variable:`CPACK_PACKAGE_VERSION`
113
+
114
+ This variable may contain only alphanumerics (A-Za-z0-9) and the characters
115
+ . + - ~ (full stop, plus, hyphen, tilde) and should start with a digit. If
116
+ :variable:`CPACK_DEBIAN_PACKAGE_RELEASE` is not set then hyphens are not
117
+ allowed.
118
+
119
+ .. note::
120
+
121
+ For backward compatibility with CMake 3.9 and lower a failed test of this
122
+ variable's content is not a hard error when both
123
+ :variable:`CPACK_DEBIAN_PACKAGE_RELEASE` and
124
+ :variable:`CPACK_DEBIAN_PACKAGE_EPOCH` variables are not set. An author
125
+ warning is reported instead.
126
+
127
+ .. variable:: CPACK_DEBIAN_PACKAGE_RELEASE
128
+
129
+ .. versionadded:: 3.6
130
+
131
+ The Debian package release - Debian revision number.
132
+
133
+ :Mandatory: No
134
+ :Default: None
135
+
136
+ This is the numbering of the DEB package itself, i.e. the version of the
137
+ packaging and not the version of the content (see
138
+ :variable:`CPACK_DEBIAN_PACKAGE_VERSION`). One may change the default value
139
+ if the previous packaging was buggy and/or you want to put here a fancy Linux
140
+ distro specific numbering.
141
+
142
+ .. variable:: CPACK_DEBIAN_PACKAGE_ARCHITECTURE
143
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_ARCHITECTURE
144
+
145
+ The Debian package architecture
146
+
147
+ :Mandatory: Yes
148
+ :Default: Output of ``dpkg --print-architecture`` (or ``i386``
149
+ if ``dpkg`` is not found)
150
+
151
+ .. versionadded:: 3.6
152
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_ARCHITECTURE` variables.
153
+
154
+ .. variable:: CPACK_DEBIAN_PACKAGE_DEPENDS
155
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_DEPENDS
156
+
157
+ Sets the Debian dependencies of this package.
158
+
159
+ :Mandatory: No
160
+ :Default:
161
+
162
+ - An empty string for non-component based installations
163
+ - :variable:`CPACK_DEBIAN_PACKAGE_DEPENDS` for component-based
164
+ installations.
165
+
166
+
167
+ .. versionadded:: 3.3
168
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_DEPENDS` variables.
169
+
170
+ .. note::
171
+
172
+ If :variable:`CPACK_DEBIAN_PACKAGE_SHLIBDEPS` or
173
+ more specifically :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_SHLIBDEPS`
174
+ is set for this component, the discovered dependencies will be appended
175
+ to :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_DEPENDS` instead of
176
+ :variable:`CPACK_DEBIAN_PACKAGE_DEPENDS`. If
177
+ :variable:`CPACK_DEBIAN_<COMPONENT>_PACKAGE_DEPENDS` is an empty string,
178
+ only the automatically discovered dependencies will be set for this
179
+ component.
180
+
181
+ Example:
182
+
183
+ .. code-block:: cmake
184
+
185
+ set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.3.1-6), libc6 (< 2.4)")
186
+
187
+ .. variable:: CPACK_DEBIAN_ENABLE_COMPONENT_DEPENDS
188
+
189
+ .. versionadded:: 3.6
190
+
191
+ Sets inter-component dependencies if listed with
192
+ :variable:`CPACK_COMPONENT_<compName>_DEPENDS` variables.
193
+
194
+ :Mandatory: No
195
+ :Default: None
196
+
197
+ .. variable:: CPACK_DEBIAN_PACKAGE_MAINTAINER
198
+
199
+ The Debian package maintainer
200
+
201
+ :Mandatory: Yes
202
+ :Default: :variable:`!CPACK_PACKAGE_CONTACT`
203
+
204
+ .. variable:: CPACK_DEBIAN_PACKAGE_DESCRIPTION
205
+ CPACK_DEBIAN_<COMPONENT>_DESCRIPTION
206
+
207
+ The Debian package description
208
+
209
+ :Mandatory: Yes
210
+ :Default:
211
+
212
+ - :variable:`CPACK_DEBIAN_<COMPONENT>_DESCRIPTION` (component
213
+ based installers only) if set, or :variable:`CPACK_DEBIAN_PACKAGE_DESCRIPTION` if set, or
214
+ - :variable:`CPACK_COMPONENT_<compName>_DESCRIPTION` (component
215
+ based installers only) if set, or :variable:`CPACK_PACKAGE_DESCRIPTION` if set, or
216
+ - content of the file specified in :variable:`CPACK_PACKAGE_DESCRIPTION_FILE` if set
217
+
218
+ If after that description is not set, :variable:`CPACK_PACKAGE_DESCRIPTION_SUMMARY` going to be
219
+ used if set. Otherwise, :variable:`CPACK_PACKAGE_DESCRIPTION_SUMMARY` will be added as the first
220
+ line of description as defined in `Debian Policy Manual`_.
221
+
222
+ .. versionadded:: 3.3
223
+ Per-component :variable:`!CPACK_COMPONENT_<compName>_DESCRIPTION` variables.
224
+
225
+ .. versionadded:: 3.16
226
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_DESCRIPTION` variables.
227
+
228
+ .. versionadded:: 3.16
229
+ The :variable:`!CPACK_PACKAGE_DESCRIPTION_FILE` variable.
230
+
231
+ .. _Debian Policy Manual: https://www.debian.org/doc/debian-policy/ch-controlfields.html#description
232
+
233
+ .. variable:: CPACK_DEBIAN_PACKAGE_SECTION
234
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_SECTION
235
+
236
+ Set Section control field e.g. admin, devel, doc, ...
237
+
238
+ :Mandatory: Yes
239
+ :Default: ``devel``
240
+
241
+ .. versionadded:: 3.5
242
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_SECTION` variables.
243
+
244
+ See https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
245
+
246
+ .. variable:: CPACK_DEBIAN_ARCHIVE_TYPE
247
+
248
+ .. versionadded:: 3.7
249
+
250
+ .. deprecated:: 3.14
251
+
252
+ The archive format used for creating the Debian package.
253
+
254
+ :Mandatory: Yes
255
+ :Default: ``gnutar``
256
+
257
+ Possible value is: ``gnutar``
258
+
259
+ .. note::
260
+
261
+ This variable previously defaulted to the ``paxr`` value, but ``dpkg``
262
+ has never supported that tar format. For backwards compatibility the
263
+ ``paxr`` value will be mapped to ``gnutar`` and a deprecation message
264
+ will be emitted.
265
+
266
+ .. variable:: CPACK_DEBIAN_COMPRESSION_TYPE
267
+
268
+ .. versionadded:: 3.1
269
+
270
+ The compression used for creating the Debian package.
271
+
272
+ :Mandatory: Yes
273
+ :Default: ``gzip``
274
+
275
+ Possible values are:
276
+
277
+ ``lzma``
278
+ Lempel–Ziv–Markov chain algorithm
279
+
280
+ ``xz``
281
+ XZ Utils compression
282
+
283
+ ``bzip2``
284
+ bzip2 Burrows–Wheeler algorithm
285
+
286
+ ``gzip``
287
+ GNU Gzip compression
288
+
289
+ ``zstd``
290
+ .. versionadded:: 3.22
291
+
292
+ Zstandard compression
293
+
294
+
295
+ .. variable:: CPACK_DEBIAN_PACKAGE_PRIORITY
296
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_PRIORITY
297
+
298
+ Set Priority control field e.g. required, important, standard, optional,
299
+ extra
300
+
301
+ :Mandatory: Yes
302
+ :Default: ``optional``
303
+
304
+ .. versionadded:: 3.5
305
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_PRIORITY` variables.
306
+
307
+ See https://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities
308
+
309
+ .. variable:: CPACK_DEBIAN_PACKAGE_HOMEPAGE
310
+
311
+ The URL of the web site for this package, preferably (when applicable) the
312
+ site from which the original source can be obtained and any additional
313
+ upstream documentation or information may be found.
314
+
315
+ :Mandatory: No
316
+ :Default: :variable:`CMAKE_PROJECT_HOMEPAGE_URL`
317
+
318
+ .. versionadded:: 3.12
319
+ The :variable:`!CMAKE_PROJECT_HOMEPAGE_URL` variable.
320
+
321
+ .. note::
322
+
323
+ The content of this field is a simple URL without any surrounding
324
+ characters such as <>.
325
+
326
+ .. variable:: CPACK_DEBIAN_PACKAGE_SHLIBDEPS
327
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_SHLIBDEPS
328
+
329
+ May be set to ON in order to use ``dpkg-shlibdeps`` to generate
330
+ better package dependency list.
331
+
332
+ :Mandatory: No
333
+ :Default:
334
+
335
+ - :variable:`CPACK_DEBIAN_PACKAGE_SHLIBDEPS` if set or
336
+ - ``OFF``
337
+
338
+ .. note::
339
+
340
+ You may need set :variable:`CMAKE_INSTALL_RPATH` to an appropriate value
341
+ if you use this feature, because if you don't ``dpkg-shlibdeps``
342
+ may fail to find your own shared libs.
343
+ See https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling
344
+
345
+ .. note::
346
+
347
+ You can also set :variable:`CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS`
348
+ to an appropriate value if you use this feature, in order to please
349
+ ``dpkg-shlibdeps``. However, you should only do this for private
350
+ shared libraries that could not get resolved otherwise.
351
+
352
+ .. versionadded:: 3.3
353
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_SHLIBDEPS` variables.
354
+
355
+ .. versionadded:: 3.6
356
+ Correct handling of ``$ORIGIN`` in :variable:`CMAKE_INSTALL_RPATH`.
357
+
358
+ .. variable:: CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS
359
+
360
+ .. versionadded:: 3.20
361
+
362
+ May be set to a list of directories that will be given to ``dpkg-shlibdeps``
363
+ via its ``-l`` option. These will be searched by ``dpkg-shlibdeps`` in order
364
+ to find private shared library dependencies.
365
+
366
+ :Mandatory: No
367
+ :Default: None
368
+
369
+ .. note::
370
+
371
+ You should prefer to set :variable:`CMAKE_INSTALL_RPATH` to an appropriate
372
+ value if you use ``dpkg-shlibdeps``. The current option is really only
373
+ needed for private shared library dependencies.
374
+
375
+ .. variable:: CPACK_DEBIAN_PACKAGE_DEBUG
376
+
377
+ May be set when invoking cpack in order to trace debug information
378
+ during the CPack DEB generator run.
379
+
380
+ :Mandatory: No
381
+ :Default: None
382
+
383
+ .. variable:: CPACK_DEBIAN_PACKAGE_PREDEPENDS
384
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_PREDEPENDS
385
+
386
+ Sets the `Pre-Depends` field of the Debian package.
387
+ Like :variable:`Depends <CPACK_DEBIAN_PACKAGE_DEPENDS>`, except that it
388
+ also forces ``dpkg`` to complete installation of the packages named
389
+ before even starting the installation of the package which declares the
390
+ pre-dependency.
391
+
392
+ :Mandatory: No
393
+ :Default:
394
+
395
+ - An empty string for non-component based installations
396
+ - :variable:`CPACK_DEBIAN_PACKAGE_PREDEPENDS` for component-based
397
+ installations.
398
+
399
+ .. versionadded:: 3.4
400
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_PREDEPENDS` variables.
401
+
402
+ See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
403
+
404
+ .. variable:: CPACK_DEBIAN_PACKAGE_ENHANCES
405
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_ENHANCES
406
+
407
+ Sets the ``Enhances`` field of the Debian package.
408
+ Similar to :variable:`Suggests <CPACK_DEBIAN_PACKAGE_SUGGESTS>` but works
409
+ in the opposite direction: declares that a package can enhance the
410
+ functionality of another package.
411
+
412
+ :Mandatory: No
413
+ :Default:
414
+
415
+ - An empty string for non-component based installations
416
+ - :variable:`CPACK_DEBIAN_PACKAGE_ENHANCES` for component-based
417
+ installations.
418
+
419
+ .. versionadded:: 3.4
420
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_ENHANCES` variables.
421
+
422
+ See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
423
+
424
+ .. variable:: CPACK_DEBIAN_PACKAGE_BREAKS
425
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_BREAKS
426
+
427
+ Sets the ``Breaks`` field of the Debian package.
428
+ When a binary package (P) declares that it breaks other packages (B),
429
+ ``dpkg`` will not allow the package (P) which declares ``Breaks`` be
430
+ **unpacked** unless the packages that will be broken (B) are deconfigured
431
+ first.
432
+ As long as the package (P) is configured, the previously deconfigured
433
+ packages (B) cannot be reconfigured again.
434
+
435
+ :Mandatory: No
436
+ :Default:
437
+
438
+ - An empty string for non-component based installations
439
+ - :variable:`CPACK_DEBIAN_PACKAGE_BREAKS` for component-based
440
+ installations.
441
+
442
+ .. versionadded:: 3.4
443
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_BREAKS` variables.
444
+
445
+ See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-breaks
446
+
447
+ .. variable:: CPACK_DEBIAN_PACKAGE_CONFLICTS
448
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_CONFLICTS
449
+
450
+ Sets the `Conflicts` field of the Debian package.
451
+ When one binary package declares a conflict with another using a `Conflicts`
452
+ field, ``dpkg`` will not allow them to be unpacked on the system at
453
+ the same time.
454
+
455
+ :Mandatory: No
456
+ :Default:
457
+
458
+ - An empty string for non-component based installations
459
+ - :variable:`CPACK_DEBIAN_PACKAGE_CONFLICTS` for component-based
460
+ installations.
461
+
462
+ .. versionadded:: 3.4
463
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_CONFLICTS` variables.
464
+
465
+ See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-conflicts
466
+
467
+ .. note::
468
+
469
+ This is a stronger restriction than
470
+ :variable:`Breaks <CPACK_DEBIAN_PACKAGE_BREAKS>`, which prevents the
471
+ broken package from being configured while the breaking package is in
472
+ the "Unpacked" state but allows both packages to be unpacked at the same
473
+ time.
474
+
475
+ .. variable:: CPACK_DEBIAN_PACKAGE_PROVIDES
476
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_PROVIDES
477
+
478
+ Sets the `Provides` field of the Debian package.
479
+ A virtual package is one which appears in the `Provides` control field of
480
+ another package.
481
+
482
+ :Mandatory: No
483
+ :Default:
484
+
485
+ - An empty string for non-component based installations
486
+ - :variable:`CPACK_DEBIAN_PACKAGE_PROVIDES` for component-based
487
+ installations.
488
+
489
+ .. versionadded:: 3.4
490
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_PROVIDES` variables.
491
+
492
+ See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-virtual
493
+
494
+ .. variable:: CPACK_DEBIAN_PACKAGE_REPLACES
495
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_REPLACES
496
+
497
+ Sets the `Replaces` field of the Debian package.
498
+ Packages can declare in their control file that they should overwrite
499
+ files in certain other packages, or completely replace other packages.
500
+
501
+ :Mandatory: No
502
+ :Default:
503
+
504
+ - An empty string for non-component based installations
505
+ - :variable:`CPACK_DEBIAN_PACKAGE_REPLACES` for component-based
506
+ installations.
507
+
508
+ .. versionadded:: 3.4
509
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_REPLACES` variables.
510
+
511
+ See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
512
+
513
+ .. variable:: CPACK_DEBIAN_PACKAGE_RECOMMENDS
514
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_RECOMMENDS
515
+
516
+ Sets the ``Recommends`` field of the Debian package.
517
+ Allows packages to declare a strong, but not absolute, dependency on other
518
+ packages.
519
+
520
+ :Mandatory: No
521
+ :Default:
522
+
523
+ - An empty string for non-component based installations
524
+ - :variable:`CPACK_DEBIAN_PACKAGE_RECOMMENDS` for component-based
525
+ installations.
526
+
527
+ .. versionadded:: 3.4
528
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_RECOMMENDS` variables.
529
+
530
+ See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
531
+
532
+ .. variable:: CPACK_DEBIAN_PACKAGE_SUGGESTS
533
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_SUGGESTS
534
+
535
+ Sets the `Suggests` field of the Debian package.
536
+ Allows packages to declare a suggested package install grouping.
537
+
538
+ :Mandatory: No
539
+ :Default:
540
+
541
+ - An empty string for non-component based installations
542
+ - :variable:`CPACK_DEBIAN_PACKAGE_SUGGESTS` for component-based
543
+ installations.
544
+
545
+ .. versionadded:: 3.4
546
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_SUGGESTS` variables.
547
+
548
+ See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
549
+
550
+ .. variable:: CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS
551
+
552
+ .. versionadded:: 3.6
553
+
554
+ :Mandatory: No
555
+ :Default: ``OFF``
556
+
557
+ Allows to generate shlibs control file automatically. Compatibility is defined by
558
+ :variable:`CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS_POLICY` variable value.
559
+
560
+ .. note::
561
+
562
+ Libraries are only considered if they have both library name and version
563
+ set. This can be done by setting SOVERSION property with
564
+ :command:`set_target_properties` command.
565
+
566
+ .. variable:: CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS_POLICY
567
+
568
+ .. versionadded:: 3.6
569
+
570
+ Compatibility policy for auto-generated shlibs control file.
571
+
572
+ :Mandatory: No
573
+ :Default: ``=``
574
+
575
+ Defines compatibility policy for auto-generated shlibs control file.
576
+ Possible values: ``=``, ``>=``
577
+
578
+ See https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-shlibdeps
579
+
580
+ .. variable:: CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
581
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_CONTROL_EXTRA
582
+
583
+ This variable allow advanced user to add custom script to the
584
+ control.tar.gz.
585
+ Typical usage is for conffiles, postinst, postrm, prerm.
586
+
587
+ :Mandatory: No
588
+ :Default: None
589
+
590
+ Usage:
591
+
592
+ .. code-block:: cmake
593
+
594
+ set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
595
+ "${CMAKE_CURRENT_SOURCE_DIR}/prerm;${CMAKE_CURRENT_SOURCE_DIR}/postrm")
596
+
597
+ .. versionadded:: 3.4
598
+ Per-component :variable:`!CPACK_DEBIAN_<COMPONENT>_PACKAGE_CONTROL_EXTRA` variables.
599
+
600
+ .. variable:: CPACK_DEBIAN_PACKAGE_CONTROL_STRICT_PERMISSION
601
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_CONTROL_STRICT_PERMISSION
602
+
603
+ .. versionadded:: 3.4
604
+
605
+ This variable indicates if the Debian policy on control files should be
606
+ strictly followed.
607
+
608
+ :Mandatory: No
609
+ :Default: ``FALSE``
610
+
611
+ Usage:
612
+
613
+ .. code-block:: cmake
614
+
615
+ set(CPACK_DEBIAN_PACKAGE_CONTROL_STRICT_PERMISSION TRUE)
616
+
617
+ This overrides the permissions on the original files, following the rules
618
+ set by Debian policy
619
+ https://www.debian.org/doc/debian-policy/ch-files.html#s-permissions-owners
620
+
621
+ .. note::
622
+
623
+ The original permissions of the files will be used in the final
624
+ package unless this variable is set to ``TRUE``.
625
+ In particular, the scripts should have the proper executable
626
+ flag prior to the generation of the package.
627
+
628
+ .. variable:: CPACK_DEBIAN_PACKAGE_SOURCE
629
+ CPACK_DEBIAN_<COMPONENT>_PACKAGE_SOURCE
630
+
631
+ .. versionadded:: 3.5
632
+
633
+ Sets the ``Source`` field of the binary Debian package.
634
+ When the binary package name is not the same as the source package name
635
+ (in particular when several components/binaries are generated from one
636
+ source) the source from which the binary has been generated should be
637
+ indicated with the field ``Source``.
638
+
639
+ :Mandatory: No
640
+ :Default:
641
+
642
+ - An empty string for non-component based installations
643
+ - :variable:`CPACK_DEBIAN_PACKAGE_SOURCE` for component-based
644
+ installations.
645
+
646
+ See https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-source
647
+
648
+ .. note::
649
+
650
+ This value is not interpreted. It is possible to pass an optional
651
+ revision number of the referenced source package as well.
652
+
653
+ Packaging of debug information
654
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
655
+
656
+ .. versionadded:: 3.13
657
+
658
+ Dbgsym packages contain debug symbols for debugging packaged binaries.
659
+
660
+ Dbgsym packaging has its own set of variables:
661
+
662
+ .. variable:: CPACK_DEBIAN_DEBUGINFO_PACKAGE
663
+ CPACK_DEBIAN_<component>_DEBUGINFO_PACKAGE
664
+
665
+ Enable generation of dbgsym .ddeb package(s).
666
+
667
+ :Mandatory: No
668
+ :Default: ``OFF``
669
+
670
+ .. note::
671
+
672
+ Setting this also strips the ELF files in the generated non-dbgsym package,
673
+ which results in debuginfo only being available in the dbgsym package.
674
+
675
+ .. note::
676
+
677
+ Binaries must contain debug symbols before packaging so use either ``Debug``
678
+ or ``RelWithDebInfo`` for :variable:`CMAKE_BUILD_TYPE` variable value.
679
+
680
+ Additionally, if :variable:`CPACK_STRIP_FILES` is set, the files will be stripped before
681
+ they get to the DEB generator, so will not contain debug symbols and
682
+ a dbgsym package will not get built. Do not use with :variable:`CPACK_STRIP_FILES`.
683
+
684
+ Building Debian packages on Windows
685
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
686
+
687
+ .. versionadded:: 3.10
688
+
689
+ To communicate UNIX file permissions from the install stage
690
+ to the CPack DEB generator the ``cmake_mode_t`` NTFS
691
+ alternate data stream (ADT) is used.
692
+
693
+ When a filesystem without ADT support is used only owner read/write
694
+ permissions can be preserved.
695
+
696
+ Reproducible packages
697
+ ^^^^^^^^^^^^^^^^^^^^^
698
+
699
+ .. versionadded:: 3.13
700
+
701
+ The environment variable :envvar:`!SOURCE_DATE_EPOCH` may be set to a UNIX
702
+ timestamp, defined as the number of seconds, excluding leap seconds,
703
+ since 01 Jan 1970 00:00:00 UTC. If set, the CPack DEB generator will
704
+ use its value for timestamps in the package.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/dmg.rst ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack DragNDrop Generator
2
+ -------------------------
3
+
4
+ The DragNDrop CPack generator (macOS) creates a DMG image.
5
+
6
+ Variables specific to CPack DragNDrop generator
7
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
+
9
+ The following variables are specific to the DragNDrop installers built
10
+ on macOS:
11
+
12
+ .. variable:: CPACK_DMG_VOLUME_NAME
13
+
14
+ The volume name of the generated disk image.
15
+
16
+ :Default: :variable:`CPACK_PACKAGE_FILE_NAME`
17
+
18
+ .. variable:: CPACK_DMG_FORMAT
19
+
20
+ The disk image format.
21
+
22
+ :Default: ``UDZO``
23
+
24
+ Common values are ``UDRO`` (UDIF read-only), ``UDZO`` (UDIF
25
+ zlib-compressed) or ``UDBZ`` (UDIF bzip2-compressed). Refer to ``hdiutil(1)`` for
26
+ more information on other available formats.
27
+
28
+ .. variable:: CPACK_DMG_DS_STORE
29
+
30
+ Path to a custom ``.DS_Store`` file. This ``.DS_Store`` file can be used to
31
+ specify the Finder window position/geometry and layout (such as hidden
32
+ toolbars, placement of the icons etc.). This file has to be generated by
33
+ the Finder (either manually or through AppleScript) using a normal folder
34
+ from which the ``.DS_Store`` file can then be extracted.
35
+
36
+ .. variable:: CPACK_DMG_DS_STORE_SETUP_SCRIPT
37
+
38
+ .. versionadded:: 3.5
39
+
40
+ Path to a custom AppleScript file. This AppleScript is used to generate
41
+ a ``.DS_Store`` file which specifies the Finder window position/geometry and
42
+ layout (such as hidden toolbars, placement of the icons etc.).
43
+ By specifying a custom AppleScript there is no need to use
44
+ ``CPACK_DMG_DS_STORE``, as the ``.DS_Store`` that is generated by the AppleScript
45
+ will be packaged.
46
+
47
+ .. variable:: CPACK_DMG_BACKGROUND_IMAGE
48
+
49
+ :Default:
50
+
51
+ Path to an image file to be used as the background. This file will be
52
+ copied to ``.background``/``background.<ext>``, where ``<ext>`` is the original image file
53
+ extension. The background image is installed into the image before
54
+ ``CPACK_DMG_DS_STORE_SETUP_SCRIPT`` is executed or ``CPACK_DMG_DS_STORE`` is
55
+ installed. By default no background image is set.
56
+
57
+ .. variable:: CPACK_DMG_DISABLE_APPLICATIONS_SYMLINK
58
+
59
+ .. versionadded:: 3.6
60
+
61
+ Default behavior is to include a symlink to ``/Applications`` in the DMG.
62
+ Set this option to ``ON`` to avoid adding the symlink.
63
+
64
+ .. variable:: CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE
65
+
66
+ .. versionadded:: 3.23
67
+
68
+ :Default: ``OFF``
69
+
70
+ Control whether :variable:`CPACK_RESOURCE_FILE_LICENSE`, if set to a
71
+ non-default value, is used as the license agreement provided when
72
+ mounting the DMG. If :variable:`!CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE` is
73
+ not set, :manual:`cpack(1)` defaults to off.
74
+
75
+ In a CMake project that uses the :module:`CPack` module to generate
76
+ ``CPackConfig.cmake``, :variable:`!CPACK_DMG_SLA_USE_RESOURCE_FILE_LICENSE`
77
+ must be explicitly enabled by the project to activate the SLA.
78
+ See policy :policy:`CMP0133`.
79
+
80
+ .. note::
81
+
82
+ This option was added in response to macOS 12.0's deprecation of
83
+ the ``hdiutil udifrez`` command to make its use optional.
84
+ CPack 3.22 and below always use :variable:`CPACK_RESOURCE_FILE_LICENSE`,
85
+ if set to a non-default value, as the DMG license.
86
+
87
+ .. variable:: CPACK_DMG_SLA_DIR
88
+
89
+ .. versionadded:: 3.5
90
+
91
+ Directory where license and menu files for different languages are stored.
92
+ Setting this causes CPack to look for a ``<language>.menu.txt`` and
93
+ ``<language>.license.txt`` or ``<language>.license.rtf`` file for every
94
+ language defined in :variable:`CPACK_DMG_SLA_LANGUAGES`. If both this variable and
95
+ :variable:`CPACK_RESOURCE_FILE_LICENSE` are set, CPack will only look for the menu
96
+ files and use the same license file for all languages. If both
97
+ ``<language>.license.txt`` and ``<language>.license.rtf`` exist, the ``.txt``
98
+ file will be used.
99
+
100
+ .. versionadded:: 3.17
101
+ RTF support.
102
+
103
+ .. variable:: CPACK_DMG_SLA_LANGUAGES
104
+
105
+ .. versionadded:: 3.5
106
+
107
+ Languages for which a license agreement is provided when mounting the
108
+ generated DMG. A menu file consists of 9 lines of text. The first line is
109
+ is the name of the language itself, uppercase, in English (e.g. German).
110
+ The other lines are translations of the following strings:
111
+
112
+ - Agree
113
+ - Disagree
114
+ - Print
115
+ - Save...
116
+ - You agree to the terms of the License Agreement when you click the
117
+ "Agree" button.
118
+ - Software License Agreement
119
+ - This text cannot be saved. The disk may be full or locked, or the file
120
+ may be locked.
121
+ - Unable to print. Make sure you have selected a printer.
122
+
123
+ For every language in this list, CPack will try to find files
124
+ ``<language>.menu.txt`` and ``<language>.license.txt`` in the directory
125
+ specified by the :variable:`CPACK_DMG_SLA_DIR` variable.
126
+
127
+ .. variable:: CPACK_DMG_<component>_FILE_NAME
128
+
129
+ .. versionadded:: 3.17
130
+
131
+ File name when packaging ``<component>`` as its own DMG
132
+ (:variable:`CPACK_COMPONENTS_GROUPING` set to ``IGNORE``).
133
+
134
+ :Default: ``CPACK_PACKAGE_FILE_NAME-<component>``
135
+
136
+ .. variable:: CPACK_DMG_FILESYSTEM
137
+
138
+ .. versionadded:: 3.21
139
+
140
+ :Default: ``HFS+``
141
+
142
+ The filesystem format. Common values are ``APFS`` and ``HFS+``.
143
+ See ``man hdiutil`` for a full list of supported formats.
144
+
145
+ .. variable:: CPACK_COMMAND_HDIUTIL
146
+
147
+ Path to the ``hdiutil(1)`` command used to operate on disk image files on
148
+ macOS. This variable can be used to override the automatically detected
149
+ command (or specify its location if the auto-detection fails to find it).
150
+
151
+ .. variable:: CPACK_COMMAND_SETFILE
152
+
153
+ Path to the ``SetFile(1)`` command used to set extended attributes on files and
154
+ directories on macOS. This variable can be used to override the
155
+ automatically detected command (or specify its location if the
156
+ auto-detection fails to find it).
157
+
158
+ .. variable:: CPACK_COMMAND_REZ
159
+
160
+ Path to the ``Rez(1)`` command used to compile resources on macOS. This
161
+ variable can be used to override the automatically detected command (or
162
+ specify its location if the auto-detection fails to find it).
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/external.rst ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack External Generator
2
+ ------------------------
3
+
4
+ .. versionadded:: 3.13
5
+
6
+ CPack provides many generators to create packages for a variety of platforms
7
+ and packaging systems. The intention is for CMake/CPack to be a complete
8
+ end-to-end solution for building and packaging a software project. However, it
9
+ may not always be possible to use CPack for the entire packaging process, due
10
+ to either technical limitations or policies that require the use of certain
11
+ tools. For this reason, CPack provides the "External" generator, which allows
12
+ external packaging software to take advantage of some of the functionality
13
+ provided by CPack, such as component installation and the dependency graph.
14
+
15
+ Integration with External Packaging Tools
16
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17
+
18
+ The CPack External generator generates a ``.json`` file containing the
19
+ CPack internal metadata, which gives external software information
20
+ on how to package the software. External packaging software may itself
21
+ invoke CPack, consume the generated metadata,
22
+ install and package files as required.
23
+
24
+ Alternatively CPack can invoke an external packaging software
25
+ through an optional custom CMake script in
26
+ :variable:`CPACK_EXTERNAL_PACKAGE_SCRIPT` instead.
27
+
28
+ Staging of installation files may also optionally be
29
+ taken care of by the generator when enabled through the
30
+ :variable:`CPACK_EXTERNAL_ENABLE_STAGING` variable.
31
+
32
+ JSON Format
33
+ ^^^^^^^^^^^
34
+
35
+ The JSON metadata file contains a list of CPack components and component groups,
36
+ the various options passed to :command:`cpack_add_component` and
37
+ :command:`cpack_add_component_group`, the dependencies between the components
38
+ and component groups, and various other options passed to CPack.
39
+
40
+ The JSON's root object will always provide two fields:
41
+ ``formatVersionMajor`` and ``formatVersionMinor``, which are always integers
42
+ that describe the output format of the generator. Backwards-compatible changes
43
+ to the output format (for example, adding a new field that didn't exist before)
44
+ cause the minor version to be incremented, and backwards-incompatible changes
45
+ (for example, deleting a field or changing its meaning) cause the major version
46
+ to be incremented and the minor version reset to 0. The format version is
47
+ always of the format ``major.minor``. In other words, it always has exactly two
48
+ parts, separated by a period.
49
+
50
+ You can request one or more specific versions of the output format as described
51
+ below with :variable:`CPACK_EXTERNAL_REQUESTED_VERSIONS`. The output format will
52
+ have a major version that exactly matches the requested major version, and a
53
+ minor version that is greater than or equal to the requested minor version. If
54
+ no version is requested with :variable:`CPACK_EXTERNAL_REQUESTED_VERSIONS`, the
55
+ latest known major version is used by default. Currently, the only supported
56
+ format is 1.0, which is described below.
57
+
58
+ Version 1.0
59
+ ***********
60
+
61
+ In addition to the standard format fields, format version 1.0 provides the
62
+ following fields in the root:
63
+
64
+ ``components``
65
+ The ``components`` field is an object with component names as the keys and
66
+ objects describing the components as the values. The component objects have
67
+ the following fields:
68
+
69
+ ``name``
70
+ The name of the component. This is always the same as the key in the
71
+ ``components`` object.
72
+
73
+ ``displayName``
74
+ The value of the ``DISPLAY_NAME`` field passed to
75
+ :command:`cpack_add_component`.
76
+
77
+ ``description``
78
+ The value of the ``DESCRIPTION`` field passed to
79
+ :command:`cpack_add_component`.
80
+
81
+ ``isHidden``
82
+ True if ``HIDDEN`` was passed to :command:`cpack_add_component`, false if
83
+ it was not.
84
+
85
+ ``isRequired``
86
+ True if ``REQUIRED`` was passed to :command:`cpack_add_component`, false if
87
+ it was not.
88
+
89
+ ``isDisabledByDefault``
90
+ True if ``DISABLED`` was passed to :command:`cpack_add_component`, false if
91
+ it was not.
92
+
93
+ ``group``
94
+ Only present if ``GROUP`` was passed to :command:`cpack_add_component`. If
95
+ so, this field is a string value containing the component's group.
96
+
97
+ ``dependencies``
98
+ An array of components the component depends on. This contains the values
99
+ in the ``DEPENDS`` argument passed to :command:`cpack_add_component`. If no
100
+ ``DEPENDS`` argument was passed, this is an empty list.
101
+
102
+ ``installationTypes``
103
+ An array of installation types the component is part of. This contains the
104
+ values in the ``INSTALL_TYPES`` argument passed to
105
+ :command:`cpack_add_component`. If no ``INSTALL_TYPES`` argument was
106
+ passed, this is an empty list.
107
+
108
+ ``isDownloaded``
109
+ True if ``DOWNLOADED`` was passed to :command:`cpack_add_component`, false
110
+ if it was not.
111
+
112
+ ``archiveFile``
113
+ The name of the archive file passed with the ``ARCHIVE_FILE`` argument to
114
+ :command:`cpack_add_component`. If no ``ARCHIVE_FILE`` argument was passed,
115
+ this is an empty string.
116
+
117
+ ``componentGroups``
118
+ The ``componentGroups`` field is an object with component group names as the
119
+ keys and objects describing the component groups as the values. The component
120
+ group objects have the following fields:
121
+
122
+ ``name``
123
+ The name of the component group. This is always the same as the key in the
124
+ ``componentGroups`` object.
125
+
126
+ ``displayName``
127
+ The value of the ``DISPLAY_NAME`` field passed to
128
+ :command:`cpack_add_component_group`.
129
+
130
+ ``description``
131
+ The value of the ``DESCRIPTION`` field passed to
132
+ :command:`cpack_add_component_group`.
133
+
134
+ ``parentGroup``
135
+ Only present if ``PARENT_GROUP`` was passed to
136
+ :command:`cpack_add_component_group`. If so, this field is a string value
137
+ containing the component group's parent group.
138
+
139
+ ``isExpandedByDefault``
140
+ True if ``EXPANDED`` was passed to :command:`cpack_add_component_group`,
141
+ false if it was not.
142
+
143
+ ``isBold``
144
+ True if ``BOLD_TITLE`` was passed to :command:`cpack_add_component_group`,
145
+ false if it was not.
146
+
147
+ ``components``
148
+ An array of names of components that are direct members of the group
149
+ (components that have this group as their ``GROUP``). Components of
150
+ subgroups are not included.
151
+
152
+ ``subgroups``
153
+ An array of names of component groups that are subgroups of the group
154
+ (groups that have this group as their ``PARENT_GROUP``).
155
+
156
+ ``installationTypes``
157
+ The ``installationTypes`` field is an object with installation type names as
158
+ the keys and objects describing the installation types as the values. The
159
+ installation type objects have the following fields:
160
+
161
+ ``name``
162
+ The name of the installation type. This is always the same as the key in
163
+ the ``installationTypes`` object.
164
+
165
+ ``displayName``
166
+ The value of the ``DISPLAY_NAME`` field passed to
167
+ :command:`cpack_add_install_type`.
168
+
169
+ ``index``
170
+ The integer index of the installation type in the list.
171
+
172
+ ``projects``
173
+ The ``projects`` field is an array of objects describing CMake projects which
174
+ comprise the CPack project. The values in this field are derived from
175
+ :variable:`CPACK_INSTALL_CMAKE_PROJECTS`. In most cases, this will be only a
176
+ single project. The project objects have the following fields:
177
+
178
+ ``projectName``
179
+ The project name passed to :variable:`CPACK_INSTALL_CMAKE_PROJECTS`.
180
+
181
+ ``component``
182
+ The name of the component or component set which comprises the project.
183
+
184
+ ``directory``
185
+ The build directory of the CMake project. This is the directory which
186
+ contains the ``cmake_install.cmake`` script.
187
+
188
+ ``subDirectory``
189
+ The subdirectory to install the project into inside the CPack package.
190
+
191
+ ``packageName``
192
+ The package name given in :variable:`CPACK_PACKAGE_NAME`. Only present if
193
+ this option is set.
194
+
195
+ ``packageVersion``
196
+ The package version given in :variable:`CPACK_PACKAGE_VERSION`. Only present
197
+ if this option is set.
198
+
199
+ ``packageDescriptionFile``
200
+ The package description file given in
201
+ :variable:`CPACK_PACKAGE_DESCRIPTION_FILE`. Only present if this option is
202
+ set.
203
+
204
+ ``packageDescriptionSummary``
205
+ The package description summary given in
206
+ :variable:`CPACK_PACKAGE_DESCRIPTION_SUMMARY`. Only present if this option is
207
+ set.
208
+
209
+ ``buildConfig``
210
+ The build configuration given to CPack with the :option:`cpack -C` option.
211
+ Only present if this option is set.
212
+
213
+ ``defaultDirectoryPermissions``
214
+ The default directory permissions given in
215
+ :variable:`CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS`. Only present if this
216
+ option is set.
217
+
218
+ ``setDestdir``
219
+ True if :variable:`CPACK_SET_DESTDIR` is true, false if it is not.
220
+
221
+ ``packagingInstallPrefix``
222
+ The install prefix given in :variable:`CPACK_PACKAGING_INSTALL_PREFIX`. Only
223
+ present if :variable:`CPACK_SET_DESTDIR` is true.
224
+
225
+ ``stripFiles``
226
+ True if :variable:`CPACK_STRIP_FILES` is true, false if it is not.
227
+
228
+ ``warnOnAbsoluteInstallDestination``
229
+ True if :variable:`CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION` is true, false
230
+ if it is not.
231
+
232
+ ``errorOnAbsoluteInstallDestination``
233
+ True if :variable:`CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION` is true,
234
+ false if it is not.
235
+
236
+ Variables specific to CPack External generator
237
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
238
+
239
+ .. variable:: CPACK_EXTERNAL_REQUESTED_VERSIONS
240
+
241
+ This variable is used to request a specific version of the CPack External
242
+ generator. It is a list of ``major.minor`` values, separated by semicolons.
243
+
244
+ If this variable is set to a non-empty value, the CPack External generator
245
+ will iterate through each item in the list to search for a version that it
246
+ knows how to generate. Requested versions should be listed in order of
247
+ descending preference by the client software, as the first matching version
248
+ in the list will be generated.
249
+
250
+ The generator knows how to generate the version if it has a versioned
251
+ generator whose major version exactly matches the requested major version,
252
+ and whose minor version is greater than or equal to the requested minor
253
+ version. For example, if ``CPACK_EXTERNAL_REQUESTED_VERSIONS`` contains 1.0, and
254
+ the CPack External generator knows how to generate 1.1, it will generate 1.1.
255
+ If the generator doesn't know how to generate a version in the list, it skips
256
+ the version and looks at the next one. If it doesn't know how to generate any
257
+ of the requested versions, an error is thrown.
258
+
259
+ If this variable is not set, or is empty, the CPack External generator will
260
+ generate the highest major and minor version that it knows how to generate.
261
+
262
+ If an invalid version is encountered in ``CPACK_EXTERNAL_REQUESTED_VERSIONS`` (one
263
+ that doesn't match ``major.minor``, where ``major`` and ``minor`` are
264
+ integers), it is ignored.
265
+
266
+ .. variable:: CPACK_EXTERNAL_ENABLE_STAGING
267
+
268
+ This variable can be set to true to enable optional installation
269
+ into a temporary staging area which can then be picked up
270
+ and packaged by an external packaging tool.
271
+ The top level directory used by CPack for the current packaging
272
+ task is contained in ``CPACK_TOPLEVEL_DIRECTORY``.
273
+ It is automatically cleaned up on each run before packaging is initiated
274
+ and can be used for custom temporary files required by
275
+ the external packaging tool.
276
+ It also contains the staging area ``CPACK_TEMPORARY_DIRECTORY``
277
+ into which CPack performs the installation when staging is enabled.
278
+
279
+ .. variable:: CPACK_EXTERNAL_PACKAGE_SCRIPT
280
+
281
+ This variable can optionally specify the full path to
282
+ a CMake script file to be run as part of the CPack invocation.
283
+ It is invoked after (optional) staging took place and may
284
+ run an external packaging tool. The script has access to
285
+ the variables defined by the CPack config file.
286
+
287
+ .. variable:: CPACK_EXTERNAL_BUILT_PACKAGES
288
+
289
+ .. versionadded:: 3.19
290
+
291
+ The ``CPACK_EXTERNAL_PACKAGE_SCRIPT`` script may set this list variable to the
292
+ full paths of generated package files. CPack will copy these files from the
293
+ staging directory back to the top build directory and possibly produce
294
+ checksum files if the :variable:`CPACK_PACKAGE_CHECKSUM` is set.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/freebsd.rst ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack FreeBSD Generator
2
+ -----------------------
3
+
4
+ .. versionadded:: 3.10
5
+
6
+ The built in (binary) CPack FreeBSD (pkg) generator (Unix only)
7
+
8
+ Variables affecting the CPack FreeBSD (pkg) generator
9
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10
+
11
+ - .. versionadded:: 3.18
12
+ :variable:`CPACK_ARCHIVE_THREADS`
13
+
14
+ Variables specific to CPack FreeBSD (pkg) generator
15
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16
+
17
+ The CPack FreeBSD generator may be used to create pkg(8) packages -- these may
18
+ be used on FreeBSD, DragonflyBSD, NetBSD, OpenBSD, but also on Linux or OSX,
19
+ depending on the installed package-management tools -- using :module:`CPack`.
20
+
21
+ The CPack FreeBSD generator is a :module:`CPack` generator and uses the
22
+ :variable:`!CPACK_XXX` variables used by :module:`CPack`. It tries to re-use packaging
23
+ information that may already be specified for Debian packages for the
24
+ :cpack_gen:`CPack DEB Generator`. It also tries to re-use RPM packaging
25
+ information when Debian does not specify.
26
+
27
+ The CPack FreeBSD generator should work on any host with libpkg installed. The
28
+ packages it produces are specific to the host architecture and ABI.
29
+
30
+ The CPack FreeBSD generator sets package-metadata through
31
+ :variable:`!CPACK_FREEBSD_XXX` variables. The CPack FreeBSD generator, unlike the
32
+ CPack Deb generator, does not specially support componentized packages; a
33
+ single package is created from all the software artifacts created through
34
+ CMake.
35
+
36
+ All of the variables can be set specifically for FreeBSD packaging in
37
+ the CPackConfig file or in CMakeLists.txt, but most of them have defaults
38
+ that use general settings (e.g. :variable:`CMAKE_PROJECT_NAME`) or Debian-specific
39
+ variables when those make sense (e.g. the homepage of an upstream project
40
+ is usually unchanged by the flavor of packaging). When there is no Debian
41
+ information to fall back on, but the RPM packaging has it, fall back to
42
+ the RPM information (e.g. package license).
43
+
44
+ .. variable:: CPACK_FREEBSD_PACKAGE_NAME
45
+
46
+ Sets the package name (in the package manifest, but also affects the
47
+ output filename).
48
+
49
+ :Mandatory: Yes
50
+ :Default:
51
+
52
+ - :variable:`CPACK_PACKAGE_NAME` (this is always set by CPack itself,
53
+ based on CMAKE_PROJECT_NAME).
54
+
55
+ .. variable:: CPACK_FREEBSD_PACKAGE_COMMENT
56
+
57
+ Sets the package comment. This is the short description displayed by
58
+ pkg(8) in standard "pkg info" output.
59
+
60
+ :Mandatory: Yes
61
+ :Default:
62
+
63
+ - :variable:`CPACK_PACKAGE_DESCRIPTION_SUMMARY` (this is always set
64
+ by CPack itself, if nothing else sets it explicitly).
65
+
66
+ .. variable:: CPACK_FREEBSD_PACKAGE_DESCRIPTION
67
+
68
+ Sets the package description. This is the long description of the package,
69
+ given by "pkg info" with a specific package as argument.
70
+
71
+ :Mandatory: Yes
72
+ :Default:
73
+
74
+ - :variable:`CPACK_DEBIAN_PACKAGE_DESCRIPTION` (this may be set already
75
+ for Debian packaging, so it is used as a fallback).
76
+ - :variable:`CPACK_PACKAGE_DESCRIPTION_SUMMARY` (this is always set
77
+ by CPack itself, if nothing else sets it explicitly).
78
+ - :variable:`PROJECT_DESCRIPTION` (this can be set with the ``DESCRIPTION``
79
+ parameter for :command:`project`).
80
+
81
+ .. variable:: CPACK_FREEBSD_PACKAGE_WWW
82
+
83
+ The URL of the web site for this package, preferably (when applicable) the
84
+ site from which the original source can be obtained and any additional
85
+ upstream documentation or information may be found.
86
+
87
+ :Mandatory: Yes
88
+ :Default:
89
+
90
+ - :variable:`CPACK_PACKAGE_HOMEPAGE_URL`, or if that is not set,
91
+ - :variable:`CPACK_DEBIAN_PACKAGE_HOMEPAGE` (this may be set already
92
+ for Debian packaging, so it is used as a fallback).
93
+
94
+ .. versionadded:: 3.12
95
+ The :variable:`!CPACK_PACKAGE_HOMEPAGE_URL` variable.
96
+
97
+ .. variable:: CPACK_FREEBSD_PACKAGE_LICENSE
98
+
99
+ The license, or licenses, which apply to this software package. This must
100
+ be one or more license-identifiers that pkg recognizes as acceptable license
101
+ identifiers (e.g. "GPLv2").
102
+
103
+ :Mandatory: Yes
104
+ :Default:
105
+
106
+ - :variable:`CPACK_RPM_PACKAGE_LICENSE`
107
+
108
+ .. variable:: CPACK_FREEBSD_PACKAGE_LICENSE_LOGIC
109
+
110
+ This variable is only of importance if there is more than one license.
111
+ The default is "single", which is only applicable to a single license.
112
+ Other acceptable values are determined by pkg -- those are "dual" or "multi" --
113
+ meaning choice (OR) or simultaneous (AND) application of the licenses.
114
+
115
+ :Mandatory: No
116
+ :Default: single
117
+
118
+ .. variable:: CPACK_FREEBSD_PACKAGE_MAINTAINER
119
+
120
+ The FreeBSD maintainer (e.g. ``kde@freebsd.org``) of this package.
121
+
122
+ :Mandatory: Yes
123
+ :Default: none
124
+
125
+ .. variable:: CPACK_FREEBSD_PACKAGE_ORIGIN
126
+
127
+ The origin (ports label) of this package; for packages built by CPack
128
+ outside of the ports system this is of less importance. The default
129
+ puts the package somewhere under ``misc/``, as a stopgap.
130
+
131
+ :Mandatory: Yes
132
+ :Default: ``misc/<package name>``
133
+
134
+ .. variable:: CPACK_FREEBSD_PACKAGE_CATEGORIES
135
+
136
+ The ports categories where this package lives (if it were to be built
137
+ from ports). If none is set a single category is determined based on
138
+ the package origin.
139
+
140
+ :Mandatory: Yes
141
+ :Default: derived from ``ORIGIN``
142
+
143
+ .. variable:: CPACK_FREEBSD_PACKAGE_DEPS
144
+
145
+ A list of package origins that should be added as package dependencies.
146
+ These are in the form ``<category>/<packagename>``, e.g. ``x11/libkonq``.
147
+ No version information needs to be provided (this is not included
148
+ in the manifest).
149
+
150
+ :Mandatory: No
151
+ :Default: empty
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/ifw.rst ADDED
@@ -0,0 +1,519 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack IFW Generator
2
+ -------------------
3
+
4
+ .. versionadded:: 3.1
5
+
6
+ Configure and run the Qt Installer Framework to generate a Qt installer.
7
+
8
+ .. only:: html
9
+
10
+ .. contents::
11
+
12
+ Overview
13
+ ^^^^^^^^
14
+
15
+ This :manual:`cpack generator <cpack-generators(7)>` generates
16
+ configuration and meta information for the `Qt Installer Framework
17
+ <https://doc.qt.io/qtinstallerframework/index.html>`_ (QtIFW),
18
+ and runs QtIFW tools to generate a Qt installer.
19
+
20
+ QtIFW provides tools and utilities to create installers for
21
+ the platforms supported by `Qt <https://www.qt.io>`_: Linux,
22
+ Microsoft Windows, and macOS.
23
+
24
+ To make use of this generator, QtIFW needs to be installed.
25
+ The :module:`CPackIFW` module looks for the location of the
26
+ QtIFW command-line utilities, and defines several commands to
27
+ control the behavior of this generator. See `Hints for Finding QtIFW`_.
28
+
29
+ Variables
30
+ ^^^^^^^^^
31
+
32
+ You can use the following variables to change the behavior of the CPack ``IFW``
33
+ generator.
34
+
35
+ Debug
36
+ """""
37
+
38
+ .. variable:: CPACK_IFW_VERBOSE
39
+
40
+ .. versionadded:: 3.3
41
+
42
+ Set to ``ON`` to enable addition debug output.
43
+ By default is ``OFF``.
44
+
45
+ Package
46
+ """""""
47
+
48
+ .. variable:: CPACK_IFW_PACKAGE_TITLE
49
+
50
+ Name of the installer as displayed on the title bar.
51
+ If not specified, it defaults to :variable:`CPACK_PACKAGE_DESCRIPTION_SUMMARY`.
52
+
53
+ .. variable:: CPACK_IFW_PACKAGE_PUBLISHER
54
+
55
+ Publisher of the software (as shown in the Windows Control Panel).
56
+ If not specified, it defaults to :variable:`CPACK_PACKAGE_VENDOR`.
57
+
58
+ .. variable:: CPACK_IFW_PRODUCT_URL
59
+
60
+ URL to a page that contains product information on your web site.
61
+
62
+ .. variable:: CPACK_IFW_PACKAGE_ICON
63
+
64
+ Filename for a custom installer icon. It must be an absolute path.
65
+ This should be a ``.icns`` file on macOS and a ``.ico`` file on Windows.
66
+ It is ignored on other platforms.
67
+
68
+ .. variable:: CPACK_IFW_PACKAGE_WINDOW_ICON
69
+
70
+ Filename for a custom window icon in PNG format for the Installer
71
+ application. It must be an absolute path.
72
+
73
+ .. variable:: CPACK_IFW_PACKAGE_LOGO
74
+
75
+ Filename for a logo image in PNG format, used as ``QWizard::LogoPixmap``.
76
+ It must be an absolute path.
77
+
78
+ .. variable:: CPACK_IFW_PACKAGE_WATERMARK
79
+
80
+ .. versionadded:: 3.8
81
+
82
+ Filename for a watermark image in PNG format, used as
83
+ ``QWizard::WatermarkPixmap``. It must be an absolute path.
84
+
85
+ .. variable:: CPACK_IFW_PACKAGE_BANNER
86
+
87
+ .. versionadded:: 3.8
88
+
89
+ Filename for a banner image in PNG format, used as ``QWizard::BannerPixmap``.
90
+ It must be an absolute path.
91
+
92
+ .. variable:: CPACK_IFW_PACKAGE_BACKGROUND
93
+
94
+ .. versionadded:: 3.8
95
+
96
+ Filename for a background image in PNG format, used as
97
+ ``QWizard::BackgroundPixmap`` (only used by ``MacStyle``). It must be an
98
+ absolute path.
99
+
100
+ .. variable:: CPACK_IFW_PACKAGE_WIZARD_STYLE
101
+
102
+ .. versionadded:: 3.8
103
+
104
+ Wizard style to be used (``Modern``, ``Mac``, ``Aero`` or ``Classic``).
105
+
106
+ .. variable:: CPACK_IFW_PACKAGE_WIZARD_DEFAULT_WIDTH
107
+
108
+ .. versionadded:: 3.8
109
+
110
+ Default width of the wizard in pixels. Setting a banner image will override
111
+ this.
112
+
113
+ .. variable:: CPACK_IFW_PACKAGE_WIZARD_DEFAULT_HEIGHT
114
+
115
+ .. versionadded:: 3.8
116
+
117
+ Default height of the wizard in pixels. Setting a watermark image will
118
+ override this.
119
+
120
+ .. variable:: CPACK_IFW_PACKAGE_WIZARD_SHOW_PAGE_LIST
121
+
122
+ .. versionadded:: 3.20
123
+
124
+ Set to ``OFF`` if the widget listing installer pages on the left side of the
125
+ wizard should not be shown.
126
+
127
+ It is ``ON`` by default, but will only have an effect if using QtIFW 4.0 or
128
+ later.
129
+
130
+ .. variable:: CPACK_IFW_PACKAGE_TITLE_COLOR
131
+
132
+ .. versionadded:: 3.8
133
+
134
+ Color of the titles and subtitles (takes an HTML color code, such as
135
+ ``#88FF33``).
136
+
137
+ .. variable:: CPACK_IFW_PACKAGE_STYLE_SHEET
138
+
139
+ .. versionadded:: 3.15
140
+
141
+ Filename for a stylesheet. It must be an absolute path.
142
+
143
+ .. variable:: CPACK_IFW_TARGET_DIRECTORY
144
+
145
+ Default target directory for installation.
146
+ If :variable:`CPACK_PACKAGE_INSTALL_DIRECTORY` is set, this defaults to
147
+ ``@ApplicationsDir@/${CPACK_PACKAGE_INSTALL_DIRECTORY}``. If that variable
148
+ isn't set either, the default used is ``@RootDir@/usr/local``.
149
+ Predefined variables of the form ``@...@`` are expanded by the
150
+ `QtIFW scripting engine <https://doc.qt.io/qtinstallerframework/scripting.html>`_.
151
+
152
+ .. variable:: CPACK_IFW_ADMIN_TARGET_DIRECTORY
153
+
154
+ Default target directory for installation with administrator rights.
155
+
156
+ You can use predefined variables.
157
+
158
+ .. variable:: CPACK_IFW_PACKAGE_REMOVE_TARGET_DIR
159
+
160
+ .. versionadded:: 3.11
161
+
162
+ Set to ``OFF`` if the target directory should not be deleted when uninstalling.
163
+
164
+ Is ``ON`` by default
165
+
166
+ .. variable:: CPACK_IFW_PACKAGE_GROUP
167
+
168
+ The group, which will be used to configure the root package.
169
+
170
+ .. variable:: CPACK_IFW_PACKAGE_NAME
171
+
172
+ The root package name, which will be used if the configuration group is not
173
+ specified.
174
+
175
+ .. variable:: CPACK_IFW_PACKAGE_START_MENU_DIRECTORY
176
+
177
+ .. versionadded:: 3.3
178
+
179
+ Name of the default program group for the product in the Windows Start menu.
180
+ If not specified, it defaults to :variable:`CPACK_IFW_PACKAGE_NAME`.
181
+
182
+ .. variable:: CPACK_IFW_PACKAGE_MAINTENANCE_TOOL_NAME
183
+
184
+ .. versionadded:: 3.3
185
+
186
+ Filename of the generated maintenance tool.
187
+ The platform-specific executable file extension will be appended.
188
+
189
+ If not specified, QtIFW provides a default name (``maintenancetool``).
190
+
191
+ .. variable:: CPACK_IFW_PACKAGE_MAINTENANCE_TOOL_INI_FILE
192
+
193
+ .. versionadded:: 3.3
194
+
195
+ Filename for the configuration of the generated maintenance tool.
196
+
197
+ If not specified, QtIFW uses a default file name (``maintenancetool.ini``).
198
+
199
+ .. variable:: CPACK_IFW_PACKAGE_ALLOW_NON_ASCII_CHARACTERS
200
+
201
+ .. versionadded:: 3.3
202
+
203
+ Set to ``ON`` if the installation path can contain non-ASCII characters.
204
+ Only supported for QtIFW 2.0 and later. Older QtIFW versions will always
205
+ allow non-ASCII characters.
206
+
207
+ .. variable:: CPACK_IFW_PACKAGE_ALLOW_SPACE_IN_PATH
208
+
209
+ .. versionadded:: 3.3
210
+
211
+ Set to ``OFF`` if the installation path cannot contain space characters.
212
+
213
+ Is ``ON`` for QtIFW less 2.0 tools.
214
+
215
+ .. variable:: CPACK_IFW_PACKAGE_DISABLE_COMMAND_LINE_INTERFACE
216
+
217
+ .. versionadded:: 3.23
218
+
219
+ Set to ``ON`` if command line interface features should be disabled.
220
+ It is ``OFF`` by default and will only have an effect if using QtIFW 4.0 or
221
+ later.
222
+
223
+ .. variable:: CPACK_IFW_PACKAGE_CONTROL_SCRIPT
224
+
225
+ .. versionadded:: 3.3
226
+
227
+ Filename for a custom installer control script.
228
+
229
+ .. variable:: CPACK_IFW_PACKAGE_RESOURCES
230
+
231
+ .. versionadded:: 3.7
232
+
233
+ List of additional resources (``.qrc`` files) to include in the installer
234
+ binary. They should be specified as absolute paths and no two resource files
235
+ can have the same file name.
236
+
237
+ You can use the :command:`cpack_ifw_add_package_resources` command to resolve
238
+ relative paths.
239
+
240
+ .. variable:: CPACK_IFW_PACKAGE_FILE_EXTENSION
241
+
242
+ .. versionadded:: 3.10
243
+
244
+ The target binary extension.
245
+
246
+ On Linux, the name of the target binary is automatically extended with
247
+ ``.run``, if you do not specify the extension.
248
+
249
+ On Windows, the target is created as an application with the extension
250
+ ``.exe``, which is automatically added, if not supplied.
251
+
252
+ On Mac, the target is created as an DMG disk image with the extension
253
+ ``.dmg``, which is automatically added, if not supplied.
254
+
255
+ .. variable:: CPACK_IFW_REPOSITORIES_ALL
256
+
257
+ The list of remote repositories.
258
+
259
+ The default value of this variable is computed by CPack and contains
260
+ all repositories added with :command:`cpack_ifw_add_repository`
261
+ or updated with :command:`cpack_ifw_update_repository`.
262
+
263
+ .. variable:: CPACK_IFW_DOWNLOAD_ALL
264
+
265
+ If this is ``ON``, all components will be downloaded. If not set, the
266
+ behavior is determined by whether :command:`cpack_configure_downloads` has
267
+ been called with the ``ALL`` option or not.
268
+
269
+ .. variable:: CPACK_IFW_PACKAGE_PRODUCT_IMAGES
270
+
271
+ .. versionadded:: 3.23
272
+
273
+ A list of images to be shown on the ``PerformInstallationPage``. These
274
+ must be absolute paths and the images must be in PNG format.
275
+
276
+ This feature is available for QtIFW 4.0.0 and later.
277
+
278
+ .. variable:: CPACK_IFW_PACKAGE_RUN_PROGRAM
279
+
280
+ .. versionadded:: 3.23
281
+
282
+ Command executed after the installer is finished, if the user accepts the
283
+ action. Provide the full path to the application, as found when installed.
284
+ This typically means the path should begin with the QtIFW predefined variable
285
+ ``@TargetDir@``.
286
+
287
+ This feature is available for QtIFW 4.0.0 and later.
288
+
289
+ .. variable:: CPACK_IFW_PACKAGE_RUN_PROGRAM_ARGUMENTS
290
+
291
+ .. versionadded:: 3.23
292
+
293
+ List of arguments passed to the program specified in
294
+ :variable:`CPACK_IFW_PACKAGE_RUN_PROGRAM`.
295
+
296
+ This feature is available for QtIFW 4.0.0 and later.
297
+
298
+ .. variable:: CPACK_IFW_PACKAGE_RUN_PROGRAM_DESCRIPTION
299
+
300
+ .. versionadded:: 3.23
301
+
302
+ Text shown next to the check box for running the program after the
303
+ installation. If :variable:`CPACK_IFW_PACKAGE_RUN_PROGRAM` is set but no
304
+ description is provided, QtIFW will use a default message like
305
+ ``Run <Name> now``.
306
+
307
+ This feature is available for QtIFW 4.0.0 and later.
308
+
309
+ .. variable:: CPACK_IFW_PACKAGE_SIGNING_IDENTITY
310
+
311
+ .. versionadded:: 3.23
312
+
313
+ Allows specifying a code signing identity to be used for signing the generated
314
+ app bundle. Only available on macOS, ignored on other platforms.
315
+
316
+ .. variable:: CPACK_IFW_ARCHIVE_FORMAT
317
+
318
+ .. versionadded:: 3.23
319
+
320
+ Set the format used when packaging new component data archives. If you omit
321
+ this option, the ``7z`` format will be used as a default. Supported formats:
322
+
323
+ * 7z
324
+ * zip
325
+ * tar.gz
326
+ * tar.bz2
327
+ * tar.xz
328
+
329
+ .. note::
330
+
331
+ If the Qt Installer Framework tools were built without libarchive support,
332
+ only ``7z`` format is supported.
333
+
334
+ This feature is available for QtIFW 4.2.0 and later.
335
+
336
+ .. variable:: CPACK_IFW_ARCHIVE_COMPRESSION
337
+
338
+ .. versionadded:: 3.23
339
+
340
+ Archive compression level. The allowable values are:
341
+
342
+ * 0 (*No compression*)
343
+ * 1 (*Fastest compression*)
344
+ * 3 (*Fast compression*)
345
+ * 5 (*Normal compression*)
346
+ * 7 (*Maximum compression*)
347
+ * 9 (*Ultra compression*)
348
+
349
+ If this variable is not set, QtIFW will use a default compression level,
350
+ which will typically be 5 (*Normal compression*).
351
+
352
+ .. note::
353
+
354
+ Some formats do not support all the possible values. For example ``zip``
355
+ compression only supports values from 1 to 7.
356
+
357
+ This feature is available for QtIFW 4.2.0 and later.
358
+
359
+ Components
360
+ """"""""""
361
+
362
+ .. variable:: CPACK_IFW_RESOLVE_DUPLICATE_NAMES
363
+
364
+ Resolve duplicate names when installing components with groups.
365
+
366
+ .. variable:: CPACK_IFW_PACKAGES_DIRECTORIES
367
+
368
+ Additional prepared packages directories that will be used to resolve
369
+ dependent components.
370
+
371
+ .. variable:: CPACK_IFW_REPOSITORIES_DIRECTORIES
372
+
373
+ .. versionadded:: 3.10
374
+
375
+ Additional prepared repository directories that will be used to resolve and
376
+ repack dependent components.
377
+
378
+ This feature is available for QtIFW 3.1 and later.
379
+
380
+ QtIFW Tools
381
+ """""""""""
382
+
383
+ .. variable:: CPACK_IFW_FRAMEWORK_VERSION
384
+
385
+ .. versionadded:: 3.3
386
+
387
+ The version of the QtIFW tools that will be used. This variable is set
388
+ by the :module:`CPackIFW` module.
389
+
390
+ The following variables provide the locations of the QtIFW
391
+ command-line tools as discovered by the :module:`CPackIFW` module.
392
+ These variables are cached, and may be configured if needed.
393
+
394
+ .. variable:: CPACK_IFW_ARCHIVEGEN_EXECUTABLE
395
+
396
+ .. versionadded:: 3.19
397
+
398
+ The path to ``archivegen``.
399
+
400
+ .. variable:: CPACK_IFW_BINARYCREATOR_EXECUTABLE
401
+
402
+ The path to ``binarycreator``.
403
+
404
+ .. variable:: CPACK_IFW_REPOGEN_EXECUTABLE
405
+
406
+ The path to ``repogen``.
407
+
408
+ .. variable:: CPACK_IFW_INSTALLERBASE_EXECUTABLE
409
+
410
+ The path to ``installerbase``.
411
+
412
+ .. variable:: CPACK_IFW_DEVTOOL_EXECUTABLE
413
+
414
+ The path to ``devtool``.
415
+
416
+ Hints for Finding QtIFW
417
+ """""""""""""""""""""""
418
+
419
+ Generally, the CPack ``IFW`` generator automatically finds QtIFW tools.
420
+ The following (in order of precedence) can also be set to augment the
421
+ locations normally searched by :command:`find_program`:
422
+
423
+ .. variable:: CPACK_IFW_ROOT
424
+
425
+ .. versionadded:: 3.9
426
+
427
+ CMake variable
428
+
429
+ .. envvar:: CPACK_IFW_ROOT
430
+
431
+ .. versionadded:: 3.9
432
+
433
+ Environment variable
434
+
435
+ .. variable:: QTIFWDIR
436
+
437
+ CMake variable
438
+
439
+ .. envvar:: QTIFWDIR
440
+
441
+ Environment variable
442
+
443
+ .. note::
444
+ The specified path should not contain ``bin`` at the end
445
+ (for example: ``D:\\DevTools\\QtIFW2.0.5``).
446
+
447
+ Other Settings
448
+ ^^^^^^^^^^^^^^
449
+
450
+ Online installer
451
+ """"""""""""""""
452
+
453
+ By default, this generator generates an *offline installer*. This means
454
+ that all packaged files are fully contained in the installer executable.
455
+
456
+ In contrast, an *online installer* will download some or all components from
457
+ a remote server.
458
+
459
+ The ``DOWNLOADED`` option in the :command:`cpack_add_component` command
460
+ specifies that a component is to be downloaded. Alternatively, the ``ALL``
461
+ option in the :command:`cpack_configure_downloads` command specifies that
462
+ `all` components are to be be downloaded.
463
+
464
+ The :command:`cpack_ifw_add_repository` command and the
465
+ :variable:`CPACK_IFW_DOWNLOAD_ALL` variable allow for more specific
466
+ configuration.
467
+
468
+ When there are online components, CPack will write them to archive files.
469
+ The help page of the :module:`CPackComponent` module, especially the section
470
+ on the :command:`cpack_configure_downloads` function, explains how to make
471
+ these files accessible from a download URL.
472
+
473
+ Internationalization
474
+ """"""""""""""""""""
475
+
476
+ .. versionadded:: 3.9
477
+
478
+ Some variables and command arguments support internationalization via
479
+ CMake script. This is an optional feature.
480
+
481
+ Installers created by QtIFW tools have built-in support for
482
+ internationalization and many phrases are localized to many languages,
483
+ but this does not apply to the description of your components and groups.
484
+
485
+ Localization of the description of your components and groups is useful for
486
+ users of your installers.
487
+
488
+ A localized variable or argument can contain a single default value, and
489
+ after that a set of pairs with the name of the locale and the localized value.
490
+
491
+ For example:
492
+
493
+ .. code-block:: cmake
494
+
495
+ set(LOCALIZABLE_VARIABLE "Default value"
496
+ en "English value"
497
+ en_US "American value"
498
+ en_GB "Great Britain value"
499
+ )
500
+
501
+ See Also
502
+ ^^^^^^^^
503
+
504
+ Qt Installer Framework Manual:
505
+
506
+ * Index page:
507
+ https://doc.qt.io/qtinstallerframework/index.html
508
+
509
+ * Component Scripting:
510
+ https://doc.qt.io/qtinstallerframework/scripting.html
511
+
512
+ * Predefined Variables:
513
+ https://doc.qt.io/qtinstallerframework/scripting.html#predefined-variables
514
+
515
+ * Promoting Updates:
516
+ https://doc.qt.io/qtinstallerframework/ifw-updates.html
517
+
518
+ Download Qt Installer Framework for your platform from Qt site:
519
+ https://download.qt.io/official_releases/qt-installer-framework
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/innosetup.rst ADDED
@@ -0,0 +1,420 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack Inno Setup Generator
2
+ --------------------------
3
+
4
+ .. versionadded:: 3.27
5
+
6
+ Inno Setup is a free installer for Windows programs by Jordan Russell and
7
+ Martijn Laan (https://jrsoftware.org/isinfo.php).
8
+
9
+ This documentation explains Inno Setup generator specific options.
10
+
11
+ The generator provides a lot of options like components. Unfortunately, not
12
+ all features (e.g. component dependencies) are currently supported by
13
+ Inno Setup and they're ignored by the generator for now.
14
+
15
+ CPack requires Inno Setup 6 or greater and only works on Windows.
16
+
17
+ Variables specific to CPack Inno Setup generator
18
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19
+
20
+ You can use the following variables to change the behavior of the CPack
21
+ ``INNOSETUP`` generator:
22
+
23
+
24
+ General
25
+ """""""
26
+
27
+ None of the following variables is required to be set for the Inno Setup
28
+ generator to work. If a variable is marked as mandatory below but not set,
29
+ its default value is taken.
30
+
31
+ The variables can also contain Inno Setup constants like ``{app}``. Please
32
+ refer to the documentation of Inno Setup for more information.
33
+
34
+ If you're asked to provide the path to any file, you can always give an
35
+ absolute path or in most cases the relative path from the top-level directory
36
+ where all files being installed by an :command:`install` instruction reside.
37
+
38
+ CPack tries to escape quotes and other special characters for you. However,
39
+ using special characters could cause problems.
40
+
41
+ The following variable simplifies the usage of Inno Setup in CMake:
42
+
43
+ .. variable:: CPACK_INNOSETUP_USE_CMAKE_BOOL_FORMAT
44
+
45
+ Inno Setup only uses ``yes`` or ``no`` as boolean formats meanwhile CMake
46
+ uses a lot of alternative formats like ``ON`` or ``OFF``. Having this option
47
+ turned on enables an automatic conversion.
48
+
49
+ Consider the following example:
50
+
51
+ .. code-block:: cmake
52
+
53
+ set(CMAKE_INNOSETUP_SETUP_AllowNoIcons OFF)
54
+
55
+ If this option is turned on, the following line will be created in the output
56
+ script: ``AllowNoIcons=no``.
57
+ Else, the following erroneous line will be created: ``AllowNoIcons=OFF``
58
+
59
+ The conversion is enabled in every Inno Setup specific variable.
60
+
61
+ :Mandatory: Yes
62
+ :Default: ``ON``
63
+
64
+
65
+ Setup Specific Variables
66
+ """"""""""""""""""""""""
67
+
68
+ .. variable:: CPACK_INNOSETUP_ARCHITECTURE
69
+
70
+ One of ``x86``, ``x64``, ``arm64`` or ``ia64``. This variable specifies the
71
+ target architecture of the installer. This also affects the Program Files
72
+ folder or registry keys being used.
73
+
74
+ CPack tries to determine the correct value with a try compile (see
75
+ :variable:`CMAKE_SIZEOF_VOID_P`), but this option can be manually specified
76
+ too (especially when using ``ia64`` or cross-platform compilation).
77
+
78
+ :Mandatory: Yes
79
+ :Default: Either ``x86`` or ``x64`` depending on the results of the try-compile
80
+
81
+ .. variable:: CPACK_INNOSETUP_INSTALL_ROOT
82
+
83
+ If you don't want the installer to create the installation directory under
84
+ Program Files, you've to specify the installation root here.
85
+
86
+ The full directory of the installation will be:
87
+ ``${CPACK_INNOSETUP_INSTALL_ROOT}/${CPACK_PACKAGE_INSTALL_DIRECTORY}``.
88
+
89
+ :Mandatory: Yes
90
+ :Default: ``{autopf}``
91
+
92
+ .. variable:: CPACK_INNOSETUP_ALLOW_CUSTOM_DIRECTORY
93
+
94
+ If turned on, the installer allows the user to change the installation
95
+ directory providing an extra wizard page.
96
+
97
+ :Mandatory: Yes
98
+ :Default: ``ON``
99
+
100
+ .. variable:: CPACK_INNOSETUP_PROGRAM_MENU_FOLDER
101
+
102
+ The initial name of the start menu folder being created.
103
+
104
+ If this variable is set to ``.``, then no separate folder is created,
105
+ application shortcuts will appear in the top-level start menu folder.
106
+
107
+ :Mandatory: Yes
108
+ :Default: The value of :variable:`CPACK_PACKAGE_NAME`
109
+
110
+ .. variable:: CPACK_INNOSETUP_LANGUAGES
111
+
112
+ A :ref:`semicolon-separated list <CMake Language Lists>` of languages you want
113
+ Inno Setup to include.
114
+
115
+ Currently available: ``armenian``, ``brazilianPortuguese``, ``bulgarian``,
116
+ ``catalan``, ``corsican``, ``czech``, ``danish``, ``dutch``, ``english``,
117
+ ``finnish``, ``french``, ``german``, ``hebrew``, ``icelandic``, ``italian``,
118
+ ``japanese``, ``norwegian``, ``polish``, ``portuguese``, ``russian``,
119
+ ``slovak``, ``slovenian``, ``spanish``, ``turkish`` and ``ukrainian``.
120
+ This list might differ depending on the version of Inno Setup.
121
+
122
+ :Mandatory: Yes
123
+ :Default: ``english``
124
+
125
+ .. variable:: CPACK_INNOSETUP_IGNORE_LICENSE_PAGE
126
+
127
+ If you don't specify a license file using
128
+ :variable:`CPACK_RESOURCE_FILE_LICENSE`, CPack uses a file for demonstration
129
+ purposes. If you want the installer to ignore license files at all, you can
130
+ enable this option.
131
+
132
+ :Mandatory: Yes
133
+ :Default: ``OFF``
134
+
135
+ .. variable:: CPACK_INNOSETUP_IGNORE_README_PAGE
136
+
137
+ If you don't specify a readme file using
138
+ :variable:`CPACK_RESOURCE_FILE_README`, CPack uses a file for demonstration
139
+ purposes. If you want the installer to ignore readme files at all, you can
140
+ enable this option. Make sure the option is disabled when using
141
+ a custom readme file.
142
+
143
+ :Mandatory: Yes
144
+ :Default: ``ON``
145
+
146
+ .. variable:: CPACK_INNOSETUP_PASSWORD
147
+
148
+ Enables password protection and file encryption with the given password.
149
+
150
+ :Mandatory: No
151
+
152
+ .. variable:: CPACK_INNOSETUP_USE_MODERN_WIZARD
153
+
154
+ Enables the modern look and feel provided by Inno Setup. If this option is
155
+ turned off, the classic style is used instead. Images and icon files are
156
+ also affected.
157
+
158
+ :Mandatory: Yes
159
+ :Default: ``OFF`` because of compatibility reasons
160
+
161
+ .. variable:: CPACK_INNOSETUP_ICON_FILE
162
+
163
+ The path to a custom installer ``.ico`` file.
164
+
165
+ Use :variable:`CPACK_PACKAGE_ICON` to customize the bitmap file being shown
166
+ in the wizard.
167
+
168
+ :Mandatory: No
169
+
170
+ .. variable:: CPACK_INNOSETUP_SETUP_<directive>
171
+
172
+ This group allows adapting any of the ``[Setup]`` section directives provided
173
+ by Inno Setup where ``directive`` is its name.
174
+
175
+ Here are some examples:
176
+
177
+ .. code-block:: cmake
178
+
179
+ set(CPACK_INNOSETUP_SETUP_WizardSmallImageFile "my_bitmap.bmp")
180
+ set(CPACK_INNOSETUP_SETUP_AllowNoIcons OFF) # This requires CPACK_INNOSETUP_USE_CMAKE_BOOL_FORMAT to be on
181
+
182
+ All of these variables have higher priority than the others.
183
+ Consider the following example:
184
+
185
+ .. code-block:: cmake
186
+
187
+ set(CPACK_INNOSETUP_SETUP_Password "admin")
188
+ set(CPACK_INNOSETUP_PASSWORD "secret")
189
+
190
+ The password will be ``admin`` at the end because ``CPACK_INNOSETUP_PASSWORD``
191
+ has less priority than ``CPACK_INNOSETUP_SETUP_Password``.
192
+
193
+ :Mandatory: No
194
+
195
+
196
+ File Specific Variables
197
+ """""""""""""""""""""""
198
+
199
+ Although all files being installed by an :command:`install` instruction are
200
+ automatically processed and added to the installer, there are some variables
201
+ to customize the installation process.
202
+
203
+ Before using executables (only ``.exe`` or ``.com``) in shortcuts
204
+ (e.g. :variable:`CPACK_CREATE_DESKTOP_LINKS`) or ``[Run]`` entries, you've to
205
+ add the raw file name (without path and extension) to
206
+ :variable:`CPACK_PACKAGE_EXECUTABLES` and create a start menu shortcut
207
+ for them.
208
+
209
+ If you have two files with the same raw name (e.g. ``a/executable.exe`` and
210
+ ``b/executable.com``), an entry in the section is created twice. This will
211
+ result in undefined behavior and is not recommended.
212
+
213
+ .. variable:: CPACK_INNOSETUP_CUSTOM_INSTALL_INSTRUCTIONS
214
+
215
+ This variable should contain a
216
+ :ref:`semicolon-separated list <CMake Language Lists>` of pairs ``path``,
217
+ ``instruction`` and can be used to customize the install command being
218
+ automatically created for each file or directory.
219
+
220
+ CPack creates the following Inno Setup instruction for every file...
221
+
222
+ .. code-block::
223
+
224
+ Source: "absolute\path\to\my_file.txt"; DestDir: "{app}"; Flags: ignoreversion
225
+
226
+ ...and the following line for every directory:
227
+
228
+ .. code-block::
229
+
230
+ Name: "{app}\my_folder"
231
+
232
+ You might want to change the destination directory or the flags of
233
+ ``my_file.txt``. Since we can also provide a relative path, the line you'd
234
+ like to have, is the following:
235
+
236
+ .. code-block::
237
+
238
+ Source: "my_file.txt"; DestDir: "{userdocs}"; Flags: ignoreversion uninsneveruninstall
239
+
240
+ You would do this by using ``my_file.txt`` as ``path`` and
241
+ ``Source: "my_file.txt"; DestDir: "{userdocs}"; Flags: ignoreversion uninsneveruninstall``
242
+ as ``instruction``.
243
+
244
+ You've to take care of the `escaping problem <https://cmake.org/cmake/help/book/mastering-cmake/chapter/Packaging%20With%20CPack.html#adding-custom-cpack-options>`_.
245
+ So the CMake command would be:
246
+
247
+ .. code-block:: cmake
248
+
249
+ set(CPACK_INNOSETUP_CUSTOM_INSTALL_INSTRUCTIONS "my_file.txt;Source: \\\"my_file.txt\\\"\\; DestDir: \\\"{userdocs}\\\"\\; Flags: ignoreversion uninsneveruninstall")
250
+
251
+ To improve readability, you should go around the escaping problem by using
252
+ :variable:`CPACK_VERBATIM_VARIABLES` or by placing the instruction into a
253
+ separate CPack project config file.
254
+
255
+ If you customize the install instruction of a specific file, you lose the
256
+ connection to its component. To go around, manually add
257
+ ``Components: <component>``. You also need to add its shortcuts and ``[Run]``
258
+ entries by yourself in a custom section, since the executable won't be found
259
+ anymore by :variable:`CPACK_PACKAGE_EXECUTABLES`.
260
+
261
+ Here's another example (Note: You've to go around the escaping problem for
262
+ the example to work):
263
+
264
+ .. code-block:: cmake
265
+
266
+ set(CPACK_INNOSETUP_CUSTOM_INSTALL_INSTRUCTIONS
267
+ "component1/my_folder" "Name: \"{userdocs}\\my_folder\"\; Components: component1"
268
+ "component2/my_folder2/my_file.txt" "Source: \"component2\\my_folder2\\my_file.txt\"\; DestDir: \"{app}\\my_folder2\\my_file.txt\"\; Flags: ignoreversion uninsneveruninstall\; Components: component2")
269
+
270
+ :Mandatory: No
271
+
272
+ .. variable:: CPACK_INNOSETUP_MENU_LINKS
273
+
274
+ This variable should contain a
275
+ :ref:`semicolon-separated list <CMake Language Lists>` of pairs ``link``,
276
+ ``link name`` and can be used to add shortcuts into the start menu folder
277
+ beside those of the executables (see :variable:`CPACK_PACKAGE_EXECUTABLES`).
278
+ While ``link name`` is the label, ``link`` can be a URL or a path relative to
279
+ the installation directory.
280
+
281
+ Here's an example:
282
+
283
+ .. code-block:: cmake
284
+
285
+ set(CPACK_INNOSETUP_MENU_LINKS
286
+ "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html"
287
+ "CMake Help" "https://cmake.org" "CMake Web Site")
288
+
289
+ :Mandatory: No
290
+
291
+ .. variable:: CPACK_INNOSETUP_CREATE_UNINSTALL_LINK
292
+
293
+ If this option is turned on, a shortcut to the application's uninstaller is
294
+ automatically added to the start menu folder.
295
+
296
+ :Mandatory: Yes
297
+ :Default: ``OFF``
298
+
299
+ .. variable:: CPACK_INNOSETUP_RUN_EXECUTABLES
300
+
301
+ A :ref:`semicolon-separated list <CMake Language Lists>` of executables being
302
+ specified in :variable:`CPACK_PACKAGE_EXECUTABLES` which the user can run
303
+ when the installer finishes.
304
+
305
+ They're internally added to the ``[Run]`` section.
306
+
307
+ :Mandatory: No
308
+
309
+
310
+ Components Specific Variables
311
+ """""""""""""""""""""""""""""
312
+
313
+ The generator supports components and also downloaded components. However,
314
+ there are some features of components that aren't supported yet (especially
315
+ component dependencies). These variables are ignored for now.
316
+
317
+ CPack will change a component's name in Inno Setup if it has a parent group
318
+ for technical reasons. Consider using ``group\component`` as component name in
319
+ Inno Setup scripts if you have the component ``component`` and its parent
320
+ group ``group``.
321
+
322
+ Here are some additional variables for components:
323
+
324
+ .. variable:: CPACK_INNOSETUP_<compName>_INSTALL_DIRECTORY
325
+
326
+ If you don't want the component ``compName`` to be installed under ``{app}``,
327
+ you've to specify its installation directory here.
328
+
329
+ :Mandatory: No
330
+
331
+ .. variable:: CPACK_INNOSETUP_VERIFY_DOWNLOADS
332
+
333
+ This option only affects downloaded components.
334
+
335
+ If this option is turned on, the hashes of the downloaded archives are
336
+ calculated during compile and
337
+ download time. The installer will only proceed if they match.
338
+
339
+ :Mandatory: Yes
340
+ :Default: ``ON``
341
+
342
+
343
+ Compilation and Scripting Specific Variables
344
+ """"""""""""""""""""""""""""""""""""""""""""
345
+
346
+ .. variable:: CPACK_INNOSETUP_EXECUTABLE
347
+
348
+ The filename of the Inno Setup Script Compiler command.
349
+
350
+ :Mandatory: Yes
351
+ :Default: ``ISCC``
352
+
353
+ .. variable:: CPACK_INNOSETUP_EXECUTABLE_ARGUMENTS
354
+
355
+ A :ref:`semicolon-separated list <CMake Language Lists>` of extra
356
+ command-line options for the Inno Setup Script Compiler command.
357
+
358
+ For example: ``/Qp;/Smysigntool=$p``
359
+
360
+ Take care of the `escaping problem <https://cmake.org/cmake/help/book/mastering-cmake/chapter/Packaging%20With%20CPack.html#adding-custom-cpack-options>`_.
361
+
362
+ :Mandatory: No
363
+
364
+ .. variable:: CPACK_INNOSETUP_DEFINE_<macro>
365
+
366
+ This group allows to add custom define directives as command-line options to
367
+ the Inno Setup Preprocessor command. Each entry emulates a
368
+ ``#define public <macro>`` directive. Its macro is accessible from anywhere
369
+ (``public``), so it can also be used in extra script files.
370
+
371
+ Macro names must not contain any special characters. Refer to the Inno Setup
372
+ Preprocessor documentation for the detailed rules.
373
+
374
+ Consider the following example:
375
+
376
+ .. code-block:: cmake
377
+
378
+ # The following line emulates: #define public MyMacro "Hello, World!"
379
+ set(CPACK_INNOSETUP_DEFINE_MyMacro "Hello, World!")
380
+
381
+ At this point, you can use ``MyMacro`` anywhere. For example in the following
382
+ extra script:
383
+
384
+ .. code-block::
385
+
386
+ AppComments={#emit "'My Macro' has the value: " + MyMacro}
387
+
388
+ Take care of the `escaping problem <https://cmake.org/cmake/help/book/mastering-cmake/chapter/Packaging%20With%20CPack.html#adding-custom-cpack-options>`_.
389
+
390
+ :Mandatory: No
391
+
392
+ .. variable:: CPACK_INNOSETUP_EXTRA_SCRIPTS
393
+
394
+ A :ref:`semicolon-separated list <CMake Language Lists>` of paths to
395
+ additional ``.iss`` script files to be processed.
396
+
397
+ They're internally included at the top of the output script file using a
398
+ ``#include`` directive.
399
+
400
+ You can add any section in your file to extend the installer (e.g. adding
401
+ additional tasks or registry keys). Prefer using
402
+ :variable:`CPACK_INNOSETUP_SETUP_<directive>` when extending the
403
+ ``[Setup]`` section.
404
+
405
+ :Mandatory: No
406
+
407
+ .. variable:: CPACK_INNOSETUP_CODE_FILES
408
+
409
+ A :ref:`semicolon-separated list <CMake Language Lists>` of paths to
410
+ additional Pascal files to be processed.
411
+
412
+ This variable is actually the same as
413
+ :variable:`CPACK_INNOSETUP_EXTRA_SCRIPTS`, except you don't have to
414
+ add ``[Code]`` at the top of your file. Never change the current section in
415
+ a code file. This will result in undefined behavior! Treat them as normal
416
+ Pascal scripts instead.
417
+
418
+ Code files are included at the very bottom of the output script.
419
+
420
+ :Mandatory: No
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/nsis.rst ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack NSIS Generator
2
+ --------------------
3
+
4
+ CPack Nullsoft Scriptable Install System (NSIS) generator specific options.
5
+
6
+ .. versionchanged:: 3.22
7
+ The NSIS generator requires NSIS 3.03 or newer.
8
+
9
+ Variables specific to CPack NSIS generator
10
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11
+
12
+ The following variables are specific to the graphical installers built
13
+ on Windows Nullsoft Scriptable Install System.
14
+
15
+ .. variable:: CPACK_NSIS_INSTALL_ROOT
16
+
17
+ The default installation directory presented to the end user by the NSIS
18
+ installer is under this root dir. The full directory presented to the end
19
+ user is: ``${CPACK_NSIS_INSTALL_ROOT}/${CPACK_PACKAGE_INSTALL_DIRECTORY}``
20
+
21
+ .. variable:: CPACK_NSIS_MUI_ICON
22
+
23
+ An icon filename. The name of a ``*.ico`` file used as the main icon for the
24
+ generated install program.
25
+
26
+ .. variable:: CPACK_NSIS_MUI_UNIICON
27
+
28
+ An icon filename. The name of a ``*.ico`` file used as the main icon for the
29
+ generated uninstall program.
30
+
31
+ .. variable:: CPACK_NSIS_INSTALLER_MUI_ICON_CODE
32
+
33
+ undocumented.
34
+
35
+ .. variable:: CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP
36
+
37
+ .. versionadded:: 3.5
38
+
39
+ The filename of a bitmap to use as the NSIS ``MUI_WELCOMEFINISHPAGE_BITMAP``.
40
+
41
+ .. variable:: CPACK_NSIS_MUI_UNWELCOMEFINISHPAGE_BITMAP
42
+
43
+ .. versionadded:: 3.5
44
+
45
+ The filename of a bitmap to use as the NSIS ``MUI_UNWELCOMEFINISHPAGE_BITMAP``.
46
+
47
+ .. variable:: CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS
48
+
49
+ Extra NSIS commands that will be added to the beginning of the install
50
+ Section, before your install tree is available on the target system.
51
+
52
+ .. variable:: CPACK_NSIS_EXTRA_INSTALL_COMMANDS
53
+
54
+ Extra NSIS commands that will be added to the end of the install Section,
55
+ after your install tree is available on the target system.
56
+
57
+ .. variable:: CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS
58
+
59
+ Extra NSIS commands that will be added to the uninstall Section, before
60
+ your install tree is removed from the target system.
61
+
62
+ .. variable:: CPACK_NSIS_COMPRESSOR
63
+
64
+ The arguments that will be passed to the NSIS `SetCompressor` command.
65
+
66
+ .. variable:: CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL
67
+
68
+ Ask about uninstalling previous versions first. If this is set to ``ON``,
69
+ then an installer will look for previous installed versions and if one is
70
+ found, ask the user whether to uninstall it before proceeding with the
71
+ install.
72
+
73
+ .. variable:: CPACK_NSIS_MODIFY_PATH
74
+
75
+ Modify ``PATH`` toggle. If this is set to ``ON``, then an extra page will appear
76
+ in the installer that will allow the user to choose whether the program
77
+ directory should be added to the system ``PATH`` variable.
78
+
79
+ .. variable:: CPACK_NSIS_DISPLAY_NAME
80
+
81
+ The display name string that appears in the Windows `Apps & features`
82
+ in `Control Panel`
83
+
84
+ .. variable:: CPACK_NSIS_PACKAGE_NAME
85
+
86
+ The title displayed at the top of the installer.
87
+
88
+ .. variable:: CPACK_NSIS_INSTALLED_ICON_NAME
89
+
90
+ A path to the executable that contains the installer icon.
91
+
92
+ .. variable:: CPACK_NSIS_HELP_LINK
93
+
94
+ URL to a web site providing assistance in installing your application.
95
+
96
+ .. variable:: CPACK_NSIS_URL_INFO_ABOUT
97
+
98
+ URL to a web site providing more information about your application.
99
+
100
+ .. variable:: CPACK_NSIS_CONTACT
101
+
102
+ Contact information for questions and comments about the installation
103
+ process.
104
+
105
+ .. variable:: CPACK_NSIS_<compName>_INSTALL_DIRECTORY
106
+
107
+ .. versionadded:: 3.7
108
+
109
+ Custom install directory for the specified component ``<compName>`` instead
110
+ of ``$INSTDIR``.
111
+
112
+ .. variable:: CPACK_NSIS_CREATE_ICONS_EXTRA
113
+
114
+ Additional NSIS commands for creating `Start Menu` shortcuts.
115
+
116
+ .. variable:: CPACK_NSIS_DELETE_ICONS_EXTRA
117
+
118
+ Additional NSIS commands to uninstall `Start Menu` shortcuts.
119
+
120
+ .. variable:: CPACK_NSIS_EXECUTABLES_DIRECTORY
121
+
122
+ Creating NSIS `Start Menu` links assumes that they are in ``bin`` unless this
123
+ variable is set. For example, you would set this to ``exec`` if your
124
+ executables are in an exec directory.
125
+
126
+ .. variable:: CPACK_NSIS_MUI_FINISHPAGE_RUN
127
+
128
+ Specify an executable to add an option to run on the finish page of the
129
+ NSIS installer.
130
+
131
+ .. variable:: CPACK_NSIS_MENU_LINKS
132
+
133
+ Specify links in ``[application]`` menu. This should contain a list of pair
134
+ ``link`` ``link name``. The link may be a URL or a path relative to
135
+ installation prefix. Like::
136
+
137
+ set(CPACK_NSIS_MENU_LINKS
138
+ "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html"
139
+ "CMake Help" "https://cmake.org" "CMake Web Site")
140
+
141
+ .. variable:: CPACK_NSIS_UNINSTALL_NAME
142
+
143
+ .. versionadded:: 3.17
144
+
145
+ Specify the name of the program to uninstall the version.
146
+ Default is ``Uninstall``.
147
+
148
+ .. variable:: CPACK_NSIS_WELCOME_TITLE
149
+
150
+ .. versionadded:: 3.17
151
+
152
+ The title to display on the top of the page for the welcome page.
153
+
154
+ .. variable:: CPACK_NSIS_WELCOME_TITLE_3LINES
155
+
156
+ .. versionadded:: 3.17
157
+
158
+ Display the title in the welcome page on 3 lines instead of 2.
159
+
160
+ .. variable:: CPACK_NSIS_FINISH_TITLE
161
+
162
+ .. versionadded:: 3.17
163
+
164
+ The title to display on the top of the page for the finish page.
165
+
166
+ .. variable:: CPACK_NSIS_FINISH_TITLE_3LINES
167
+
168
+ .. versionadded:: 3.17
169
+
170
+ Display the title in the finish page on 3 lines instead of 2.
171
+
172
+ .. variable:: CPACK_NSIS_MUI_HEADERIMAGE
173
+
174
+ .. versionadded:: 3.17
175
+
176
+ The image to display on the header of installers pages.
177
+
178
+ .. variable:: CPACK_NSIS_MANIFEST_DPI_AWARE
179
+
180
+ .. versionadded:: 3.18
181
+
182
+ If set, declares that the installer is DPI-aware.
183
+
184
+ .. variable:: CPACK_NSIS_BRANDING_TEXT
185
+
186
+ .. versionadded:: 3.20
187
+
188
+ If set, updates the text at the bottom of the install window.
189
+ To set the string to blank, use a space (" ").
190
+
191
+ .. variable:: CPACK_NSIS_BRANDING_TEXT_TRIM_POSITION
192
+
193
+ .. versionadded:: 3.20
194
+
195
+ If set, trim down the size of the control to the size of the branding text string.
196
+ Allowed values for this variable are ``LEFT``, ``CENTER`` or ``RIGHT``.
197
+ If not specified, the default behavior is ``LEFT``.
198
+
199
+ .. variable:: CPACK_NSIS_EXECUTABLE
200
+
201
+ .. versionadded:: 3.21
202
+
203
+ If set, specify the name of the NSIS executable. Default is ``makensis``.
204
+
205
+ .. variable:: CPACK_NSIS_IGNORE_LICENSE_PAGE
206
+
207
+ .. versionadded:: 3.22
208
+
209
+ If set, do not display the page containing the license during installation.
210
+
211
+ .. variable:: CPACK_NSIS_EXECUTABLE_PRE_ARGUMENTS
212
+
213
+ .. versionadded:: 3.25
214
+
215
+ This variable is a :ref:`semicolon-separated list <CMake Language Lists>` of
216
+ arguments to prepend to the nsis script to run.
217
+ If the arguments do not start with a ``/`` or a ``-``, it will add one
218
+ automatically to the corresponding arguments.
219
+ The command that will be run is::
220
+
221
+ makensis.exe <preArgs>... "nsisFileName.nsi" <postArgs>...
222
+
223
+ where ``<preArgs>...`` is constructed from ``CPACK_NSIS_EXECUTABLE_PRE_ARGUMENTS``
224
+ and ``<postArgs>...`` is constructed from ``CPACK_NSIS_EXECUTABLE_POST_ARGUMENTS``.
225
+
226
+
227
+ .. variable:: CPACK_NSIS_EXECUTABLE_POST_ARGUMENTS
228
+
229
+ .. versionadded:: 3.25
230
+
231
+ This variable is a :ref:`semicolon-separated list <CMake Language Lists>` of
232
+ arguments to append to the nsis script to run.
233
+ If the arguments do not start with a ``/`` or a ``-``, it will add one
234
+ automatically to the corresponding arguments.
235
+ The command that will be run is::
236
+
237
+ makensis.exe <preArgs>... "nsisFileName.nsi" <postArgs>...
238
+
239
+ where ``<preArgs>...`` is constructed from ``CPACK_NSIS_EXECUTABLE_PRE_ARGUMENTS``
240
+ and ``<postArgs>...`` is constructed from ``CPACK_NSIS_EXECUTABLE_POST_ARGUMENTS``.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/nuget.rst ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack NuGet Generator
2
+ ---------------------
3
+
4
+ .. versionadded:: 3.12
5
+
6
+ When build a NuGet package there is no direct way to control an output
7
+ filename due a lack of the corresponding CLI option of NuGet, so there
8
+ is no :variable:`!CPACK_NUGET_PACKAGE_FILE_NAME` variable. To form the output filename
9
+ NuGet uses the package name and the version according to its built-in rules.
10
+
11
+ Also, be aware that including a top level directory
12
+ (:variable:`CPACK_INCLUDE_TOPLEVEL_DIRECTORY`) is ignored by this generator.
13
+
14
+
15
+ Variables specific to CPack NuGet generator
16
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17
+
18
+ The CPack NuGet generator may be used to create NuGet packages using
19
+ :module:`CPack`. The CPack NuGet generator is a :module:`CPack` generator thus
20
+ it uses the :variable:`!CPACK_XXX` variables used by :module:`CPack`.
21
+
22
+ The CPack NuGet generator has specific features which are controlled by the
23
+ specifics :variable:`!CPACK_NUGET_XXX` variables. In the "one per group" mode
24
+ (see :variable:`CPACK_COMPONENTS_GROUPING`), ``<compName>`` placeholder
25
+ in the variables below would contain a group name (uppercased and turned into
26
+ a "C" identifier).
27
+
28
+ List of CPack NuGet generator specific variables:
29
+
30
+ .. variable:: CPACK_NUGET_COMPONENT_INSTALL
31
+
32
+ Enable component packaging for CPack NuGet generator
33
+
34
+ :Mandatory: No
35
+ :Default: ``OFF``
36
+
37
+ .. variable:: CPACK_NUGET_PACKAGE_NAME
38
+ CPACK_NUGET_<compName>_PACKAGE_NAME
39
+
40
+ The NUGET package name. ``CPACK_NUGET_PACKAGE_NAME`` is used as the
41
+ package ``id`` on nuget.org_
42
+
43
+ :Mandatory: Yes
44
+ :Default: :variable:`CPACK_PACKAGE_NAME`
45
+
46
+ .. variable:: CPACK_NUGET_PACKAGE_VERSION
47
+ CPACK_NUGET_<compName>_PACKAGE_VERSION
48
+
49
+ The NuGet package version.
50
+
51
+ :Mandatory: Yes
52
+ :Default: :variable:`CPACK_PACKAGE_VERSION`
53
+
54
+ .. variable:: CPACK_NUGET_PACKAGE_DESCRIPTION
55
+ CPACK_NUGET_<compName>_PACKAGE_DESCRIPTION
56
+
57
+ A long description of the package for UI display.
58
+
59
+ :Mandatory: Yes
60
+ :Default:
61
+
62
+ - :variable:`CPACK_COMPONENT_<compName>_DESCRIPTION`,
63
+ - :variable:`!CPACK_COMPONENT_GROUP_<groupName>_DESCRIPTION`,
64
+ - :variable:`CPACK_PACKAGE_DESCRIPTION`
65
+
66
+ .. variable:: CPACK_NUGET_PACKAGE_AUTHORS
67
+ CPACK_NUGET_<compName>_PACKAGE_AUTHORS
68
+
69
+ A comma-separated list of packages authors, matching the profile names
70
+ on nuget.org_. These are displayed in the NuGet Gallery on
71
+ nuget.org_ and are used to cross-reference packages by the same
72
+ authors.
73
+
74
+ :Mandatory: Yes
75
+ :Default: :variable:`CPACK_PACKAGE_VENDOR`
76
+
77
+ .. variable:: CPACK_NUGET_PACKAGE_TITLE
78
+ CPACK_NUGET_<compName>_PACKAGE_TITLE
79
+
80
+ A human-friendly title of the package, typically used in UI displays
81
+ as on nuget.org_ and the Package Manager in Visual Studio. If not
82
+ specified, the package ID is used.
83
+
84
+ :Mandatory: No
85
+ :Default:
86
+
87
+ - :variable:`CPACK_COMPONENT_<compName>_DISPLAY_NAME`,
88
+ - :variable:`!CPACK_COMPONENT_GROUP_<groupName>_DISPLAY_NAME`
89
+
90
+ .. variable:: CPACK_NUGET_PACKAGE_OWNERS
91
+ CPACK_NUGET_<compName>_PACKAGE_OWNERS
92
+
93
+ A comma-separated list of the package creators using profile names
94
+ on nuget.org_. This is often the same list as in authors,
95
+ and is ignored when uploading the package to nuget.org_.
96
+
97
+ :Mandatory: No
98
+ :Default: None
99
+
100
+ .. variable:: CPACK_NUGET_PACKAGE_HOMEPAGE_URL
101
+ CPACK_NUGET_<compName>_PACKAGE_HOMEPAGE_URL
102
+
103
+ An URL for the package's home page, often shown in UI displays as well
104
+ as nuget.org_.
105
+
106
+ :Mandatory: No
107
+ :Default: :variable:`CPACK_PACKAGE_HOMEPAGE_URL`
108
+
109
+ .. variable:: CPACK_NUGET_PACKAGE_LICENSEURL
110
+ CPACK_NUGET_<compName>_PACKAGE_LICENSEURL
111
+
112
+ .. deprecated:: 3.20
113
+ Use a local license file
114
+ (:variable:`CPACK_NUGET_PACKAGE_LICENSE_FILE_NAME`)
115
+ or a `SPDX license identifier`_
116
+ (:variable:`CPACK_NUGET_PACKAGE_LICENSE_EXPRESSION`) instead.
117
+
118
+ An URL for the package's license, often shown in UI displays as well
119
+ as on nuget.org_.
120
+
121
+ :Mandatory: No
122
+ :Default: None
123
+
124
+ .. variable:: CPACK_NUGET_PACKAGE_LICENSE_EXPRESSION
125
+ CPACK_NUGET_<compName>_PACKAGE_LICENSE_EXPRESSION
126
+
127
+ .. versionadded:: 3.20
128
+
129
+ A Software Package Data Exchange `SPDX license identifier`_ such as
130
+ ``MIT``, ``BSD-3-Clause``, or ``LGPL-3.0-or-later``. In the case of a
131
+ choice of licenses or more complex restrictions, compound license
132
+ expressions may be formed using boolean operators, for example
133
+ ``MIT OR BSD-3-Clause``. See the `SPDX specification`_ for guidance
134
+ on forming complex license expressions.
135
+
136
+ If :variable:`CPACK_NUGET_PACKAGE_LICENSE_FILE_NAME` is specified,
137
+ :variable:`!CPACK_NUGET_PACKAGE_LICENSE_EXPRESSION` is ignored.
138
+
139
+ :Mandatory: No
140
+ :Default: None
141
+
142
+ .. variable:: CPACK_NUGET_PACKAGE_LICENSE_FILE_NAME
143
+ CPACK_NUGET_<compName>_PACKAGE_LICENSE_FILE_NAME
144
+
145
+ The package's license file in :file:`.txt` or :file:`.md` format.
146
+
147
+ If :variable:`!CPACK_NUGET_PACKAGE_LICENSE_FILE_NAME` is specified,
148
+ :variable:`!CPACK_NUGET_PACKAGE_LICENSE_EXPRESSION` is ignored.
149
+
150
+ .. versionadded:: 3.20
151
+
152
+ :Mandatory: No
153
+ :Default: None
154
+
155
+ .. variable:: CPACK_NUGET_PACKAGE_ICONURL
156
+ CPACK_NUGET_<compName>_PACKAGE_ICONURL
157
+
158
+ .. deprecated:: 3.20
159
+ Use a local icon file (:variable:`CPACK_NUGET_PACKAGE_ICON`) instead.
160
+
161
+ An URL for a 64x64 image with transparency background to use as the
162
+ icon for the package in UI display.
163
+
164
+ :Mandatory: No
165
+ :Default: None
166
+
167
+ .. variable:: CPACK_NUGET_PACKAGE_REQUIRE_LICENSE_ACCEPTANCE
168
+
169
+ When set to a true value, the user will be prompted to accept the license
170
+ before installing the package.
171
+
172
+ :Mandatory: No
173
+ :Default: None
174
+
175
+ .. variable:: CPACK_NUGET_PACKAGE_ICON
176
+ CPACK_NUGET_<compName>_PACKAGE_ICON
177
+
178
+ .. versionadded:: 3.20
179
+
180
+ The filename of a 64x64 image with transparency background to use as the
181
+ icon for the package in UI display.
182
+
183
+ :Mandatory: No
184
+ :Default: None
185
+
186
+ .. variable:: CPACK_NUGET_PACKAGE_DESCRIPTION_SUMMARY
187
+ CPACK_NUGET_<compName>_PACKAGE_DESCRIPTION_SUMMARY
188
+
189
+ A short description of the package for UI display. If omitted, a
190
+ truncated version of description is used.
191
+
192
+ :Mandatory: No
193
+ :Default: :variable:`CPACK_PACKAGE_DESCRIPTION_SUMMARY`
194
+
195
+ .. variable:: CPACK_NUGET_PACKAGE_RELEASE_NOTES
196
+ CPACK_NUGET_<compName>_PACKAGE_RELEASE_NOTES
197
+
198
+ A description of the changes made in this release of the package,
199
+ often used in UI like the Updates tab of the Visual Studio Package
200
+ Manager in place of the package description.
201
+
202
+ :Mandatory: No
203
+ :Default: None
204
+
205
+ .. variable:: CPACK_NUGET_PACKAGE_COPYRIGHT
206
+ CPACK_NUGET_<compName>_PACKAGE_COPYRIGHT
207
+
208
+ Copyright details for the package.
209
+
210
+ :Mandatory: No
211
+ :Default: None
212
+
213
+ .. variable:: CPACK_NUGET_PACKAGE_LANGUAGE
214
+ CPACK_NUGET_<compName>_PACKAGE_LANGUAGE
215
+
216
+ .. versionadded:: 3.20
217
+
218
+ Locale specifier for the package, for example ``en_CA``.
219
+
220
+ :Mandatory: No
221
+ :Default: None
222
+
223
+ .. variable:: CPACK_NUGET_PACKAGE_TAGS
224
+ CPACK_NUGET_<compName>_PACKAGE_TAGS
225
+
226
+ A space-delimited list of tags and keywords that describe the
227
+ package and aid discoverability of packages through search and
228
+ filtering.
229
+
230
+ :Mandatory: No
231
+ :Default: None
232
+
233
+ .. variable:: CPACK_NUGET_PACKAGE_DEPENDENCIES
234
+ CPACK_NUGET_<compName>_PACKAGE_DEPENDENCIES
235
+
236
+ A list of package dependencies.
237
+
238
+ :Mandatory: No
239
+ :Default: None
240
+
241
+ .. variable:: CPACK_NUGET_PACKAGE_DEPENDENCIES_<dependency>_VERSION
242
+ CPACK_NUGET_<compName>_PACKAGE_DEPENDENCIES_<dependency>_VERSION
243
+
244
+ A `version specification`_ for the particular dependency, where
245
+ ``<dependency>`` is an item of the dependency list (see above)
246
+ transformed with :command:`string(MAKE_C_IDENTIFIER)` command.
247
+
248
+ :Mandatory: No
249
+ :Default: None
250
+
251
+ .. variable:: CPACK_NUGET_PACKAGE_DEBUG
252
+
253
+ Enable debug messages while executing CPack NuGet generator.
254
+
255
+ :Mandatory: No
256
+ :Default: ``OFF``
257
+
258
+
259
+ .. _nuget.org: https://www.nuget.org
260
+ .. _version specification: https://learn.microsoft.com/en-us/nuget/concepts/package-versioning#version-ranges
261
+ .. _SPDX license identifier: https://spdx.org/licenses
262
+ .. _SPDX specification: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions
263
+
264
+ .. NuGet spec docs https://docs.microsoft.com/en-us/nuget/reference/nuspec
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/packagemaker.rst ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ CPack PackageMaker Generator
2
+ ----------------------------
3
+
4
+ Removed. This once generated PackageMaker installers, but the
5
+ generator has been removed since CMake 3.24. Xcode no longer distributes
6
+ the PackageMaker tools. Use the :cpack_gen:`CPack productbuild Generator`
7
+ instead.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/productbuild.rst ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack productbuild Generator
2
+ ----------------------------
3
+
4
+ .. versionadded:: 3.7
5
+
6
+ productbuild CPack generator (macOS).
7
+
8
+ Variables specific to CPack productbuild generator
9
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10
+
11
+ The following variable is specific to installers built on Mac
12
+ macOS using ProductBuild:
13
+
14
+ .. variable:: CPACK_COMMAND_PRODUCTBUILD
15
+
16
+ Path to the ``productbuild(1)`` command used to generate a product archive for
17
+ the macOS Installer or Mac App Store. This variable can be used to override
18
+ the automatically detected command (or specify its location if the
19
+ auto-detection fails to find it).
20
+
21
+ .. variable:: CPACK_PRODUCTBUILD_IDENTIFIER
22
+
23
+ .. versionadded:: 3.23
24
+
25
+ Set the unique (non-localized) product identifier to be associated with the
26
+ product (i.e., ``com.kitware.cmake``). Any component product names will be
27
+ appended to this value.
28
+
29
+ .. variable:: CPACK_PRODUCTBUILD_IDENTITY_NAME
30
+
31
+ .. versionadded:: 3.8
32
+
33
+ Adds a digital signature to the resulting package.
34
+
35
+
36
+ .. variable:: CPACK_PRODUCTBUILD_KEYCHAIN_PATH
37
+
38
+ .. versionadded:: 3.8
39
+
40
+ Specify a specific keychain to search for the signing identity.
41
+
42
+
43
+ .. variable:: CPACK_COMMAND_PKGBUILD
44
+
45
+ Path to the ``pkgbuild(1)`` command used to generate an macOS component package
46
+ on macOS. This variable can be used to override the automatically detected
47
+ command (or specify its location if the auto-detection fails to find it).
48
+
49
+
50
+ .. variable:: CPACK_PKGBUILD_IDENTITY_NAME
51
+
52
+ .. versionadded:: 3.8
53
+
54
+ Adds a digital signature to the resulting package.
55
+
56
+
57
+ .. variable:: CPACK_PKGBUILD_KEYCHAIN_PATH
58
+
59
+ .. versionadded:: 3.8
60
+
61
+ Specify a specific keychain to search for the signing identity.
62
+
63
+
64
+ .. variable:: CPACK_PREFLIGHT_<COMP>_SCRIPT
65
+
66
+ Full path to a file that will be used as the ``preinstall`` script for the
67
+ named ``<COMP>`` component's package, where ``<COMP>`` is the uppercased
68
+ component name. No ``preinstall`` script is added if this variable is not
69
+ defined for a given component.
70
+
71
+
72
+ .. variable:: CPACK_POSTFLIGHT_<COMP>_SCRIPT
73
+
74
+ Full path to a file that will be used as the ``postinstall`` script for the
75
+ named ``<COMP>`` component's package, where ``<COMP>`` is the uppercased
76
+ component name. No ``postinstall`` script is added if this variable is not
77
+ defined for a given component.
78
+
79
+ .. variable:: CPACK_PRODUCTBUILD_RESOURCES_DIR
80
+
81
+ .. versionadded:: 3.9
82
+
83
+ If specified the productbuild generator copies files from this directory
84
+ (including subdirectories) to the ``Resources`` directory. This is done
85
+ before the :variable:`CPACK_RESOURCE_FILE_WELCOME`,
86
+ :variable:`CPACK_RESOURCE_FILE_README`, and
87
+ :variable:`CPACK_RESOURCE_FILE_LICENSE` files are copied.
88
+
89
+ .. variable:: CPACK_PRODUCTBUILD_DOMAINS
90
+
91
+ .. versionadded:: 3.23
92
+
93
+ This option enables more granular control over where the product may be
94
+ installed. When it is set to true, a ``domains`` element of the following
95
+ form will be added to the productbuild Distribution XML:
96
+
97
+ .. code-block:: xml
98
+
99
+ <domains enable_anywhere="true" enable_currentUserHome="false" enable_localSystem="true"/>
100
+
101
+ The default values are as shown above, but can be overridden with
102
+ :variable:`CPACK_PRODUCTBUILD_DOMAINS_ANYWHERE`,
103
+ :variable:`CPACK_PRODUCTBUILD_DOMAINS_USER`, and
104
+ :variable:`CPACK_PRODUCTBUILD_DOMAINS_ROOT`.
105
+
106
+ .. variable:: CPACK_PRODUCTBUILD_DOMAINS_ANYWHERE
107
+
108
+ .. versionadded:: 3.23
109
+
110
+ May be used to override the ``enable_anywhere`` attribute in the ``domains``
111
+ element of the Distribution XML. When set to true, the product can be
112
+ installed at the root of any volume, including non-system volumes.
113
+
114
+ :variable:`CPACK_PRODUCTBUILD_DOMAINS` must be set to true for this variable
115
+ to have any effect.
116
+
117
+ .. variable:: CPACK_PRODUCTBUILD_DOMAINS_USER
118
+
119
+ .. versionadded:: 3.23
120
+
121
+ May be used to override the ``enable_currentUserHome`` attribute in the
122
+ ``domains`` element of the Distribution XML. When set to true, the product
123
+ can be installed into the current user's home directory. Note that when
124
+ installing into the user's home directory, the following additional
125
+ requirements will apply:
126
+
127
+ * The installer may not write outside the user's home directory.
128
+ * The install will be performed as the current user rather than as ``root``.
129
+ This may have ramifications for :variable:`CPACK_PREFLIGHT_<COMP>_SCRIPT`
130
+ and :variable:`CPACK_POSTFLIGHT_<COMP>_SCRIPT`.
131
+ * Administrative privileges will not be needed to perform the install.
132
+
133
+ :variable:`CPACK_PRODUCTBUILD_DOMAINS` must be set to true for this variable
134
+ to have any effect.
135
+
136
+ .. variable:: CPACK_PRODUCTBUILD_DOMAINS_ROOT
137
+
138
+ .. versionadded:: 3.23
139
+
140
+ May be used to override the ``enable_localSystem`` attribute in the
141
+ ``domains`` element of the Distribution XML. When set to true, the product
142
+ can be installed in the root directory. This should normally be set to true
143
+ unless the product should only be installed to the user's home directory.
144
+
145
+ :variable:`CPACK_PRODUCTBUILD_DOMAINS` must be set to true for this variable
146
+ to have any effect.
147
+
148
+ Background Image
149
+ """"""""""""""""
150
+
151
+ .. versionadded:: 3.17
152
+
153
+ This group of variables controls the background image of the generated
154
+ installer.
155
+
156
+ .. variable:: CPACK_PRODUCTBUILD_BACKGROUND
157
+
158
+ Adds a background to Distribution XML if specified. The value contains the
159
+ path to image in ``Resources`` directory.
160
+
161
+ .. variable:: CPACK_PRODUCTBUILD_BACKGROUND_ALIGNMENT
162
+
163
+ Adds an ``alignment`` attribute to the background in Distribution XML.
164
+ Refer to Apple documentation for valid values.
165
+
166
+ .. variable:: CPACK_PRODUCTBUILD_BACKGROUND_SCALING
167
+
168
+ Adds a ``scaling`` attribute to the background in Distribution XML.
169
+ Refer to Apple documentation for valid values.
170
+
171
+ .. variable:: CPACK_PRODUCTBUILD_BACKGROUND_MIME_TYPE
172
+
173
+ Adds a ``mime-type`` attribute to the background in Distribution XML.
174
+ The option contains MIME type of an image.
175
+
176
+ .. variable:: CPACK_PRODUCTBUILD_BACKGROUND_UTI
177
+
178
+ Adds an ``uti`` attribute to the background in Distribution XML.
179
+ The option contains UTI type of an image.
180
+
181
+ .. variable:: CPACK_PRODUCTBUILD_BACKGROUND_DARKAQUA
182
+
183
+ Adds a background for the Dark Aqua theme to Distribution XML if
184
+ specified. The value contains the path to image in ``Resources``
185
+ directory.
186
+
187
+ .. variable:: CPACK_PRODUCTBUILD_BACKGROUND_DARKAQUA_ALIGNMENT
188
+
189
+ Does the same as :variable:`CPACK_PRODUCTBUILD_BACKGROUND_ALIGNMENT` option,
190
+ but for the dark theme.
191
+
192
+ .. variable:: CPACK_PRODUCTBUILD_BACKGROUND_DARKAQUA_SCALING
193
+
194
+ Does the same as :variable:`CPACK_PRODUCTBUILD_BACKGROUND_SCALING` option,
195
+ but for the dark theme.
196
+
197
+ .. variable:: CPACK_PRODUCTBUILD_BACKGROUND_DARKAQUA_MIME_TYPE
198
+
199
+ Does the same as :variable:`CPACK_PRODUCTBUILD_BACKGROUND_MIME_TYPE` option,
200
+ but for the dark theme.
201
+
202
+ .. variable:: CPACK_PRODUCTBUILD_BACKGROUND_DARKAQUA_UTI
203
+
204
+ Does the same as :variable:`CPACK_PRODUCTBUILD_BACKGROUND_UTI` option,
205
+ but for the dark theme.
206
+
207
+ Distribution XML Template
208
+ ^^^^^^^^^^^^^^^^^^^^^^^^^
209
+
210
+ CPack uses a template file to generate the ``distribution.dist`` file used
211
+ internally by this package generator. Ordinarily, CMake provides the template
212
+ file, but projects may supply their own by placing a file called
213
+ ``CPack.distribution.dist.in`` in one of the directories listed in the
214
+ :variable:`CMAKE_MODULE_PATH` variable. CPack will then pick up the project's
215
+ template file instead of using its own.
216
+
217
+ The ``distribution.dist`` file is generated by performing substitutions
218
+ similar to the :command:`configure_file` command. Any variable set when
219
+ CPack runs will be available for substitution using the usual ``@...@``
220
+ form. The following variables are also set internally and made available for
221
+ substitution:
222
+
223
+ ``CPACK_RESOURCE_FILE_LICENSE_NOPATH``
224
+ Same as :variable:`CPACK_RESOURCE_FILE_LICENSE` except without the path.
225
+ The named file will be available in the same directory as the generated
226
+ ``distribution.dist`` file.
227
+
228
+ ``CPACK_RESOURCE_FILE_README_NOPATH``
229
+ Same as :variable:`CPACK_RESOURCE_FILE_README` except without the path.
230
+ The named file will be available in the same directory as the generated
231
+ ``distribution.dist`` file.
232
+
233
+ ``CPACK_RESOURCE_FILE_WELCOME_NOPATH``
234
+ Same as :variable:`CPACK_RESOURCE_FILE_WELCOME` except without the path.
235
+ The named file will be available in the same directory as the generated
236
+ ``distribution.dist`` file.
237
+
238
+ ``CPACK_APPLE_PKG_INSTALLER_CONTENT``
239
+ .. versionadded:: 3.23
240
+
241
+ This contains all the XML elements that specify installer-wide options
242
+ (including domain details), default backgrounds and the choices outline.
243
+
244
+ ``CPACK_PACKAGEMAKER_CHOICES``
245
+ .. deprecated:: 3.23
246
+
247
+ This contains only the XML elements that specify the default backgrounds
248
+ and the choices outline. It does not include the installer-wide options or
249
+ any domain details. Use ``CPACK_APPLE_PKG_INSTALLER_CONTENT`` instead.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/rpm.rst ADDED
@@ -0,0 +1,1097 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack RPM Generator
2
+ -------------------
3
+
4
+ The built in (binary) CPack RPM generator (Unix only)
5
+
6
+ Variables specific to CPack RPM generator
7
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
+
9
+ The CPack RPM generator may be used to create RPM packages using :module:`CPack`.
10
+ The CPack RPM generator is a :module:`CPack` generator thus it uses the
11
+ :variable:`!CPACK_XXX` variables used by :module:`CPack`.
12
+
13
+ The CPack RPM generator has specific features which are controlled by the specifics
14
+ :variable:`!CPACK_RPM_XXX` variables.
15
+
16
+ :variable:`!CPACK_RPM_<COMPONENT>_XXXX` variables may be used in order to have
17
+ **component-specific** values. Note however that ``<COMPONENT>`` refers to the
18
+ **grouping name** written in upper case. It may be either a component name or
19
+ a component GROUP name. Usually, those variables correspond to RPM spec file
20
+ entities. One may find information about spec files here
21
+ https://rpm.org/documentation.
22
+
23
+ .. versionchanged:: 3.6
24
+
25
+ `<COMPONENT>` part of variables is preferred to be in upper case (e.g. if
26
+ component is named ``foo`` then use :variable:`!CPACK_RPM_FOO_XXXX` variable
27
+ name format) as is with other :variable:`!CPACK_<COMPONENT>_XXXX` variables.
28
+ For the purposes of back compatibility (CMake/CPack version 3.5 and lower)
29
+ support for same cased component (e.g. ``fOo`` would be used as
30
+ :variable:`!CPACK_RPM_fOo_XXXX`) is still supported for variables defined in
31
+ older versions of CMake/CPack but is not guaranteed for variables that
32
+ will be added in the future. For the sake of back compatibility same cased
33
+ component variables also override upper cased versions where both are
34
+ present.
35
+
36
+ Here are some CPack RPM generator wiki resources that are here for historic
37
+ reasons and are no longer maintained but may still prove useful:
38
+
39
+ - https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Configuration
40
+ - https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators#rpm-unix-only
41
+
42
+ List of CPack RPM generator specific variables:
43
+
44
+ .. variable:: CPACK_RPM_COMPONENT_INSTALL
45
+
46
+ Enable component packaging for CPack RPM generator
47
+
48
+ :Mandatory: No
49
+ :Default: ``OFF``
50
+
51
+ If enabled (``ON``) multiple packages are generated. By default
52
+ a single package containing files of all components is generated.
53
+
54
+ .. variable:: CPACK_RPM_PACKAGE_SUMMARY
55
+ CPACK_RPM_<component>_PACKAGE_SUMMARY
56
+
57
+ The RPM package summary.
58
+
59
+ :Mandatory: Yes
60
+ :Default: :variable:`CPACK_PACKAGE_DESCRIPTION_SUMMARY`
61
+
62
+ .. versionadded:: 3.2
63
+ Per-component :variable:`!CPACK_RPM_<component>_PACKAGE_SUMMARY` variables.
64
+
65
+ .. variable:: CPACK_RPM_PACKAGE_NAME
66
+ CPACK_RPM_<component>_PACKAGE_NAME
67
+
68
+ The RPM package name.
69
+
70
+ :Mandatory: Yes
71
+ :Default: :variable:`CPACK_PACKAGE_NAME`
72
+
73
+ .. versionadded:: 3.5
74
+ Per-component :variable:`!CPACK_RPM_<component>_PACKAGE_NAME` variables.
75
+
76
+ .. variable:: CPACK_RPM_FILE_NAME
77
+ CPACK_RPM_<component>_FILE_NAME
78
+
79
+ .. versionadded:: 3.6
80
+
81
+ Package file name.
82
+
83
+ :Mandatory: Yes
84
+ :Default: ``<CPACK_PACKAGE_FILE_NAME>[-<component>].rpm`` with spaces
85
+ replaced by '-'
86
+
87
+ This may be set to ``RPM-DEFAULT`` to allow ``rpmbuild`` tool to generate package
88
+ file name by itself.
89
+ Alternatively provided package file name must end with ``.rpm`` suffix.
90
+
91
+ .. note::
92
+
93
+ By using user provided spec file, rpm macro extensions such as for
94
+ generating ``debuginfo`` packages or by simply using multiple components more
95
+ than one rpm file may be generated, either from a single spec file or from
96
+ multiple spec files (each component execution produces its own spec file).
97
+ In such cases duplicate file names may occur as a result of this variable
98
+ setting or spec file content structure. Duplicate files get overwritten
99
+ and it is up to the packager to set the variables in a manner that will
100
+ prevent such errors.
101
+
102
+ .. variable:: CPACK_RPM_MAIN_COMPONENT
103
+
104
+ .. versionadded:: 3.8
105
+
106
+ Main component that is packaged without component suffix.
107
+
108
+ :Mandatory: No
109
+ :Default:
110
+
111
+ This variable can be set to any component or group name so that component or
112
+ group rpm package is generated without component suffix in filename and
113
+ package name.
114
+
115
+ .. variable:: CPACK_RPM_PACKAGE_EPOCH
116
+
117
+ .. versionadded:: 3.10
118
+
119
+ The RPM package epoch
120
+
121
+ :Mandatory: No
122
+ :Default:
123
+
124
+ Optional number that should be incremented when changing versioning schemas
125
+ or fixing mistakes in the version numbers of older packages.
126
+
127
+ .. variable:: CPACK_RPM_PACKAGE_VERSION
128
+
129
+ The RPM package version.
130
+
131
+ :Mandatory: Yes
132
+ :Default: :variable:`CPACK_PACKAGE_VERSION`
133
+
134
+ .. variable:: CPACK_RPM_PACKAGE_ARCHITECTURE
135
+ CPACK_RPM_<component>_PACKAGE_ARCHITECTURE
136
+
137
+ The RPM package architecture.
138
+
139
+ :Mandatory: Yes
140
+ :Default: Native architecture output by ``uname -m``
141
+
142
+ This may be set to ``noarch`` if you know you are building a ``noarch`` package.
143
+
144
+ .. versionadded:: 3.3
145
+ Per-component :variable:`!CPACK_RPM_<component>_PACKAGE_ARCHITECTURE` variables.
146
+
147
+ .. variable:: CPACK_RPM_PACKAGE_RELEASE
148
+
149
+ The RPM package release.
150
+
151
+ :Mandatory: Yes
152
+ :Default: 1
153
+
154
+ This is the numbering of the RPM package itself, i.e. the version of the
155
+ packaging and not the version of the content (see
156
+ :variable:`CPACK_RPM_PACKAGE_VERSION`). One may change the default value if
157
+ the previous packaging was buggy and/or you want to put here a fancy Linux
158
+ distro specific numbering.
159
+
160
+ .. note::
161
+
162
+ This is the string that goes into the RPM ``Release:`` field. Some distros
163
+ (e.g. Fedora, CentOS) require ``1%{?dist}`` format and not just a number.
164
+ ``%{?dist}`` part can be added by setting :variable:`CPACK_RPM_PACKAGE_RELEASE_DIST`.
165
+
166
+ .. variable:: CPACK_RPM_PACKAGE_RELEASE_DIST
167
+
168
+ .. versionadded:: 3.6
169
+
170
+ The dist tag that is added RPM ``Release:`` field.
171
+
172
+ :Mandatory: No
173
+ :Default: ``OFF``
174
+
175
+ This is the reported ``%{dist}`` tag from the current distribution or empty
176
+ ``%{dist}`` if RPM macro is not set. If this variable is set then RPM
177
+ ``Release:`` field value is set to ``${CPACK_RPM_PACKAGE_RELEASE}%{?dist}``.
178
+
179
+ .. variable:: CPACK_RPM_PACKAGE_LICENSE
180
+
181
+ The RPM package license policy.
182
+
183
+ :Mandatory: Yes
184
+ :Default: "unknown"
185
+
186
+ .. variable:: CPACK_RPM_PACKAGE_GROUP
187
+ CPACK_RPM_<component>_PACKAGE_GROUP
188
+
189
+ The RPM package group.
190
+
191
+ :Mandatory: Yes
192
+ :Default: "unknown"
193
+
194
+ .. versionadded:: 3.5
195
+ Per-component :variable:`!CPACK_RPM_<component>_PACKAGE_GROUP` variables.
196
+
197
+ .. variable:: CPACK_RPM_PACKAGE_VENDOR
198
+
199
+ The RPM package vendor.
200
+
201
+ :Mandatory: Yes
202
+ :Default: CPACK_PACKAGE_VENDOR if set or "unknown"
203
+
204
+ .. variable:: CPACK_RPM_PACKAGE_URL
205
+ CPACK_RPM_<component>_PACKAGE_URL
206
+
207
+ The projects URL.
208
+
209
+ :Mandatory: No
210
+ :Default: :variable:`CMAKE_PROJECT_HOMEPAGE_URL`
211
+
212
+ .. versionadded:: 3.12
213
+ The :variable:`!CMAKE_PROJECT_HOMEPAGE_URL` variable.
214
+
215
+ .. variable:: CPACK_RPM_PACKAGE_DESCRIPTION
216
+ CPACK_RPM_<component>_PACKAGE_DESCRIPTION
217
+
218
+ RPM package description.
219
+
220
+ :Mandatory: Yes
221
+ :Default:
222
+
223
+ - :variable:`CPACK_COMPONENT_<compName>_DESCRIPTION`
224
+ (component based installers only) if set,
225
+ - :variable:`CPACK_PACKAGE_DESCRIPTION_FILE`
226
+ if set, or
227
+ - ``no package description available``
228
+
229
+ .. versionadded:: 3.2
230
+ Per-component :variable:`!CPACK_RPM_<component>_PACKAGE_DESCRIPTION` variables.
231
+
232
+ .. variable:: CPACK_RPM_COMPRESSION_TYPE
233
+
234
+ RPM compression type.
235
+
236
+ :Mandatory: No
237
+ :Default: (system default)
238
+
239
+ May be used to override RPM compression type to be used to build the
240
+ RPM. For example some Linux distribution now default to ``lzma`` or ``xz``
241
+ compression whereas older cannot use such RPM. Using this one can enforce
242
+ compression type to be used.
243
+
244
+ Possible values are:
245
+
246
+ ``lzma``
247
+ Lempel–Ziv–Markov chain algorithm
248
+
249
+ ``xz``
250
+ XZ Utils compression
251
+
252
+ ``bzip2``
253
+ bzip2 Burrows–Wheeler algorithm
254
+
255
+ ``gzip``
256
+ GNU Gzip compression
257
+
258
+ .. variable:: CPACK_RPM_PACKAGE_AUTOREQ
259
+ CPACK_RPM_<component>_PACKAGE_AUTOREQ
260
+
261
+ RPM spec autoreq field.
262
+
263
+ :Mandatory: No
264
+ :Default:
265
+
266
+ May be used to enable (``1``, ``yes``) or disable (``0``, ``no``) automatic
267
+ shared libraries dependency detection. Dependencies are added to requires list.
268
+
269
+ .. note::
270
+
271
+ By default automatic dependency detection is enabled by rpm generator.
272
+
273
+ .. variable:: CPACK_RPM_PACKAGE_AUTOPROV
274
+ CPACK_RPM_<component>_PACKAGE_AUTOPROV
275
+
276
+ RPM spec autoprov field.
277
+
278
+ :Mandatory: No
279
+ :Default:
280
+
281
+ May be used to enable (``1``, ``yes``) or disable (``0``, ``no``)
282
+ automatic listing of shared libraries that are provided by the package.
283
+ Shared libraries are added to provides list.
284
+
285
+ .. note::
286
+
287
+ By default automatic provides detection is enabled by rpm generator.
288
+
289
+ .. variable:: CPACK_RPM_PACKAGE_AUTOREQPROV
290
+ CPACK_RPM_<component>_PACKAGE_AUTOREQPROV
291
+
292
+ RPM spec autoreqprov field.
293
+
294
+ :Mandatory: No
295
+ :Default:
296
+
297
+ Variable enables/disables autoreq and autoprov at the same time.
298
+ See :variable:`CPACK_RPM_PACKAGE_AUTOREQ` and
299
+ :variable:`CPACK_RPM_PACKAGE_AUTOPROV` for more details.
300
+
301
+ .. note::
302
+
303
+ By default automatic detection feature is enabled by rpm.
304
+
305
+ .. variable:: CPACK_RPM_PACKAGE_REQUIRES
306
+ CPACK_RPM_<component>_PACKAGE_REQUIRES
307
+
308
+ RPM spec requires field.
309
+
310
+ :Mandatory: No
311
+ :Default:
312
+
313
+ May be used to set RPM dependencies (requires). Note that you must enclose
314
+ the complete requires string between quotes, for example:
315
+
316
+ .. code-block:: cmake
317
+
318
+ set(CPACK_RPM_PACKAGE_REQUIRES "python >= 2.5.0, cmake >= 2.8")
319
+
320
+ The required package list of an RPM file could be printed with::
321
+
322
+ rpm -qp --requires file.rpm
323
+
324
+ .. variable:: CPACK_RPM_PACKAGE_CONFLICTS
325
+ CPACK_RPM_<component>_PACKAGE_CONFLICTS
326
+
327
+ RPM spec conflicts field.
328
+
329
+ :Mandatory: No
330
+ :Default:
331
+
332
+ May be used to set negative RPM dependencies (conflicts). Note that you must
333
+ enclose the complete requires string between quotes, for example:
334
+
335
+ .. code-block:: cmake
336
+
337
+ set(CPACK_RPM_PACKAGE_CONFLICTS "libxml2")
338
+
339
+ The conflicting package list of an RPM file could be printed with::
340
+
341
+ rpm -qp --conflicts file.rpm
342
+
343
+ .. variable:: CPACK_RPM_PACKAGE_REQUIRES_PRE
344
+ CPACK_RPM_<component>_PACKAGE_REQUIRES_PRE
345
+
346
+ .. versionadded:: 3.2
347
+
348
+ RPM spec requires(pre) field.
349
+
350
+ :Mandatory: No
351
+ :Default:
352
+
353
+ May be used to set RPM preinstall dependencies (requires(pre)). Note that
354
+ you must enclose the complete requires string between quotes, for example:
355
+
356
+ .. code-block:: cmake
357
+
358
+ set(CPACK_RPM_PACKAGE_REQUIRES_PRE "shadow-utils, initscripts")
359
+
360
+ .. variable:: CPACK_RPM_PACKAGE_REQUIRES_POST
361
+ CPACK_RPM_<component>_PACKAGE_REQUIRES_POST
362
+
363
+ .. versionadded:: 3.2
364
+
365
+ RPM spec requires(post) field.
366
+
367
+ :Mandatory: No
368
+ :Default:
369
+
370
+ May be used to set RPM postinstall dependencies (requires(post)). Note that
371
+ you must enclose the complete requires string between quotes, for example:
372
+
373
+ .. code-block:: cmake
374
+
375
+ set(CPACK_RPM_PACKAGE_REQUIRES_POST "shadow-utils, initscripts")
376
+
377
+ .. variable:: CPACK_RPM_PACKAGE_REQUIRES_POSTUN
378
+ CPACK_RPM_<component>_PACKAGE_REQUIRES_POSTUN
379
+
380
+ .. versionadded:: 3.2
381
+
382
+ RPM spec requires(postun) field.
383
+
384
+ :Mandatory: No
385
+ :Default:
386
+
387
+ May be used to set RPM postuninstall dependencies (requires(postun)). Note
388
+ that you must enclose the complete requires string between quotes, for
389
+ example:
390
+
391
+ .. code-block:: cmake
392
+
393
+ set(CPACK_RPM_PACKAGE_REQUIRES_POSTUN "shadow-utils, initscripts")
394
+
395
+ .. variable:: CPACK_RPM_PACKAGE_REQUIRES_PREUN
396
+ CPACK_RPM_<component>_PACKAGE_REQUIRES_PREUN
397
+
398
+ .. versionadded:: 3.2
399
+
400
+ RPM spec requires(preun) field.
401
+
402
+ :Mandatory: No
403
+ :Default:
404
+
405
+ May be used to set RPM preuninstall dependencies (requires(preun)). Note that
406
+ you must enclose the complete requires string between quotes, for example:
407
+
408
+ .. code-block:: cmake
409
+
410
+ set(CPACK_RPM_PACKAGE_REQUIRES_PREUN "shadow-utils, initscripts")
411
+
412
+ .. variable:: CPACK_RPM_PACKAGE_SUGGESTS
413
+ CPACK_RPM_<component>_PACKAGE_SUGGESTS
414
+
415
+ RPM spec suggest field.
416
+
417
+ :Mandatory: No
418
+ :Default:
419
+
420
+ May be used to set weak RPM dependencies (suggests). If ``rpmbuild`` doesn't
421
+ support the ``Suggests`` tag, CPack will emit a warning and ignore this
422
+ variable. Note that you must enclose the complete requires string between
423
+ quotes.
424
+
425
+ .. variable:: CPACK_RPM_PACKAGE_PROVIDES
426
+ CPACK_RPM_<component>_PACKAGE_PROVIDES
427
+
428
+ RPM spec provides field.
429
+
430
+ :Mandatory: No
431
+ :Default:
432
+
433
+ May be used to set RPM dependencies (provides). The provided package list
434
+ of an RPM file could be printed with::
435
+
436
+ rpm -qp --provides file.rpm
437
+
438
+ .. variable:: CPACK_RPM_PACKAGE_OBSOLETES
439
+ CPACK_RPM_<component>_PACKAGE_OBSOLETES
440
+
441
+ RPM spec obsoletes field.
442
+
443
+ :Mandatory: No
444
+ :Default:
445
+
446
+ May be used to set RPM packages that are obsoleted by this one.
447
+
448
+ .. variable:: CPACK_RPM_PACKAGE_RELOCATABLE
449
+
450
+ build a relocatable RPM.
451
+
452
+ :Mandatory: No
453
+ :Default: CPACK_PACKAGE_RELOCATABLE
454
+
455
+ If this variable is set to TRUE or ON, the CPack RPM generator will try
456
+ to build a relocatable RPM package. A relocatable RPM may
457
+ be installed using::
458
+
459
+ rpm --prefix or --relocate
460
+
461
+ in order to install it at an alternate place see rpm(8). Note that
462
+ currently this may fail if :variable:`CPACK_SET_DESTDIR` is set to ``ON``. If
463
+ :variable:`CPACK_SET_DESTDIR` is set then you will get a warning message but
464
+ if there is file installed with absolute path you'll get unexpected behavior.
465
+
466
+ .. variable:: CPACK_RPM_SPEC_INSTALL_POST
467
+
468
+ .. deprecated:: 2.8.12 Use :variable:`CPACK_RPM_SPEC_MORE_DEFINE` instead.
469
+
470
+ :Mandatory: No
471
+ :Default:
472
+
473
+ May be used to override the ``__spec_install_post`` section within the
474
+ generated spec file. This affects the install step during package creation,
475
+ not during package installation. For adding operations to be performed
476
+ during package installation, use
477
+ :variable:`CPACK_RPM_POST_INSTALL_SCRIPT_FILE` instead.
478
+
479
+ .. variable:: CPACK_RPM_SPEC_MORE_DEFINE
480
+
481
+ RPM extended spec definitions lines.
482
+
483
+ :Mandatory: No
484
+ :Default:
485
+
486
+ May be used to add any ``%define`` lines to the generated spec file. An
487
+ example of its use is to prevent stripping of executables (but note that
488
+ this may also disable other default post install processing):
489
+
490
+ .. code-block:: cmake
491
+
492
+ set(CPACK_RPM_SPEC_MORE_DEFINE "%define __spec_install_post /bin/true")
493
+
494
+ .. variable:: CPACK_RPM_PACKAGE_DEBUG
495
+
496
+ Toggle CPack RPM generator debug output.
497
+
498
+ :Mandatory: No
499
+ :Default:
500
+
501
+ May be set when invoking cpack in order to trace debug information
502
+ during CPack RPM run. For example you may launch CPack like this::
503
+
504
+ cpack -D CPACK_RPM_PACKAGE_DEBUG=1 -G RPM
505
+
506
+ .. variable:: CPACK_RPM_USER_BINARY_SPECFILE
507
+ CPACK_RPM_<componentName>_USER_BINARY_SPECFILE
508
+
509
+ A user provided spec file.
510
+
511
+ :Mandatory: No
512
+ :Default:
513
+
514
+ May be set by the user in order to specify a USER binary spec file
515
+ to be used by the CPack RPM generator instead of generating the file.
516
+ The specified file will be processed by configure_file( @ONLY).
517
+
518
+ .. variable:: CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE
519
+
520
+ Spec file template.
521
+
522
+ :Mandatory: No
523
+ :Default:
524
+
525
+ If set CPack will generate a template for USER specified binary
526
+ spec file and stop with an error. For example launch CPack like this::
527
+
528
+ cpack -D CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE=1 -G RPM
529
+
530
+ The user may then use this file in order to hand-craft is own
531
+ binary spec file which may be used with
532
+ :variable:`CPACK_RPM_USER_BINARY_SPECFILE`.
533
+
534
+ .. variable:: CPACK_RPM_PRE_INSTALL_SCRIPT_FILE
535
+ CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE
536
+ CPACK_RPM_PRE_TRANS_SCRIPT_FILE
537
+
538
+ Path to file containing pre install/uninstall/transaction script.
539
+
540
+ :Mandatory: No
541
+ :Default:
542
+
543
+ May be used to embed a pre installation/uninstallation/transaction script in the spec file.
544
+ The referred script file (or both) will be read and directly
545
+ put after the ``%pre`` or ``%preun`` section
546
+ If :variable:`CPACK_RPM_COMPONENT_INSTALL` is set to ON the install/uninstall/transaction
547
+ script for each component can be overridden with
548
+ :variable:`!CPACK_RPM_<COMPONENT>_PRE_INSTALL_SCRIPT_FILE`,
549
+ :variable:`!CPACK_RPM_<COMPONENT>_PRE_UNINSTALL_SCRIPT_FILE`, and
550
+ :variable:`!CPACK_RPM_<COMPONENT>_PRE_TRANS_SCRIPT_FILE`
551
+ One may verify which scriptlet has been included with::
552
+
553
+ rpm -qp --scripts package.rpm
554
+
555
+ .. versionadded:: 3.18
556
+ The :variable:`!CPACK_RPM_PRE_TRANS_SCRIPT_FILE` variable.
557
+
558
+ .. variable:: CPACK_RPM_POST_INSTALL_SCRIPT_FILE
559
+ CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE
560
+ CPACK_RPM_POST_TRANS_SCRIPT_FILE
561
+
562
+ Path to file containing post install/uninstall/transaction script.
563
+
564
+ :Mandatory: No
565
+ :Default:
566
+
567
+ May be used to embed a post installation/uninstallation/transaction script in the spec file.
568
+ The referred script file (or both) will be read and directly
569
+ put after the ``%post`` or ``%postun`` section.
570
+ If :variable:`CPACK_RPM_COMPONENT_INSTALL` is set to ON the install/uninstall/transaction
571
+ script for each component can be overridden with
572
+ :variable:`!CPACK_RPM_<COMPONENT>_POST_INSTALL_SCRIPT_FILE`,
573
+ :variable:`!CPACK_RPM_<COMPONENT>_POST_UNINSTALL_SCRIPT_FILE`, and
574
+ :variable:`!CPACK_RPM_<COMPONENT>_POST_TRANS_SCRIPT_FILE`
575
+ One may verify which scriptlet has been included with::
576
+
577
+ rpm -qp --scripts package.rpm
578
+
579
+ .. versionadded:: 3.18
580
+ The :variable:`!CPACK_RPM_POST_TRANS_SCRIPT_FILE` variable.
581
+
582
+ .. variable:: CPACK_RPM_USER_FILELIST
583
+ CPACK_RPM_<COMPONENT>_USER_FILELIST
584
+
585
+ :Mandatory: No
586
+ :Default:
587
+
588
+ May be used to explicitly specify ``%(<directive>)`` file line
589
+ in the spec file. Like ``%config(noreplace)`` or any other directive
590
+ that be found in the ``%files`` section. Since
591
+ the CPack RPM generator is generating the list of files (and directories) the
592
+ user specified files of the :variable:`!CPACK_RPM_<COMPONENT>_USER_FILELIST` list will
593
+ be removed from the generated list. If referring to directories do
594
+ not add a trailing slash.
595
+
596
+ .. versionadded:: 3.8
597
+ You can have multiple directives per line, as in
598
+ ``%attr(600,root,root) %config(noreplace)``.
599
+
600
+ .. variable:: CPACK_RPM_CHANGELOG_FILE
601
+
602
+ RPM changelog file.
603
+
604
+ :Mandatory: No
605
+ :Default:
606
+
607
+ May be used to embed a changelog in the spec file.
608
+ The referred file will be read and directly put after the ``%changelog``
609
+ section.
610
+
611
+ .. variable:: CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST
612
+
613
+ list of path to be excluded.
614
+
615
+ :Mandatory: No
616
+ :Default:
617
+ The following paths are excluded by default:
618
+ - ``/etc``
619
+ - ``/etc/init.d``
620
+ - ``/usr``
621
+ - ``/usr/bin``
622
+ - ``/usr/include``
623
+ - ``/usr/lib``
624
+ - ``/usr/libx32``
625
+ - ``/usr/lib64``
626
+ - ``/usr/share``
627
+ - ``/usr/share/aclocal``
628
+ - ``/usr/share/doc``
629
+
630
+ May be used to exclude path (directories or files) from the auto-generated
631
+ list of paths discovered by CPack RPM. The default value contains a
632
+ reasonable set of values if the variable is not defined by the user. If the
633
+ variable is defined by the user then the CPack RPM generator will NOT any of
634
+ the default path. If you want to add some path to the default list then you
635
+ can use :variable:`CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION` variable.
636
+
637
+ .. versionadded:: 3.10
638
+ Added ``/usr/share/aclocal`` to the default list of excludes.
639
+
640
+ .. variable:: CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
641
+
642
+ additional list of path to be excluded.
643
+
644
+ :Mandatory: No
645
+ :Default:
646
+
647
+ May be used to add more exclude path (directories or files) from the initial
648
+ default list of excluded paths. See
649
+ :variable:`CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST`.
650
+
651
+ .. variable:: CPACK_RPM_RELOCATION_PATHS
652
+
653
+ .. versionadded:: 3.2
654
+
655
+ Packages relocation paths list.
656
+
657
+ :Mandatory: No
658
+ :Default:
659
+
660
+ May be used to specify more than one relocation path per relocatable RPM.
661
+ Variable contains a list of relocation paths that if relative are prefixed
662
+ by the value of :variable:`CPACK_RPM_<COMPONENT>_PACKAGE_PREFIX` or by the
663
+ value of :variable:`CPACK_PACKAGING_INSTALL_PREFIX` if the component version
664
+ is not provided.
665
+ Variable is not component based as its content can be used to set a different
666
+ path prefix for e.g. binary dir and documentation dir at the same time.
667
+ Only prefixes that are required by a certain component are added to that
668
+ component - component must contain at least one file/directory/symbolic link
669
+ with :variable:`CPACK_RPM_RELOCATION_PATHS` prefix for a certain relocation
670
+ path to be added. Package will not contain any relocation paths if there are
671
+ no files/directories/symbolic links on any of the provided prefix locations.
672
+ Packages that either do not contain any relocation paths or contain
673
+ files/directories/symbolic links that are outside relocation paths print
674
+ out an :command:`AUTHOR_WARNING <message>` that RPM will be partially relocatable.
675
+
676
+ .. variable:: CPACK_RPM_<COMPONENT>_PACKAGE_PREFIX
677
+
678
+ .. versionadded:: 3.2
679
+
680
+ Per component relocation path install prefix.
681
+
682
+ :Mandatory: No
683
+ :Default: :variable:`CPACK_PACKAGING_INSTALL_PREFIX`
684
+
685
+ May be used to set per component :variable:`CPACK_PACKAGING_INSTALL_PREFIX`
686
+ for relocatable RPM packages.
687
+
688
+ .. variable:: CPACK_RPM_NO_INSTALL_PREFIX_RELOCATION
689
+ CPACK_RPM_NO_<COMPONENT>_INSTALL_PREFIX_RELOCATION
690
+
691
+ .. versionadded:: 3.3
692
+
693
+ Removal of default install prefix from relocation paths list.
694
+
695
+ :Mandatory: No
696
+ :Default: :variable:`CPACK_PACKAGING_INSTALL_PREFIX` or
697
+ :variable:`CPACK_RPM_<COMPONENT>_PACKAGE_PREFIX`
698
+ are treated as one of relocation paths
699
+
700
+ May be used to remove :variable:`CPACK_PACKAGING_INSTALL_PREFIX` and
701
+ :variable:`CPACK_RPM_<COMPONENT>_PACKAGE_PREFIX`
702
+ from relocatable RPM prefix paths.
703
+
704
+ .. variable:: CPACK_RPM_ADDITIONAL_MAN_DIRS
705
+
706
+ .. versionadded:: 3.3
707
+
708
+ :Mandatory: No
709
+ :Default:
710
+ Regular expressions that are added by default were taken from ``brp-compress`` RPM macro:
711
+ - ``/usr/man/man.*``
712
+ - ``/usr/man/.*/man.*``
713
+ - ``/usr/info.*``
714
+ - ``/usr/share/man/man.*``
715
+ - ``/usr/share/man/.*/man.*``
716
+ - ``/usr/share/info.*``
717
+ - ``/usr/kerberos/man.*``
718
+ - ``/usr/X11R6/man/man.*``
719
+ - ``/usr/lib/perl5/man/man.*``
720
+ - ``/usr/share/doc/.*/man/man.*``
721
+ - ``/usr/lib/.*/man/man.*``
722
+
723
+ May be used to set additional man dirs that could potentially be compressed
724
+ by brp-compress RPM macro. Variable content must be a list of regular
725
+ expressions that point to directories containing man files or to man files
726
+ directly. Note that in order to compress man pages a path must also be
727
+ present in brp-compress RPM script and that brp-compress script must be
728
+ added to RPM configuration by the operating system.
729
+
730
+ .. variable:: CPACK_RPM_DEFAULT_USER
731
+ CPACK_RPM_<compName>_DEFAULT_USER
732
+
733
+ .. versionadded:: 3.6
734
+
735
+ default user ownership of RPM content
736
+
737
+ :Mandatory: No
738
+ :Default: ``root``
739
+
740
+ Value should be user name and not UID.
741
+ Note that ``<compName>`` must be in upper-case.
742
+
743
+ .. variable:: CPACK_RPM_DEFAULT_GROUP
744
+ CPACK_RPM_<compName>_DEFAULT_GROUP
745
+
746
+ .. versionadded:: 3.6
747
+
748
+ default group ownership of RPM content
749
+
750
+ :Mandatory: No
751
+ :Default: root
752
+
753
+ Value should be group name and not GID.
754
+ Note that ``<compName>`` must be in upper-case.
755
+
756
+ .. variable:: CPACK_RPM_DEFAULT_FILE_PERMISSIONS
757
+ CPACK_RPM_<compName>_DEFAULT_FILE_PERMISSIONS
758
+
759
+ .. versionadded:: 3.6
760
+
761
+ default permissions used for packaged files
762
+
763
+ :Mandatory: No
764
+ :Default: (system default)
765
+
766
+ Accepted values are lists with PERMISSIONS. Valid permissions
767
+ are:
768
+
769
+ - ``OWNER_READ``
770
+ - ``OWNER_WRITE``
771
+ - ``OWNER_EXECUTE``
772
+ - ``GROUP_READ``
773
+ - ``GROUP_WRITE``
774
+ - ``GROUP_EXECUTE``
775
+ - ``WORLD_READ``
776
+ - ``WORLD_WRITE``
777
+ - ``WORLD_EXECUTE``
778
+
779
+ Note that ``<compName>`` must be in upper-case.
780
+
781
+ .. variable:: CPACK_RPM_DEFAULT_DIR_PERMISSIONS
782
+ CPACK_RPM_<compName>_DEFAULT_DIR_PERMISSIONS
783
+
784
+ .. versionadded:: 3.6
785
+
786
+ default permissions used for packaged directories
787
+
788
+ :Mandatory: No
789
+ :Default: (system default)
790
+
791
+ Accepted values are lists with PERMISSIONS. Valid permissions
792
+ are the same as for :variable:`CPACK_RPM_DEFAULT_FILE_PERMISSIONS`.
793
+ Note that ``<compName>`` must be in upper-case.
794
+
795
+ .. variable:: CPACK_RPM_INSTALL_WITH_EXEC
796
+
797
+ .. versionadded:: 3.11
798
+
799
+ force execute permissions on programs and shared libraries
800
+
801
+ :Mandatory: No
802
+ :Default: (system default)
803
+
804
+ Force set owner, group and world execute permissions on programs and shared
805
+ libraries. This can be used for creating valid rpm packages on systems such
806
+ as Debian where shared libraries do not have execute permissions set.
807
+
808
+ .. note::
809
+
810
+ Programs and shared libraries without execute permissions are ignored during
811
+ separation of debug symbols from the binary for debuginfo packages.
812
+
813
+ Packaging of Symbolic Links
814
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
815
+
816
+ .. versionadded:: 3.3
817
+
818
+ The CPack RPM generator supports packaging of symbolic links:
819
+
820
+ .. code-block:: cmake
821
+
822
+ execute_process(COMMAND ${CMAKE_COMMAND}
823
+ -E create_symlink <relative_path_location> <symlink_name>)
824
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/<symlink_name>
825
+ DESTINATION <symlink_location> COMPONENT libraries)
826
+
827
+ Symbolic links will be optimized (paths will be shortened if possible)
828
+ before being added to the package or if multiple relocation paths are
829
+ detected, a post install symlink relocation script will be generated.
830
+
831
+ Symbolic links may point to locations that are not packaged by the same
832
+ package (either a different component or even not packaged at all) but
833
+ those locations will be treated as if they were a part of the package
834
+ while determining if symlink should be either created or present in a
835
+ post install script - depending on relocation paths.
836
+
837
+ .. versionchanged:: 3.6
838
+ Symbolic links that point to locations outside packaging path produce a
839
+ warning and are treated as non relocatable permanent symbolic links.
840
+ Previous versions of CMake produced an error in this case.
841
+
842
+ Currently there are a few limitations though:
843
+
844
+ * For component based packaging component interdependency is not checked
845
+ when processing symbolic links. Symbolic links pointing to content of
846
+ a different component are treated the same way as if pointing to location
847
+ that will not be packaged.
848
+
849
+ * Symbolic links pointing to a location through one or more intermediate
850
+ symbolic links will not be handled differently - if the intermediate
851
+ symbolic link(s) is also on a relocatable path, relocating it during
852
+ package installation may cause initial symbolic link to point to an
853
+ invalid location.
854
+
855
+ Packaging of debug information
856
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
857
+
858
+ .. versionadded:: 3.7
859
+
860
+ Debuginfo packages contain debug symbols and sources for debugging packaged
861
+ binaries.
862
+
863
+ Debuginfo RPM packaging has its own set of variables:
864
+
865
+ .. variable:: CPACK_RPM_DEBUGINFO_PACKAGE
866
+ CPACK_RPM_<component>_DEBUGINFO_PACKAGE
867
+
868
+ Enable generation of debuginfo RPM package(s).
869
+
870
+ :Mandatory: No
871
+ :Default: ``OFF``
872
+
873
+ .. note::
874
+
875
+ Binaries must contain debug symbols before packaging so use either ``Debug``
876
+ or ``RelWithDebInfo`` for :variable:`CMAKE_BUILD_TYPE` variable value.
877
+
878
+ Additionally, if :variable:`CPACK_STRIP_FILES` is set, the files will be stripped before
879
+ they get to the RPM generator, so will not contain debug symbols and
880
+ a debuginfo package will not get built. Do not use with :variable:`CPACK_STRIP_FILES`.
881
+
882
+ .. note::
883
+
884
+ Packages generated from packages without binary files, with binary files but
885
+ without execute permissions or without debug symbols will cause packaging
886
+ termination.
887
+
888
+ .. variable:: CPACK_BUILD_SOURCE_DIRS
889
+
890
+ Provides locations of root directories of source files from which binaries
891
+ were built.
892
+
893
+ :Mandatory: Yes if :variable:`CPACK_RPM_DEBUGINFO_PACKAGE` is set
894
+ :Default:
895
+
896
+ .. note::
897
+
898
+ For CMake project :variable:`CPACK_BUILD_SOURCE_DIRS` is set by default to
899
+ point to :variable:`CMAKE_SOURCE_DIR` and :variable:`CMAKE_BINARY_DIR` paths.
900
+
901
+ .. note::
902
+
903
+ Sources with path prefixes that do not fall under any location provided with
904
+ :variable:`CPACK_BUILD_SOURCE_DIRS` will not be present in debuginfo package.
905
+
906
+ .. variable:: CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX
907
+ CPACK_RPM_<component>_BUILD_SOURCE_DIRS_PREFIX
908
+
909
+ Prefix of location where sources will be placed during package installation.
910
+
911
+ :Mandatory: Yes if :variable:`CPACK_RPM_DEBUGINFO_PACKAGE` is set
912
+ :Default: ``/usr/src/debug/${CPACK_PACKAGE_FILE_NAME}`` and
913
+ for component packaging ``/usr/src/debug/${CPACK_PACKAGE_FILE_NAME}-<component>``
914
+
915
+ .. note::
916
+
917
+ Each source path prefix is additionally suffixed by ``src_<index>`` where
918
+ index is index of the path used from :variable:`CPACK_BUILD_SOURCE_DIRS`
919
+ variable. This produces ``${CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX}/src_<index>``
920
+ replacement path.
921
+ Limitation is that replaced path part must be shorter or of equal
922
+ length than the length of its replacement. If that is not the case either
923
+ :variable:`CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX` variable has to be set to
924
+ a shorter path or source directories must be placed on a longer path.
925
+
926
+ .. variable:: CPACK_RPM_DEBUGINFO_EXCLUDE_DIRS
927
+
928
+ Directories containing sources that should be excluded from debuginfo packages.
929
+
930
+ :Mandatory: No
931
+ :Default:
932
+ The following paths are excluded by default:
933
+ - ``/usr``
934
+ - ``/usr/src``
935
+ - ``/usr/src/debug``
936
+
937
+ Listed paths are owned by other RPM packages and should therefore not be
938
+ deleted on debuginfo package uninstallation.
939
+
940
+ .. variable:: CPACK_RPM_DEBUGINFO_EXCLUDE_DIRS_ADDITION
941
+
942
+ Paths that should be appended to :variable:`CPACK_RPM_DEBUGINFO_EXCLUDE_DIRS`
943
+ for exclusion.
944
+
945
+ :Mandatory: No
946
+ :Default:
947
+
948
+ .. variable:: CPACK_RPM_DEBUGINFO_SINGLE_PACKAGE
949
+
950
+ .. versionadded:: 3.8
951
+
952
+ Create a single debuginfo package even if components packaging is set.
953
+
954
+ :Mandatory: No
955
+ :Default: ``OFF``
956
+
957
+ When this variable is enabled it produces a single debuginfo package even if
958
+ component packaging is enabled.
959
+
960
+ When using this feature in combination with components packaging and there is
961
+ more than one component this variable requires :variable:`CPACK_RPM_MAIN_COMPONENT`
962
+ to be set.
963
+
964
+ .. note::
965
+
966
+ If none of the :variable:`CPACK_RPM_<component>_DEBUGINFO_PACKAGE` variables
967
+ is set then :variable:`CPACK_RPM_DEBUGINFO_PACKAGE` is automatically set to
968
+ ``ON`` when :variable:`CPACK_RPM_DEBUGINFO_SINGLE_PACKAGE` is set.
969
+
970
+ .. variable:: CPACK_RPM_DEBUGINFO_FILE_NAME
971
+ CPACK_RPM_<component>_DEBUGINFO_FILE_NAME
972
+
973
+ .. versionadded:: 3.9
974
+
975
+ Debuginfo package file name.
976
+
977
+ :Mandatory: No
978
+ :Default: rpmbuild tool generated package file name
979
+
980
+ Alternatively provided debuginfo package file name must end with ``.rpm``
981
+ suffix and should differ from file names of other generated packages.
982
+
983
+ Variable may contain ``@cpack_component@`` placeholder which will be
984
+ replaced by component name if component packaging is enabled otherwise it
985
+ deletes the placeholder.
986
+
987
+ Setting the variable to ``RPM-DEFAULT`` may be used to explicitly set
988
+ filename generation to default.
989
+
990
+ .. note::
991
+
992
+ :variable:`CPACK_RPM_FILE_NAME` also supports rpmbuild tool generated package
993
+ file name - disabled by default but can be enabled by setting the variable to
994
+ ``RPM-DEFAULT``.
995
+
996
+ Packaging of sources (SRPM)
997
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
998
+
999
+ .. versionadded:: 3.7
1000
+
1001
+ SRPM packaging is enabled by setting :variable:`CPACK_RPM_PACKAGE_SOURCES`
1002
+ variable while usually using :variable:`CPACK_INSTALLED_DIRECTORIES` variable
1003
+ to provide directory containing CMakeLists.txt and source files.
1004
+
1005
+ For CMake projects SRPM package would be produced by executing::
1006
+
1007
+ cpack -G RPM --config ./CPackSourceConfig.cmake
1008
+
1009
+ .. note::
1010
+
1011
+ Produced SRPM package is expected to be built with :manual:`cmake(1)` executable
1012
+ and packaged with :manual:`cpack(1)` executable so CMakeLists.txt has to be
1013
+ located in root source directory and must be able to generate binary rpm
1014
+ packages by executing :option:`cpack -G` command. The two executables as well as
1015
+ rpmbuild must also be present when generating binary rpm packages from the
1016
+ produced SRPM package.
1017
+
1018
+ Once the SRPM package is generated it can be used to generate binary packages
1019
+ by creating a directory structure for rpm generation and executing rpmbuild
1020
+ tool::
1021
+
1022
+ mkdir -p build_dir/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
1023
+ rpmbuild --define "_topdir <path_to_build_dir>" --rebuild <SRPM_file_name>
1024
+
1025
+ Generated packages will be located in build_dir/RPMS directory or its sub
1026
+ directories.
1027
+
1028
+ .. note::
1029
+
1030
+ SRPM package internally uses CPack/RPM generator to generate binary packages
1031
+ so CMakeScripts.txt can decide during the SRPM to binary rpm generation step
1032
+ what content the package(s) should have as well as how they should be packaged
1033
+ (monolithic or components). CMake can decide this for e.g. by reading environment
1034
+ variables set by the package manager before starting the process of generating
1035
+ binary rpm packages. This way a single SRPM package can be used to produce
1036
+ different binary rpm packages on different platforms depending on the platform's
1037
+ packaging rules.
1038
+
1039
+ Source RPM packaging has its own set of variables:
1040
+
1041
+ .. variable:: CPACK_RPM_PACKAGE_SOURCES
1042
+
1043
+ Should the content be packaged as a source rpm (default is binary rpm).
1044
+
1045
+ :Mandatory: No
1046
+ :Default: ``OFF``
1047
+
1048
+ .. note::
1049
+
1050
+ For cmake projects :variable:`CPACK_RPM_PACKAGE_SOURCES` variable is set
1051
+ to ``OFF`` in CPackConfig.cmake and ``ON`` in CPackSourceConfig.cmake
1052
+ generated files.
1053
+
1054
+ .. variable:: CPACK_RPM_SOURCE_PKG_BUILD_PARAMS
1055
+
1056
+ Additional command-line parameters provided to :manual:`cmake(1)` executable.
1057
+
1058
+ :Mandatory: No
1059
+ :Default:
1060
+
1061
+ .. variable:: CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX
1062
+
1063
+ Packaging install prefix that would be provided in :variable:`CPACK_PACKAGING_INSTALL_PREFIX`
1064
+ variable for producing binary RPM packages.
1065
+
1066
+ :Mandatory: Yes
1067
+ :Default: ``/``
1068
+
1069
+ .. variable:: CPACK_RPM_BUILDREQUIRES
1070
+
1071
+ List of source rpm build dependencies.
1072
+
1073
+ :Mandatory: No
1074
+ :Default:
1075
+
1076
+ May be used to set source RPM build dependencies (BuildRequires). Note that
1077
+ you must enclose the complete build requirements string between quotes, for
1078
+ example:
1079
+
1080
+ .. code-block:: cmake
1081
+
1082
+ set(CPACK_RPM_BUILDREQUIRES "python >= 2.5.0, cmake >= 2.8")
1083
+
1084
+ .. variable:: CPACK_RPM_REQUIRES_EXCLUDE_FROM
1085
+
1086
+ .. versionadded:: 3.22
1087
+
1088
+ :Mandatory: No
1089
+ :Default:
1090
+
1091
+ May be used to keep the dependency generator from scanning specific files
1092
+ or directories for dependencies. Note that you can use a regular
1093
+ expression that matches all of the directories or files, for example:
1094
+
1095
+ .. code-block:: cmake
1096
+
1097
+ set(CPACK_RPM_REQUIRES_EXCLUDE_FROM "bin/libqsqloci.*\\.so.*")
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/cpack_gen/wix.rst ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CPack WIX Generator
2
+ -------------------
3
+
4
+ CPack WIX generator specific options
5
+
6
+ .. versionadded:: 3.7
7
+ Support :variable:`CPACK_COMPONENT_<compName>_DISABLED` variable.
8
+
9
+ Variables specific to CPack WIX generator
10
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11
+
12
+ The following variables are specific to the installers built on
13
+ Windows using WiX.
14
+
15
+ .. variable:: CPACK_WIX_UPGRADE_GUID
16
+
17
+ Upgrade GUID (``Product/@UpgradeCode``)
18
+
19
+ Will be automatically generated unless explicitly provided.
20
+
21
+ It should be explicitly set to a constant generated globally unique
22
+ identifier (GUID) to allow your installers to replace existing
23
+ installations that use the same GUID.
24
+
25
+ You may for example explicitly set this variable in your
26
+ CMakeLists.txt to the value that has been generated per default. You
27
+ should not use GUIDs that you did not generate yourself or which may
28
+ belong to other projects.
29
+
30
+ A GUID shall have the following fixed length syntax::
31
+
32
+ XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
33
+
34
+ (each X represents an uppercase hexadecimal digit)
35
+
36
+ .. variable:: CPACK_WIX_PRODUCT_GUID
37
+
38
+ Product GUID (``Product/@Id``)
39
+
40
+ Will be automatically generated unless explicitly provided.
41
+
42
+ If explicitly provided this will set the Product Id of your installer.
43
+
44
+ The installer will abort if it detects a pre-existing installation that
45
+ uses the same GUID.
46
+
47
+ The GUID shall use the syntax described for CPACK_WIX_UPGRADE_GUID.
48
+
49
+ .. variable:: CPACK_WIX_LICENSE_RTF
50
+
51
+ RTF License File
52
+
53
+ If CPACK_RESOURCE_FILE_LICENSE has an .rtf extension it is used as-is.
54
+
55
+ If CPACK_RESOURCE_FILE_LICENSE has an .txt extension it is implicitly
56
+ converted to RTF by the WIX Generator.
57
+ The expected encoding of the .txt file is UTF-8.
58
+
59
+ With CPACK_WIX_LICENSE_RTF you can override the license file used by the
60
+ WIX Generator in case CPACK_RESOURCE_FILE_LICENSE is in an unsupported
61
+ format or the .txt -> .rtf conversion does not work as expected.
62
+
63
+ .. variable:: CPACK_WIX_PRODUCT_ICON
64
+
65
+ The Icon shown next to the program name in Add/Remove programs.
66
+
67
+ If set, this icon is used in place of the default icon.
68
+
69
+ .. variable:: CPACK_WIX_UI_REF
70
+
71
+ This variable allows you to override the Id of the ``<UIRef>`` element
72
+ in the WiX template.
73
+
74
+ The default is ``WixUI_InstallDir`` in case no CPack components have
75
+ been defined and ``WixUI_FeatureTree`` otherwise.
76
+
77
+ .. variable:: CPACK_WIX_UI_BANNER
78
+
79
+ The bitmap will appear at the top of all installer pages other than the
80
+ welcome and completion dialogs.
81
+
82
+ If set, this image will replace the default banner image.
83
+
84
+ This image must be 493 by 58 pixels.
85
+
86
+ .. variable:: CPACK_WIX_UI_DIALOG
87
+
88
+ Background bitmap used on the welcome and completion dialogs.
89
+
90
+ If this variable is set, the installer will replace the default dialog
91
+ image.
92
+
93
+ This image must be 493 by 312 pixels.
94
+
95
+ .. variable:: CPACK_WIX_PROGRAM_MENU_FOLDER
96
+
97
+ Start menu folder name for launcher.
98
+
99
+ If this variable is not set, it will be initialized with CPACK_PACKAGE_NAME
100
+
101
+ .. versionadded:: 3.16
102
+ If this variable is set to ``.``, then application shortcuts will be
103
+ created directly in the start menu and the uninstaller shortcut will be
104
+ omitted.
105
+
106
+ .. variable:: CPACK_WIX_CULTURES
107
+
108
+ Language(s) of the installer
109
+
110
+ Languages are compiled into the WixUI extension library. To use them,
111
+ simply provide the name of the culture. If you specify more than one
112
+ culture identifier in a comma or semicolon delimited list, the first one
113
+ that is found will be used. You can find a list of supported languages at:
114
+ https://wixtoolset.org/docs/v3/wixui/wixui_localization/
115
+
116
+ .. variable:: CPACK_WIX_TEMPLATE
117
+
118
+ Template file for WiX generation
119
+
120
+ If this variable is set, the specified template will be used to generate
121
+ the WiX wxs file. This should be used if further customization of the
122
+ output is required.
123
+
124
+ If this variable is not set, the default MSI template included with CMake
125
+ will be used.
126
+
127
+ .. variable:: CPACK_WIX_PATCH_FILE
128
+
129
+ Optional list of XML files with fragments to be inserted into
130
+ generated WiX sources.
131
+
132
+ .. versionadded:: 3.5
133
+ Support listing multiple patch files.
134
+
135
+ This optional variable can be used to specify an XML file that the
136
+ WIX generator will use to inject fragments into its generated
137
+ source files.
138
+
139
+ Patch files understood by the CPack WIX generator
140
+ roughly follow this RELAX NG compact schema:
141
+
142
+ .. code-block:: none
143
+
144
+ start = CPackWiXPatch
145
+
146
+ CPackWiXPatch = element CPackWiXPatch { CPackWiXFragment* }
147
+
148
+ CPackWiXFragment = element CPackWiXFragment
149
+ {
150
+ attribute Id { string },
151
+ fragmentContent*
152
+ }
153
+
154
+ fragmentContent = element * - CPackWiXFragment
155
+ {
156
+ (attribute * { text } | text | fragmentContent)*
157
+ }
158
+
159
+ Currently fragments can be injected into most
160
+ Component, File, Directory and Feature elements.
161
+
162
+ .. versionadded:: 3.3
163
+ The following additional special Ids can be used:
164
+
165
+ * ``#PRODUCT`` for the ``<Product>`` element.
166
+ * ``#PRODUCTFEATURE`` for the root ``<Feature>`` element.
167
+
168
+ .. versionadded:: 3.7
169
+ Support patching arbitrary ``<Feature>`` elements.
170
+
171
+ .. versionadded:: 3.9
172
+ Allow setting additional attributes.
173
+
174
+ The following example illustrates how this works.
175
+
176
+ Given that the WIX generator creates the following XML element:
177
+
178
+ .. code-block:: xml
179
+
180
+ <Component Id="CM_CP_applications.bin.my_libapp.exe" Guid="*"/>
181
+
182
+ The following XML patch file may be used to inject an Environment element
183
+ into it:
184
+
185
+ .. code-block:: xml
186
+
187
+ <CPackWiXPatch>
188
+ <CPackWiXFragment Id="CM_CP_applications.bin.my_libapp.exe">
189
+ <Environment Id="MyEnvironment" Action="set"
190
+ Name="MyVariableName" Value="MyVariableValue"/>
191
+ </CPackWiXFragment>
192
+ </CPackWiXPatch>
193
+
194
+ .. variable:: CPACK_WIX_EXTRA_SOURCES
195
+
196
+ Extra WiX source files
197
+
198
+ This variable provides an optional list of extra WiX source files (.wxs)
199
+ that should be compiled and linked. The full path to source files is
200
+ required.
201
+
202
+ .. variable:: CPACK_WIX_EXTRA_OBJECTS
203
+
204
+ Extra WiX object files or libraries
205
+
206
+ This variable provides an optional list of extra WiX object (.wixobj)
207
+ and/or WiX library (.wixlib) files. The full path to objects and libraries
208
+ is required.
209
+
210
+ .. variable:: CPACK_WIX_EXTENSIONS
211
+
212
+ This variable provides a list of additional extensions for the WiX
213
+ tools light and candle.
214
+
215
+ .. variable:: CPACK_WIX_<TOOL>_EXTENSIONS
216
+
217
+ This is the tool specific version of CPACK_WIX_EXTENSIONS.
218
+ ``<TOOL>`` can be either LIGHT or CANDLE.
219
+
220
+ .. variable:: CPACK_WIX_<TOOL>_EXTRA_FLAGS
221
+
222
+ This list variable allows you to pass additional
223
+ flags to the WiX tool ``<TOOL>``.
224
+
225
+ Use it at your own risk.
226
+ Future versions of CPack may generate flags which may be in conflict
227
+ with your own flags.
228
+
229
+ ``<TOOL>`` can be either LIGHT or CANDLE.
230
+
231
+ .. variable:: CPACK_WIX_CMAKE_PACKAGE_REGISTRY
232
+
233
+ If this variable is set the generated installer will create
234
+ an entry in the windows registry key
235
+ ``HKEY_LOCAL_MACHINE\Software\Kitware\CMake\Packages\<PackageName>``
236
+ The value for ``<PackageName>`` is provided by this variable.
237
+
238
+ Assuming you also install a CMake configuration file this will
239
+ allow other CMake projects to find your package with
240
+ the :command:`find_package` command.
241
+
242
+ .. variable:: CPACK_WIX_PROPERTY_<PROPERTY>
243
+
244
+ .. versionadded:: 3.1
245
+
246
+ This variable can be used to provide a value for
247
+ the Windows Installer property ``<PROPERTY>``
248
+
249
+ The following list contains some example properties that can be used to
250
+ customize information under
251
+ "Programs and Features" (also known as "Add or Remove Programs")
252
+
253
+ * ARPCOMMENTS - Comments
254
+ * ARPHELPLINK - Help and support information URL
255
+ * ARPURLINFOABOUT - General information URL
256
+ * ARPURLUPDATEINFO - Update information URL
257
+ * ARPHELPTELEPHONE - Help and support telephone number
258
+ * ARPSIZE - Size (in kilobytes) of the application
259
+
260
+ .. variable:: CPACK_WIX_ROOT_FEATURE_TITLE
261
+
262
+ .. versionadded:: 3.7
263
+
264
+ Sets the name of the root install feature in the WIX installer. Same as
265
+ CPACK_COMPONENT_<compName>_DISPLAY_NAME for components.
266
+
267
+ .. variable:: CPACK_WIX_ROOT_FEATURE_DESCRIPTION
268
+
269
+ .. versionadded:: 3.7
270
+
271
+ Sets the description of the root install feature in the WIX installer. Same as
272
+ CPACK_COMPONENT_<compName>_DESCRIPTION for components.
273
+
274
+ .. variable:: CPACK_WIX_SKIP_PROGRAM_FOLDER
275
+
276
+ .. versionadded:: 3.7
277
+
278
+ If this variable is set to true, the default install location
279
+ of the generated package will be CPACK_PACKAGE_INSTALL_DIRECTORY directly.
280
+ The install location will not be located relatively below
281
+ ProgramFiles or ProgramFiles64.
282
+
283
+ .. note::
284
+ Installers created with this feature do not take differences
285
+ between the system on which the installer is created
286
+ and the system on which the installer might be used into account.
287
+
288
+ It is therefore possible that the installer e.g. might try to install
289
+ onto a drive that is unavailable or unintended or a path that does not
290
+ follow the localization or convention of the system on which the
291
+ installation is performed.
292
+
293
+ .. variable:: CPACK_WIX_ROOT_FOLDER_ID
294
+
295
+ .. versionadded:: 3.9
296
+
297
+ This variable allows specification of a custom root folder ID.
298
+ The generator specific ``<64>`` token can be used for
299
+ folder IDs that come in 32-bit and 64-bit variants.
300
+ In 32-bit builds the token will expand empty while in 64-bit builds
301
+ it will expand to ``64``.
302
+
303
+ When unset generated installers will default installing to
304
+ ``ProgramFiles<64>Folder``.
305
+
306
+ .. variable:: CPACK_WIX_ROOT
307
+
308
+ This variable can optionally be set to the root directory
309
+ of a custom WiX Toolset installation.
310
+
311
+ When unspecified CPack will try to locate a WiX Toolset
312
+ installation via the ``WIX`` environment variable instead.
313
+
314
+ .. variable:: CPACK_WIX_CUSTOM_XMLNS
315
+
316
+ .. versionadded:: 3.19
317
+
318
+ This variable provides a list of custom namespace declarations that are necessary
319
+ for using WiX extensions. Each declaration should be in the form name=url, where
320
+ name is the plain namespace without the usual xmlns: prefix and url is an unquoted
321
+ namespace url. A list of commonly known WiX schemata can be found here:
322
+ https://wixtoolset.org/docs/v3/xsd/
323
+
324
+ .. variable:: CPACK_WIX_SKIP_WIX_UI_EXTENSION
325
+
326
+ .. versionadded:: 3.23
327
+
328
+ If this variable is set then the inclusion of WixUIExtensions is skipped,
329
+ i.e. the ``-ext "WixUIExtension"`` command line is not included during
330
+ the execution of the WiX light tool.
331
+
332
+ .. variable:: CPACK_WIX_ARCHITECTURE
333
+
334
+ .. versionadded:: 3.24
335
+
336
+ This variable can be optionally set to specify the target architecture
337
+ of the installer. May for example be set to ``x64`` or ``arm64``.
338
+
339
+ When unspecified, CPack will default to ``x64`` or ``x86``.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/ADSP_ROOT.rst ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ ADSP_ROOT
2
+ ---------
3
+
4
+ .. versionadded:: 3.24
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ The ``ADSP_ROOT`` environment variable specifies a default value
9
+ for the :variable:`CMAKE_ADSP_ROOT` variable when there is no explicit
10
+ configuration given on the first run while creating a new build tree.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/ASM_DIALECT.rst ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ASM<DIALECT>
2
+ ------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ Preferred executable for compiling a specific dialect of assembly language
7
+ files. ``ASM<DIALECT>`` can be one of:
8
+
9
+ * ``ASM``
10
+ * ``ASM_NASM`` (Netwide Assembler)
11
+ * ``ASM_MASM`` (Microsoft Assembler)
12
+ * ``ASM_MARMASM`` (Microsoft ARM Assembler)
13
+ * ``ASM-ATT`` (Assembler AT&T)
14
+
15
+ Will only be used by CMake on the first configuration to determine
16
+ ``ASM<DIALECT>`` compiler, after which the value for ``ASM<DIALECT>`` is stored
17
+ in the cache as
18
+ :variable:`CMAKE_ASM<DIALECT>_COMPILER <CMAKE_<LANG>_COMPILER>`. For subsequent
19
+ configuration runs, the environment variable will be ignored in favor of
20
+ :variable:`CMAKE_ASM<DIALECT>_COMPILER <CMAKE_<LANG>_COMPILER>`.
21
+
22
+ .. note::
23
+ Options that are required to make the compiler work correctly can be included;
24
+ they can not be changed.
25
+
26
+ .. code-block:: console
27
+
28
+ $ export ASM="custom-compiler --arg1 --arg2"
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/ASM_DIALECTFLAGS.rst ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ASM<DIALECT>FLAGS
2
+ -----------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ Add default compilation flags to be used when compiling a specific dialect
7
+ of an assembly language. ``ASM<DIALECT>FLAGS`` can be one of:
8
+
9
+ * ``ASMFLAGS``
10
+ * ``ASM_NASMFLAGS``
11
+ * ``ASM_MASMFLAGS``
12
+ * ``ASM_MARMASMFLAGS``
13
+ * ``ASM-ATTFLAGS``
14
+
15
+ .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_ASM<DIALECT>_FLAGS <CMAKE_<LANG>_FLAGS>`
16
+ .. |LANG| replace:: ``ASM<DIALECT>``
17
+ .. include:: LANG_FLAGS.txt
18
+
19
+ See also :variable:`CMAKE_ASM<DIALECT>_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CC.rst ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CC
2
+ --
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ Preferred executable for compiling ``C`` language files. Will only be used by
7
+ CMake on the first configuration to determine ``C`` compiler, after which the
8
+ value for ``CC`` is stored in the cache as
9
+ :variable:`CMAKE_C_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration run
10
+ (including the first), the environment variable will be ignored if the
11
+ :variable:`CMAKE_C_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.
12
+
13
+ .. note::
14
+ Options that are required to make the compiler work correctly can be included;
15
+ they can not be changed.
16
+
17
+ .. code-block:: console
18
+
19
+ $ export CC="custom-compiler --arg1 --arg2"
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CCMAKE_COLORS.rst ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CCMAKE_COLORS
2
+ -------------
3
+
4
+ .. versionadded:: 3.18
5
+
6
+ Determines what colors are used by the CMake curses interface,
7
+ when run on a terminal that supports colors.
8
+ The syntax follows the same conventions as ``LS_COLORS``;
9
+ that is, a list of key/value pairs separated by ``:``.
10
+
11
+ Keys are a single letter corresponding to a CMake cache variable type:
12
+
13
+ - ``s``: A ``STRING``.
14
+ - ``p``: A ``FILEPATH``.
15
+ - ``c``: A value which has an associated list of choices.
16
+ - ``y``: A ``BOOL`` which has a true-like value (e.g. ``ON``, ``YES``).
17
+ - ``n``: A ``BOOL`` which has a false-like value (e.g. ``OFF``, ``NO``).
18
+
19
+ Values are an integer number that specifies what color to use.
20
+ ``0`` is black (you probably don't want to use that).
21
+ Others are determined by your terminal's color support.
22
+ Most (color) terminals will support at least 8 or 16 colors.
23
+ Some will support up to 256 colors. The colors will likely match
24
+ `this chart <https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg>`_,
25
+ although the first 16 colors may match the original
26
+ `CGA color palette <https://en.wikipedia.org/wiki/Color_Graphics_Adapter#Color_palette>`_.
27
+ (Many modern terminal emulators also allow their color palette,
28
+ at least for the first 16 colors, to be configured by the user.)
29
+
30
+ Note that fairly minimal checking is done for bad colors
31
+ (although a value higher than what curses believes your terminal supports
32
+ will be silently ignored) or bad syntax.
33
+
34
+ For example::
35
+
36
+ CCMAKE_COLORS='s=39:p=220:c=207:n=196:y=46'
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CFLAGS.rst ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CFLAGS
2
+ ------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ Add default compilation flags to be used when compiling ``C`` files.
7
+
8
+ .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_C_FLAGS <CMAKE_<LANG>_FLAGS>`
9
+ .. |LANG| replace:: ``C``
10
+ .. include:: LANG_FLAGS.txt
11
+
12
+ See also :variable:`CMAKE_C_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_APPBUNDLE_PATH.rst ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_APPBUNDLE_PATH
2
+ --------------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ The ``CMAKE_APPBUNDLE_PATH`` environment variable may be set to a list of
7
+ directories to be searched for macOS application bundles
8
+ by the :command:`find_program` and :command:`find_package` commands.
9
+
10
+ This variable may hold a single directory or a list of directories separated
11
+ by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
12
+ variable convention on those platforms).
13
+
14
+ See also the :variable:`CMAKE_APPBUNDLE_PATH` CMake variable.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_APPLE_SILICON_PROCESSOR.rst ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_APPLE_SILICON_PROCESSOR
2
+ -----------------------------
3
+
4
+ .. versionadded:: 3.19.2
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ On Apple Silicon hosts running macOS, set this environment variable to tell
9
+ CMake what architecture to use for :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`.
10
+ The value must be either ``arm64`` or ``x86_64``.
11
+
12
+ The :variable:`CMAKE_APPLE_SILICON_PROCESSOR` normal variable, if set,
13
+ overrides this environment variable.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_BUILD_PARALLEL_LEVEL.rst ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_BUILD_PARALLEL_LEVEL
2
+ --------------------------
3
+
4
+ .. versionadded:: 3.12
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Specifies the maximum number of concurrent processes to use when building
9
+ using the ``cmake --build`` command line
10
+ :ref:`Build Tool Mode <Build Tool Mode>`.
11
+
12
+ If this variable is defined empty the native build tool's default number is
13
+ used.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_BUILD_TYPE.rst ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_BUILD_TYPE
2
+ ----------------
3
+
4
+ .. versionadded:: 3.22
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ The ``CMAKE_BUILD_TYPE`` environment variable specifies a default value
9
+ for the :variable:`CMAKE_BUILD_TYPE` variable when there is no explicit
10
+ configuration given on the first run while creating a new build tree.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_COLOR_DIAGNOSTICS.rst ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_COLOR_DIAGNOSTICS
2
+ -----------------------
3
+
4
+ .. versionadded:: 3.24
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Specifies a default value for the :variable:`CMAKE_COLOR_DIAGNOSTICS` variable
9
+ when there is no explicit value given on the first run.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_CONFIGURATION_TYPES.rst ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_CONFIGURATION_TYPES
2
+ -------------------------
3
+
4
+ .. versionadded:: 3.22
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ The ``CMAKE_CONFIGURATION_TYPES`` environment variable specifies a
9
+ default value for the :variable:`CMAKE_CONFIGURATION_TYPES` variable
10
+ when there is no explicit configuration given on the first run while
11
+ creating a new build tree.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_CONFIG_TYPE.rst ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ CMAKE_CONFIG_TYPE
2
+ -----------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ The default build configuration for :ref:`Build Tool Mode` and
7
+ ``ctest`` build handler when there is no explicit configuration given.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.rst ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_EXPORT_COMPILE_COMMANDS
2
+ -----------------------------
3
+
4
+ .. versionadded:: 3.17
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ The default value for :variable:`CMAKE_EXPORT_COMPILE_COMMANDS` when there
9
+ is no explicit configuration given on the first run while creating a new
10
+ build tree. On later runs in an existing build tree the value persists in
11
+ the cache as :variable:`CMAKE_EXPORT_COMPILE_COMMANDS`.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_FRAMEWORK_PATH.rst ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_FRAMEWORK_PATH
2
+ --------------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ The ``CMAKE_FRAMEWORK_PATH`` environment variable may be set to a list of
7
+ directories to be searched for macOS frameworks by the :command:`find_library`,
8
+ :command:`find_package`, :command:`find_path` and :command:`find_file` commands.
9
+
10
+
11
+ This variable may hold a single directory or a list of directories separated
12
+ by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
13
+ variable convention on those platforms).
14
+
15
+ See also the :variable:`CMAKE_FRAMEWORK_PATH` CMake variable.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_GENERATOR.rst ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_GENERATOR
2
+ ---------------
3
+
4
+ .. versionadded:: 3.15
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Specifies the CMake default generator to use when no generator is supplied
9
+ with :option:`-G <cmake -G>`. If the provided value doesn't name a generator
10
+ known by CMake, the internal default is used. Either way the resulting
11
+ generator selection is stored in the :variable:`CMAKE_GENERATOR` variable.
12
+
13
+ Some generators may be additionally configured using the environment
14
+ variables:
15
+
16
+ * :envvar:`CMAKE_GENERATOR_PLATFORM`
17
+ * :envvar:`CMAKE_GENERATOR_TOOLSET`
18
+ * :envvar:`CMAKE_GENERATOR_INSTANCE`
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_GENERATOR_INSTANCE.rst ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_GENERATOR_INSTANCE
2
+ ------------------------
3
+
4
+ .. versionadded:: 3.15
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Default value for :variable:`CMAKE_GENERATOR_INSTANCE` if no Cache entry is
9
+ present. This value is only applied if :envvar:`CMAKE_GENERATOR` is set.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_GENERATOR_PLATFORM.rst ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_GENERATOR_PLATFORM
2
+ ------------------------
3
+
4
+ .. versionadded:: 3.15
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Default value for :variable:`CMAKE_GENERATOR_PLATFORM` if no Cache entry
9
+ is present and no value is specified by :option:`cmake -A` option.
10
+ This value is only applied if :envvar:`CMAKE_GENERATOR` is set.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_GENERATOR_TOOLSET.rst ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_GENERATOR_TOOLSET
2
+ -----------------------
3
+
4
+ .. versionadded:: 3.15
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Default value for :variable:`CMAKE_GENERATOR_TOOLSET` if no Cache entry
9
+ is present and no value is specified by :option:`cmake -T` option.
10
+ This value is only applied if :envvar:`CMAKE_GENERATOR` is set.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_INCLUDE_PATH.rst ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_INCLUDE_PATH
2
+ ------------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ The ``CMAKE_INCLUDE_PATH`` environment variable may be set to a list of
7
+ directories to be searched by the :command:`find_file` and :command:`find_path` commands.
8
+
9
+ This variable may hold a single directory or a list of directories separated
10
+ by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
11
+ variable convention on those platforms).
12
+
13
+ See also the :variable:`CMAKE_INCLUDE_PATH` CMake variable.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_INSTALL_MODE.rst ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_INSTALL_MODE
2
+ ------------------
3
+
4
+ .. versionadded:: 3.22
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ The ``CMAKE_INSTALL_MODE`` environment variable allows users to operate
9
+ CMake in an alternate mode of :command:`file(INSTALL)` and :command:`install()`.
10
+
11
+ The default behavior for an installation is to copy a source file from a
12
+ source directory into a destination directory. This environment variable
13
+ however allows the user to override this behavior, causing CMake to create
14
+ symbolic links instead.
15
+
16
+ Usage Scenarios
17
+ ^^^^^^^^^^^^^^^
18
+
19
+ Installing symbolic links rather than copying files can help in the following
20
+ ways:
21
+
22
+ * Conserving storage space because files do not have to be duplicated on disk.
23
+ * Changes to the source of the symbolic link are seen at the install
24
+ destination without having to re-run the install step.
25
+ * Editing through the link at the install destination will modify the source
26
+ of the link. This may be useful when dealing with CMake project hierarchies,
27
+ i.e. using :module:`ExternalProject` and consistent source navigation and
28
+ refactoring is desired across projects.
29
+
30
+ Allowed Values
31
+ ^^^^^^^^^^^^^^
32
+
33
+ The following values are allowed for ``CMAKE_INSTALL_MODE``:
34
+
35
+ ``COPY``, empty or unset
36
+ Duplicate the file at its destination. This is the default behavior.
37
+
38
+ ``ABS_SYMLINK``
39
+ Create an *absolute* symbolic link to the source file at the destination.
40
+ Halt with an error if the link cannot be created.
41
+
42
+ ``ABS_SYMLINK_OR_COPY``
43
+ Like ``ABS_SYMLINK`` but fall back to silently copying if the symlink
44
+ couldn't be created.
45
+
46
+ ``REL_SYMLINK``
47
+ Create a *relative* symbolic link to the source file at the destination.
48
+ Halt with an error if the link cannot be created.
49
+
50
+ ``REL_SYMLINK_OR_COPY``
51
+ Like ``REL_SYMLINK`` but fall back to silently copying if the symlink
52
+ couldn't be created.
53
+
54
+ ``SYMLINK``
55
+ Try as if through ``REL_SYMLINK`` and fall back to ``ABS_SYMLINK`` if the
56
+ referenced file cannot be expressed using a relative path.
57
+ Halt with an error if the link cannot be created.
58
+
59
+ ``SYMLINK_OR_COPY``
60
+ Like ``SYMLINK`` but fall back to silently copying if the symlink couldn't
61
+ be created.
62
+
63
+ .. note::
64
+ A symbolic link consists of a reference file path rather than contents of its
65
+ own, hence there are two ways to express the relation, either by a *relative*
66
+ or an *absolute* path.
67
+
68
+ When To Set The Environment Variable
69
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
70
+
71
+ For the environment variable to take effect, it must be set during the correct
72
+ build phase(s).
73
+
74
+ * If the project calls :command:`file(INSTALL)` directly, the environment
75
+ variable must be set during the configuration phase.
76
+ * In order to apply to :command:`install()`, the environment variable must be
77
+ set during installation. This could be during a build if using the
78
+ ``install`` or ``package`` build targets, or separate from the build when
79
+ invoking an install or running :manual:`cpack <cpack(1)>` from the command
80
+ line.
81
+ * When using :module:`ExternalProject`, it might be required during the build
82
+ phase, since the external project's own configure, build and install steps
83
+ will execute during the main project's build phase.
84
+
85
+ Given the above, it is recommended to set the environment variable consistently
86
+ across all phases (configure, build and install).
87
+
88
+ Caveats
89
+ ^^^^^^^
90
+
91
+ Use this environment variable with caution. The following highlights some
92
+ points to be considered:
93
+
94
+ * ``CMAKE_INSTALL_MODE`` only affects files, not directories.
95
+
96
+ * Symbolic links are not available on all platforms.
97
+
98
+ * The way this environment variable interacts with the install step of
99
+ :module:`ExternalProject` is more complex. For further details, see that
100
+ module's documentation.
101
+
102
+ * A symbolic link ties the destination to the source in a persistent way.
103
+ Writing to either of the two affects both file system objects.
104
+ This is in contrast to normal install behavior which only copies files as
105
+ they were at the time the install was performed, with no enduring
106
+ relationship between the source and destination of the install.
107
+
108
+ * Combining ``CMAKE_INSTALL_MODE`` with :prop_tgt:`IOS_INSTALL_COMBINED` is
109
+ not supported.
110
+
111
+ * Changing ``CMAKE_INSTALL_MODE`` from what it was on a previous run can lead
112
+ to unexpected results. Moving from a non-symlinking mode to a symlinking
113
+ mode will discard any previous file at the destination, but the reverse is
114
+ not true. Once a symlink exists at the destination, even if you switch to a
115
+ non-symlink mode, the symlink will continue to exist at the destination and
116
+ will not be replaced by an actual file.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_LANG_COMPILER_LAUNCHER.rst ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_<LANG>_COMPILER_LAUNCHER
2
+ ------------------------------
3
+
4
+ .. versionadded:: 3.17
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Default compiler launcher to use for the specified language. Will only be used
9
+ by CMake to initialize the variable on the first configuration. Afterwards, it
10
+ is available through the cache setting of the variable of the same name. For
11
+ any configuration run (including the first), the environment variable will be
12
+ ignored if the :variable:`CMAKE_<LANG>_COMPILER_LAUNCHER` variable is defined.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.rst ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE
2
+ ----------------------------------------------
3
+
4
+ .. versionadded:: 3.27
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ A :ref:`semicolon-separated list <CMake Language Lists>` of directories
9
+ to exclude from the :variable:`CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES`
10
+ variable when it is automatically detected from the ``<LANG>`` compiler.
11
+
12
+ This may be used to work around misconfigured compiler drivers that pass
13
+ extraneous implicit link directories to their linker.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_LANG_LINKER_LAUNCHER.rst ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_<LANG>_LINKER_LAUNCHER
2
+ ----------------------------
3
+
4
+ .. versionadded:: 3.21
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Default launcher to use when linking a target of the specified language. Will
9
+ only be used by CMake to initialize the variable on the first configuration.
10
+ Afterwards, it is available through the cache setting of the variable of the
11
+ same name. For any configuration run (including the first), the environment
12
+ variable will be ignored if the :variable:`CMAKE_<LANG>_LINKER_LAUNCHER`
13
+ variable is defined.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_LIBRARY_PATH.rst ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_LIBRARY_PATH
2
+ ------------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ The ``CMAKE_LIBRARY_PATH`` environment variable may be set to a list of
7
+ directories to be searched by the :command:`find_library` command.
8
+
9
+ This variable may hold a single directory or a list of directories separated
10
+ by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
11
+ variable convention on those platforms).
12
+
13
+ See also the :variable:`CMAKE_LIBRARY_PATH` CMake variable.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_MAXIMUM_RECURSION_DEPTH.rst ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_MAXIMUM_RECURSION_DEPTH
2
+ -----------------------------
3
+
4
+ .. versionadded:: 3.27
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Maximum recursion depth for CMake scripts. This environment variable is
9
+ used if the :variable:`CMAKE_MAXIMUM_RECURSION_DEPTH` variable is not set.
10
+ See that variable's documentation for details.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_MSVCIDE_RUN_PATH.rst ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_MSVCIDE_RUN_PATH
2
+ ----------------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ Extra PATH locations for custom commands when using
7
+ :generator:`Visual Studio 9 2008` (or above) generators.
8
+
9
+ The ``CMAKE_MSVCIDE_RUN_PATH`` environment variable sets the default value for
10
+ the :variable:`CMAKE_MSVCIDE_RUN_PATH` variable if not already explicitly set.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_NO_VERBOSE.rst ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_NO_VERBOSE
2
+ ----------------
3
+
4
+ .. versionadded:: 3.14
5
+
6
+ Disables verbose output from CMake when :envvar:`VERBOSE` environment variable
7
+ is set.
8
+
9
+ Only your build tool of choice will still print verbose output when you start
10
+ to actually build your project.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_OSX_ARCHITECTURES.rst ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_OSX_ARCHITECTURES
2
+ -----------------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ Target specific architectures for macOS.
7
+
8
+ The ``CMAKE_OSX_ARCHITECTURES`` environment variable sets the default value for
9
+ the :variable:`CMAKE_OSX_ARCHITECTURES` variable. See
10
+ :prop_tgt:`OSX_ARCHITECTURES` for more information.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_PREFIX_PATH.rst ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_PREFIX_PATH
2
+ -----------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ The ``CMAKE_PREFIX_PATH`` environment variable may be set to a list of
7
+ directories specifying installation *prefixes* to be searched by the
8
+ :command:`find_package`, :command:`find_program`, :command:`find_library`,
9
+ :command:`find_file`, and :command:`find_path` commands. Each command will
10
+ add appropriate subdirectories (like ``bin``, ``lib``, or ``include``)
11
+ as specified in its own documentation.
12
+
13
+ This variable may hold a single prefix or a list of prefixes separated
14
+ by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
15
+ variable convention on those platforms).
16
+
17
+ See also the :variable:`CMAKE_PREFIX_PATH` CMake variable.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_PROGRAM_PATH.rst ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_PROGRAM_PATH
2
+ ------------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ The ``CMAKE_PROGRAM_PATH`` environment variable may be set to a list of
7
+ directories to be searched by the :command:`find_program` command.
8
+
9
+ This variable may hold a single directory or a list of directories separated
10
+ by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
11
+ variable convention on those platforms).
12
+
13
+ See also the :variable:`CMAKE_PROGRAM_PATH` CMake variable.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CMAKE_TOOLCHAIN_FILE.rst ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CMAKE_TOOLCHAIN_FILE
2
+ --------------------
3
+
4
+ .. versionadded:: 3.21
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ The ``CMAKE_TOOLCHAIN_FILE`` environment variable specifies a default value
9
+ for the :variable:`CMAKE_TOOLCHAIN_FILE` variable when there is no explicit
10
+ configuration given on the first run while creating a new build tree.
11
+ On later runs in an existing build tree the value persists in the cache
12
+ as :variable:`CMAKE_TOOLCHAIN_FILE`.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CSFLAGS.rst ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CSFLAGS
2
+ -------
3
+
4
+ .. versionadded:: 3.9.2
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Add default compilation flags to be used when compiling ``CSharp`` files.
9
+
10
+ .. |CMAKE_LANG_FLAGS| replace:: :variable:`CMAKE_CSharp_FLAGS <CMAKE_<LANG>_FLAGS>`
11
+ .. |LANG| replace:: ``CSharp``
12
+ .. include:: LANG_FLAGS.txt
13
+
14
+ See also :variable:`CMAKE_CSharp_FLAGS_INIT <CMAKE_<LANG>_FLAGS_INIT>`.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CTEST_INTERACTIVE_DEBUG_MODE.rst ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ CTEST_INTERACTIVE_DEBUG_MODE
2
+ ----------------------------
3
+
4
+ .. include:: ENV_VAR.txt
5
+
6
+ Environment variable that will exist and be set to ``1`` when a test executed
7
+ by :manual:`ctest(1)` is run in interactive mode.
toolchain/cmake-3.27.9-linux-x86_64/share/cmake-3.27/Help/envvar/CTEST_NO_TESTS_ACTION.rst ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CTEST_NO_TESTS_ACTION
2
+ ---------------------
3
+
4
+ .. versionadded:: 3.26
5
+
6
+ .. include:: ENV_VAR.txt
7
+
8
+ Environment variable that controls how :manual:`ctest <ctest(1)>` handles
9
+ cases when there are no tests to run. Possible values are: ``error``,
10
+ ``ignore``, empty or unset.
11
+
12
+ The :option:`--no-tests=\<action\> <ctest --no-tests>` option to
13
+ :manual:`ctest <ctest(1)>` overrides this environment variable if both
14
+ are given.