OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
doc
/
cmake
/
html
/
manual
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
04/04/2023 07:10:48 PM
rwxr-xr-x
📄
ccmake.1.html
44.19 KB
04/04/2023 07:05:08 PM
rw-r--r--
📄
cmake-buildsystem.7.html
161.14 KB
04/04/2023 07:05:09 PM
rw-r--r--
📄
cmake-commands.7.html
21.66 KB
04/04/2023 07:05:09 PM
rw-r--r--
📄
cmake-compile-features.7.html
46.17 KB
04/04/2023 07:05:09 PM
rw-r--r--
📄
cmake-configure-log.7.html
35.93 KB
04/04/2023 07:05:09 PM
rw-r--r--
📄
cmake-developer.7.html
60.56 KB
04/04/2023 07:05:09 PM
rw-r--r--
📄
cmake-env-variables.7.html
15.36 KB
04/04/2023 07:05:09 PM
rw-r--r--
📄
cmake-file-api.7.html
174.79 KB
04/04/2023 07:05:10 PM
rw-r--r--
📄
cmake-generator-expressions.7.html
229.68 KB
04/04/2023 07:05:11 PM
rw-r--r--
📄
cmake-generators.7.html
16.07 KB
04/04/2023 07:05:11 PM
rw-r--r--
📄
cmake-gui.1.html
27.62 KB
04/04/2023 07:05:11 PM
rw-r--r--
📄
cmake-language.7.html
67.9 KB
04/04/2023 07:05:11 PM
rw-r--r--
📄
cmake-modules.7.html
37.63 KB
04/04/2023 07:05:11 PM
rw-r--r--
📄
cmake-packages.7.html
84.94 KB
04/04/2023 07:05:11 PM
rw-r--r--
📄
cmake-policies.7.html
48.41 KB
04/04/2023 07:05:11 PM
rw-r--r--
📄
cmake-presets.7.html
122.21 KB
04/04/2023 07:05:12 PM
rw-r--r--
📄
cmake-properties.7.html
80.47 KB
04/04/2023 07:05:12 PM
rw-r--r--
📄
cmake-qt.7.html
47.92 KB
04/04/2023 07:05:12 PM
rw-r--r--
📄
cmake-server.7.html
5.39 KB
04/04/2023 07:05:12 PM
rw-r--r--
📄
cmake-toolchains.7.html
92.74 KB
04/04/2023 07:05:12 PM
rw-r--r--
📄
cmake-variables.7.html
105.71 KB
04/04/2023 07:05:12 PM
rw-r--r--
📄
cmake.1.html
170.8 KB
04/04/2023 07:05:13 PM
rw-r--r--
📄
cpack-generators.7.html
7.54 KB
04/04/2023 07:05:13 PM
rw-r--r--
📄
cpack.1.html
39.49 KB
04/04/2023 07:05:13 PM
rw-r--r--
📄
ctest.1.html
230.72 KB
04/04/2023 07:05:13 PM
rw-r--r--
Editing: cpack.1.html
Close
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" /> <title>cpack(1) — CMake 3.26.3 Documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/cmake.css" /> <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script> <script src="../_static/jquery.js"></script> <script src="../_static/underscore.js"></script> <script src="../_static/_sphinx_javascript_frameworks_compat.js"></script> <script src="../_static/doctools.js"></script> <link rel="shortcut icon" href="../_static/cmake-favicon.ico"/> <link rel="index" title="Index" href="../genindex.html" /> <link rel="search" title="Search" href="../search.html" /> <link rel="next" title="cmake-gui(1)" href="cmake-gui.1.html" /> <link rel="prev" title="ctest(1)" href="ctest.1.html" /> </head><body> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="cmake-gui.1.html" title="cmake-gui(1)" accesskey="N">next</a> |</li> <li class="right" > <a href="ctest.1.html" title="ctest(1)" accesskey="P">previous</a> |</li> <li> <img src="../_static/cmake-logo-16.png" alt="" style="vertical-align: middle; margin-top: -2px" /> </li> <li> <a href="https://cmake.org/">CMake</a> » </li> <li> <a href="../index.html">3.26.3 Documentation</a> » </li> <li class="nav-item nav-item-this"><a href="">cpack(1)</a></li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body" role="main"> <span class="target" id="manual:cpack(1)"></span><section id="cpack-1"> <h1>cpack(1)<a class="headerlink" href="#cpack-1" title="Permalink to this heading">¶</a></h1> <section id="synopsis"> <h2>Synopsis<a class="headerlink" href="#synopsis" title="Permalink to this heading">¶</a></h2> <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>cpack [<options>] </pre></div> </div> </section> <section id="description"> <h2>Description<a class="headerlink" href="#description" title="Permalink to this heading">¶</a></h2> <p>The <strong class="program">cpack</strong> executable is the CMake packaging program. It generates installers and source packages in a variety of formats.</p> <p>For each installer or package format, <strong class="program">cpack</strong> has a specific backend, called "generator". A generator is responsible for generating the required inputs and invoking the specific package creation tools. These installer or package generators are not to be confused with the makefile generators of the <span class="target" id="index-0-manual:cmake(1)"></span><a class="reference internal" href="cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake</span></code></a> command.</p> <p>All supported generators are specified in the <span class="target" id="index-0-manual:cpack-generators(7)"></span><a class="reference internal" href="cpack-generators.7.html#manual:cpack-generators(7)" title="cpack-generators(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cpack-generators</span></code></a> manual. The command <code class="docutils literal notranslate"><span class="pre">cpack</span> <span class="pre">--help</span></code> prints a list of generators supported for the target platform. Which of them are to be used can be selected through the <span class="target" id="index-0-variable:CPACK_GENERATOR"></span><a class="reference internal" href="../module/CPack.html#variable:CPACK_GENERATOR" title="CPACK_GENERATOR"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_GENERATOR</span></code></a> variable or through the command-line option <a class="reference internal" href="#cmdoption-cpack-G"><code class="xref std std-option docutils literal notranslate"><span class="pre">-G</span></code></a>.</p> <p>The <strong class="program">cpack</strong> program is steered by a configuration file written in the <span class="target" id="index-0-manual:cmake-language(7)"></span><a class="reference internal" href="cmake-language.7.html#manual:cmake-language(7)" title="cmake-language(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">CMake</span> <span class="pre">language</span></code></a>. Unless chosen differently through the command-line option <a class="reference internal" href="#cmdoption-cpack-config"><code class="xref std std-option docutils literal notranslate"><span class="pre">--config</span></code></a>, the file <code class="docutils literal notranslate"><span class="pre">CPackConfig.cmake</span></code> in the current directory is used.</p> <p>In the standard CMake workflow, the file <code class="docutils literal notranslate"><span class="pre">CPackConfig.cmake</span></code> is generated by the <span class="target" id="index-1-manual:cmake(1)"></span><a class="reference internal" href="cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake</span></code></a> executable, provided the <span class="target" id="index-0-module:CPack"></span><a class="reference internal" href="../module/CPack.html#module:CPack" title="CPack"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">CPack</span></code></a> module is included by the project's <code class="docutils literal notranslate"><span class="pre">CMakeLists.txt</span></code> file.</p> </section> <section id="options"> <h2>Options<a class="headerlink" href="#options" title="Permalink to this heading">¶</a></h2> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-G"> <span id="cmdoption-cpack-g"></span><span class="sig-name descname"><span class="pre">-G</span></span><span class="sig-prename descclassname"> <span class="pre"><generators></span></span><a class="headerlink" href="#cmdoption-cpack-G" title="Permalink to this definition">¶</a></dt> <dd><p><code class="docutils literal notranslate"><span class="pre"><generators></span></code> is a <a class="reference internal" href="cmake-language.7.html#cmake-language-lists"><span class="std std-ref">semicolon-separated list</span></a> of generator names. <strong class="program">cpack</strong> will iterate through this list and produce package(s) in that generator's format according to the details provided in the <code class="docutils literal notranslate"><span class="pre">CPackConfig.cmake</span></code> configuration file. If this option is not given, the <span class="target" id="index-1-variable:CPACK_GENERATOR"></span><a class="reference internal" href="../module/CPack.html#variable:CPACK_GENERATOR" title="CPACK_GENERATOR"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_GENERATOR</span></code></a> variable determines the default set of generators that will be used.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-C"> <span id="cmdoption-cpack-c"></span><span class="sig-name descname"><span class="pre">-C</span></span><span class="sig-prename descclassname"> <span class="pre"><configs></span></span><a class="headerlink" href="#cmdoption-cpack-C" title="Permalink to this definition">¶</a></dt> <dd><p>Specify the project configuration(s) to be packaged (e.g. <code class="docutils literal notranslate"><span class="pre">Debug</span></code>, <code class="docutils literal notranslate"><span class="pre">Release</span></code>, etc.), where <code class="docutils literal notranslate"><span class="pre"><configs></span></code> is a <a class="reference internal" href="cmake-language.7.html#cmake-language-lists"><span class="std std-ref">semicolon-separated list</span></a>. When the CMake project uses a multi-configuration generator such as Xcode or Visual Studio, this option is needed to tell <strong class="program">cpack</strong> which built executables to include in the package. The user is responsible for ensuring that the configuration(s) listed have already been built before invoking <strong class="program">cpack</strong>.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-D"> <span id="cmdoption-cpack-d"></span><span class="sig-name descname"><span class="pre">-D</span></span><span class="sig-prename descclassname"> <span class="pre"><var>=<value></span></span><a class="headerlink" href="#cmdoption-cpack-D" title="Permalink to this definition">¶</a></dt> <dd><p>Set a CPack variable. This will override any value set for <code class="docutils literal notranslate"><span class="pre"><var></span></code> in the input file read by <strong class="program">cpack</strong>.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-config"> <span class="sig-name descname"><span class="pre">--config</span></span><span class="sig-prename descclassname"> <span class="pre"><configFile></span></span><a class="headerlink" href="#cmdoption-cpack-config" title="Permalink to this definition">¶</a></dt> <dd><p>Specify the configuration file read by <strong class="program">cpack</strong> to provide the packaging details. By default, <code class="docutils literal notranslate"><span class="pre">CPackConfig.cmake</span></code> in the current directory will be used.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-V"> <span id="cmdoption-cpack-v"></span><span id="cmdoption-cpack-verbose"></span><span class="sig-name descname"><span class="pre">-V</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--verbose</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-cpack-V" title="Permalink to this definition">¶</a></dt> <dd><p>Run <strong class="program">cpack</strong> with verbose output. This can be used to show more details from the package generation tools and is suitable for project developers.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-debug"> <span class="sig-name descname"><span class="pre">--debug</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-cpack-debug" title="Permalink to this definition">¶</a></dt> <dd><p>Run <strong class="program">cpack</strong> with debug output. This option is intended mainly for the developers of <strong class="program">cpack</strong> itself and is not normally needed by project developers.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-trace"> <span class="sig-name descname"><span class="pre">--trace</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-cpack-trace" title="Permalink to this definition">¶</a></dt> <dd><p>Put the underlying cmake scripts in trace mode.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-trace-expand"> <span class="sig-name descname"><span class="pre">--trace-expand</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-cpack-trace-expand" title="Permalink to this definition">¶</a></dt> <dd><p>Put the underlying cmake scripts in expanded trace mode.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-P"> <span id="cmdoption-cpack-p"></span><span class="sig-name descname"><span class="pre">-P</span></span><span class="sig-prename descclassname"> <span class="pre"><packageName></span></span><a class="headerlink" href="#cmdoption-cpack-P" title="Permalink to this definition">¶</a></dt> <dd><p>Override/define the value of the <span class="target" id="index-0-variable:CPACK_PACKAGE_NAME"></span><a class="reference internal" href="../module/CPack.html#variable:CPACK_PACKAGE_NAME" title="CPACK_PACKAGE_NAME"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_PACKAGE_NAME</span></code></a> variable used for packaging. Any value set for this variable in the <code class="docutils literal notranslate"><span class="pre">CPackConfig.cmake</span></code> file will then be ignored.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-R"> <span id="cmdoption-cpack-r"></span><span class="sig-name descname"><span class="pre">-R</span></span><span class="sig-prename descclassname"> <span class="pre"><packageVersion></span></span><a class="headerlink" href="#cmdoption-cpack-R" title="Permalink to this definition">¶</a></dt> <dd><p>Override/define the value of the <span class="target" id="index-0-variable:CPACK_PACKAGE_VERSION"></span><a class="reference internal" href="../module/CPack.html#variable:CPACK_PACKAGE_VERSION" title="CPACK_PACKAGE_VERSION"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_PACKAGE_VERSION</span></code></a> variable used for packaging. It will override a value set in the <code class="docutils literal notranslate"><span class="pre">CPackConfig.cmake</span></code> file or one automatically computed from <span class="target" id="index-0-variable:CPACK_PACKAGE_VERSION_MAJOR"></span><a class="reference internal" href="../module/CPack.html#variable:CPACK_PACKAGE_VERSION_MAJOR" title="CPACK_PACKAGE_VERSION_MAJOR"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_PACKAGE_VERSION_MAJOR</span></code></a>, <span class="target" id="index-0-variable:CPACK_PACKAGE_VERSION_MINOR"></span><a class="reference internal" href="../module/CPack.html#variable:CPACK_PACKAGE_VERSION_MINOR" title="CPACK_PACKAGE_VERSION_MINOR"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_PACKAGE_VERSION_MINOR</span></code></a> and <span class="target" id="index-0-variable:CPACK_PACKAGE_VERSION_PATCH"></span><a class="reference internal" href="../module/CPack.html#variable:CPACK_PACKAGE_VERSION_PATCH" title="CPACK_PACKAGE_VERSION_PATCH"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_PACKAGE_VERSION_PATCH</span></code></a>.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-B"> <span id="cmdoption-cpack-b"></span><span class="sig-name descname"><span class="pre">-B</span></span><span class="sig-prename descclassname"> <span class="pre"><packageDirectory></span></span><a class="headerlink" href="#cmdoption-cpack-B" title="Permalink to this definition">¶</a></dt> <dd><p>Override/define <span class="target" id="index-0-variable:CPACK_PACKAGE_DIRECTORY"></span><a class="reference internal" href="../module/CPack.html#variable:CPACK_PACKAGE_DIRECTORY" title="CPACK_PACKAGE_DIRECTORY"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_PACKAGE_DIRECTORY</span></code></a>, which controls the directory where CPack will perform its packaging work. The resultant package(s) will be created at this location by default and a <code class="docutils literal notranslate"><span class="pre">_CPack_Packages</span></code> subdirectory will also be created below this directory to use as a working area during package creation.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-vendor"> <span class="sig-name descname"><span class="pre">--vendor</span></span><span class="sig-prename descclassname"> <span class="pre"><vendorName></span></span><a class="headerlink" href="#cmdoption-cpack-vendor" title="Permalink to this definition">¶</a></dt> <dd><p>Override/define <span class="target" id="index-0-variable:CPACK_PACKAGE_VENDOR"></span><a class="reference internal" href="../module/CPack.html#variable:CPACK_PACKAGE_VENDOR" title="CPACK_PACKAGE_VENDOR"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_PACKAGE_VENDOR</span></code></a>.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-preset"> <span class="sig-name descname"><span class="pre">--preset</span></span><span class="sig-prename descclassname"> <span class="pre"><presetName></span></span><a class="headerlink" href="#cmdoption-cpack-preset" title="Permalink to this definition">¶</a></dt> <dd><p>Use a preset from <span class="target" id="index-0-manual:cmake-presets(7)"></span><a class="reference internal" href="cmake-presets.7.html#manual:cmake-presets(7)" title="cmake-presets(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-presets(7)</span></code></a>.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-list-presets"> <span class="sig-name descname"><span class="pre">--list-presets</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-cpack-list-presets" title="Permalink to this definition">¶</a></dt> <dd><p>List presets from <span class="target" id="index-1-manual:cmake-presets(7)"></span><a class="reference internal" href="cmake-presets.7.html#manual:cmake-presets(7)" title="cmake-presets(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-presets(7)</span></code></a>.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-version"> <span id="cmdoption-cpack-version"></span><span id="cmdoption-cpack-0"></span><span class="sig-name descname"><span class="pre">-version</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--version</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">/V</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-version" title="Permalink to this definition">¶</a></dt> <dd><p>Show program name/version banner and exit. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-h"> <span id="cmdoption-cpack-H"></span><span id="cmdoption-cpack-help"></span><span id="cmdoption-cpack-help"></span><span id="cmdoption-cpack-usage"></span><span id="cmdoption-cpack-1"></span><span id="cmdoption-cpack"></span><span class="sig-name descname"><span class="pre">-h</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-H</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--help</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-help</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-usage</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">/?</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-cpack-h" title="Permalink to this definition">¶</a></dt> <dd><p>Print usage information and exit.</p> <p>Usage describes the basic command line interface and its options.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-full"> <span class="sig-name descname"><span class="pre">--help-full</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-full" title="Permalink to this definition">¶</a></dt> <dd><p>Print all help manuals and exit.</p> <p>All manuals are printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-manual"> <span class="sig-name descname"><span class="pre">--help-manual</span></span><span class="sig-prename descclassname"> <span class="pre"><man></span> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-manual" title="Permalink to this definition">¶</a></dt> <dd><p>Print one help manual and exit.</p> <p>The specified manual is printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-manual-list"> <span class="sig-name descname"><span class="pre">--help-manual-list</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-manual-list" title="Permalink to this definition">¶</a></dt> <dd><p>List help manuals available and exit.</p> <p>The list contains all manuals for which help may be obtained by using the <code class="docutils literal notranslate"><span class="pre">--help-manual</span></code> option followed by a manual name. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-command"> <span class="sig-name descname"><span class="pre">--help-command</span></span><span class="sig-prename descclassname"> <span class="pre"><cmd></span> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-command" title="Permalink to this definition">¶</a></dt> <dd><p>Print help for one command and exit.</p> <p>The <span class="target" id="index-0-manual:cmake-commands(7)"></span><a class="reference internal" href="cmake-commands.7.html#manual:cmake-commands(7)" title="cmake-commands(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-commands(7)</span></code></a> manual entry for <code class="docutils literal notranslate"><span class="pre"><cmd></span></code> is printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-command-list"> <span class="sig-name descname"><span class="pre">--help-command-list</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-command-list" title="Permalink to this definition">¶</a></dt> <dd><p>List commands with help available and exit.</p> <p>The list contains all commands for which help may be obtained by using the <code class="docutils literal notranslate"><span class="pre">--help-command</span></code> option followed by a command name. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-commands"> <span class="sig-name descname"><span class="pre">--help-commands</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-commands" title="Permalink to this definition">¶</a></dt> <dd><p>Print cmake-commands manual and exit.</p> <p>The <span class="target" id="index-1-manual:cmake-commands(7)"></span><a class="reference internal" href="cmake-commands.7.html#manual:cmake-commands(7)" title="cmake-commands(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-commands(7)</span></code></a> manual is printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-module"> <span class="sig-name descname"><span class="pre">--help-module</span></span><span class="sig-prename descclassname"> <span class="pre"><mod></span> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-module" title="Permalink to this definition">¶</a></dt> <dd><p>Print help for one module and exit.</p> <p>The <span class="target" id="index-0-manual:cmake-modules(7)"></span><a class="reference internal" href="cmake-modules.7.html#manual:cmake-modules(7)" title="cmake-modules(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-modules(7)</span></code></a> manual entry for <code class="docutils literal notranslate"><span class="pre"><mod></span></code> is printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-module-list"> <span class="sig-name descname"><span class="pre">--help-module-list</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-module-list" title="Permalink to this definition">¶</a></dt> <dd><p>List modules with help available and exit.</p> <p>The list contains all modules for which help may be obtained by using the <code class="docutils literal notranslate"><span class="pre">--help-module</span></code> option followed by a module name. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-modules"> <span class="sig-name descname"><span class="pre">--help-modules</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-modules" title="Permalink to this definition">¶</a></dt> <dd><p>Print cmake-modules manual and exit.</p> <p>The <span class="target" id="index-1-manual:cmake-modules(7)"></span><a class="reference internal" href="cmake-modules.7.html#manual:cmake-modules(7)" title="cmake-modules(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-modules(7)</span></code></a> manual is printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-policy"> <span class="sig-name descname"><span class="pre">--help-policy</span></span><span class="sig-prename descclassname"> <span class="pre"><cmp></span> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-policy" title="Permalink to this definition">¶</a></dt> <dd><p>Print help for one policy and exit.</p> <p>The <span class="target" id="index-0-manual:cmake-policies(7)"></span><a class="reference internal" href="cmake-policies.7.html#manual:cmake-policies(7)" title="cmake-policies(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-policies(7)</span></code></a> manual entry for <code class="docutils literal notranslate"><span class="pre"><cmp></span></code> is printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-policy-list"> <span class="sig-name descname"><span class="pre">--help-policy-list</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-policy-list" title="Permalink to this definition">¶</a></dt> <dd><p>List policies with help available and exit.</p> <p>The list contains all policies for which help may be obtained by using the <code class="docutils literal notranslate"><span class="pre">--help-policy</span></code> option followed by a policy name. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-policies"> <span class="sig-name descname"><span class="pre">--help-policies</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-policies" title="Permalink to this definition">¶</a></dt> <dd><p>Print cmake-policies manual and exit.</p> <p>The <span class="target" id="index-1-manual:cmake-policies(7)"></span><a class="reference internal" href="cmake-policies.7.html#manual:cmake-policies(7)" title="cmake-policies(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-policies(7)</span></code></a> manual is printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-property"> <span class="sig-name descname"><span class="pre">--help-property</span></span><span class="sig-prename descclassname"> <span class="pre"><prop></span> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-property" title="Permalink to this definition">¶</a></dt> <dd><p>Print help for one property and exit.</p> <p>The <span class="target" id="index-0-manual:cmake-properties(7)"></span><a class="reference internal" href="cmake-properties.7.html#manual:cmake-properties(7)" title="cmake-properties(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-properties(7)</span></code></a> manual entries for <code class="docutils literal notranslate"><span class="pre"><prop></span></code> are printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-property-list"> <span class="sig-name descname"><span class="pre">--help-property-list</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-property-list" title="Permalink to this definition">¶</a></dt> <dd><p>List properties with help available and exit.</p> <p>The list contains all properties for which help may be obtained by using the <code class="docutils literal notranslate"><span class="pre">--help-property</span></code> option followed by a property name. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-properties"> <span class="sig-name descname"><span class="pre">--help-properties</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-properties" title="Permalink to this definition">¶</a></dt> <dd><p>Print cmake-properties manual and exit.</p> <p>The <span class="target" id="index-1-manual:cmake-properties(7)"></span><a class="reference internal" href="cmake-properties.7.html#manual:cmake-properties(7)" title="cmake-properties(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-properties(7)</span></code></a> manual is printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-variable"> <span class="sig-name descname"><span class="pre">--help-variable</span></span><span class="sig-prename descclassname"> <span class="pre"><var></span> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-variable" title="Permalink to this definition">¶</a></dt> <dd><p>Print help for one variable and exit.</p> <p>The <span class="target" id="index-0-manual:cmake-variables(7)"></span><a class="reference internal" href="cmake-variables.7.html#manual:cmake-variables(7)" title="cmake-variables(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-variables(7)</span></code></a> manual entry for <code class="docutils literal notranslate"><span class="pre"><var></span></code> is printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-variable-list"> <span class="sig-name descname"><span class="pre">--help-variable-list</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-variable-list" title="Permalink to this definition">¶</a></dt> <dd><p>List variables with help available and exit.</p> <p>The list contains all variables for which help may be obtained by using the <code class="docutils literal notranslate"><span class="pre">--help-variable</span></code> option followed by a variable name. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> <dl class="std option"> <dt class="sig sig-object std" id="cmdoption-cpack-help-variables"> <span class="sig-name descname"><span class="pre">--help-variables</span></span><span class="sig-prename descclassname"> <span class="pre">[<file>]</span></span><a class="headerlink" href="#cmdoption-cpack-help-variables" title="Permalink to this definition">¶</a></dt> <dd><p>Print cmake-variables manual and exit.</p> <p>The <span class="target" id="index-1-manual:cmake-variables(7)"></span><a class="reference internal" href="cmake-variables.7.html#manual:cmake-variables(7)" title="cmake-variables(7)"><code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">cmake-variables(7)</span></code></a> manual is printed in a human-readable text format. The output is printed to a named <code class="docutils literal notranslate"><span class="pre"><file></span></code> if given.</p> </dd></dl> </section> <section id="see-also"> <h2>See Also<a class="headerlink" href="#see-also" title="Permalink to this heading">¶</a></h2> <p>The following resources are available to get help using CMake:</p> <dl> <dt>Home Page</dt><dd><p><a class="reference external" href="https://cmake.org">https://cmake.org</a></p> <p>The primary starting point for learning about CMake.</p> </dd> <dt>Online Documentation and Community Resources</dt><dd><p><a class="reference external" href="https://cmake.org/documentation">https://cmake.org/documentation</a></p> <p>Links to available documentation and community resources may be found on this web page.</p> </dd> <dt>Discourse Forum</dt><dd><p><a class="reference external" href="https://discourse.cmake.org">https://discourse.cmake.org</a></p> <p>The Discourse Forum hosts discussion and questions about CMake.</p> </dd> </dl> </section> </section> <div class="clearer"></div> </div> </div> </div> <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> <div class="sphinxsidebarwrapper"> <div> <h3><a href="../index.html">Table of Contents</a></h3> <ul> <li><a class="reference internal" href="#">cpack(1)</a><ul> <li><a class="reference internal" href="#synopsis">Synopsis</a></li> <li><a class="reference internal" href="#description">Description</a></li> <li><a class="reference internal" href="#options">Options</a></li> <li><a class="reference internal" href="#see-also">See Also</a></li> </ul> </li> </ul> </div> <div> <h4>Previous topic</h4> <p class="topless"><a href="ctest.1.html" title="previous chapter">ctest(1)</a></p> </div> <div> <h4>Next topic</h4> <p class="topless"><a href="cmake-gui.1.html" title="next chapter">cmake-gui(1)</a></p> </div> <div role="note" aria-label="source link"> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/manual/cpack.1.rst.txt" rel="nofollow">Show Source</a></li> </ul> </div> <div id="searchbox" style="display: none" role="search"> <h3 id="searchlabel">Quick search</h3> <div class="searchformwrapper"> <form class="search" action="../search.html" method="get"> <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/> <input type="submit" value="Go" /> </form> </div> </div> <script>document.getElementById('searchbox').style.display = "block"</script> </div> </div> <div class="clearer"></div> </div> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="cmake-gui.1.html" title="cmake-gui(1)" >next</a> |</li> <li class="right" > <a href="ctest.1.html" title="ctest(1)" >previous</a> |</li> <li> <img src="../_static/cmake-logo-16.png" alt="" style="vertical-align: middle; margin-top: -2px" /> </li> <li> <a href="https://cmake.org/">CMake</a> » </li> <li> <a href="../index.html">3.26.3 Documentation</a> » </li> <li class="nav-item nav-item-this"><a href="">cpack(1)</a></li> </ul> </div> <div class="footer" role="contentinfo"> © Copyright 2000-2023 Kitware, Inc. and Contributors. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.0.2. </div> </body> </html>