File size: 31,063 Bytes
1ffdd88 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 |
<!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.19: https://docutils.sourceforge.io/" />
<title>CPackIFW — CMake 3.27.9 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>
<script src="../_static/sphinx_highlight.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="CPackIFWConfigureFile" href="CPackIFWConfigureFile.html" />
<link rel="prev" title="CPackComponent" href="CPackComponent.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="CPackIFWConfigureFile.html" title="CPackIFWConfigureFile"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="CPackComponent.html" title="CPackComponent"
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.27.9 Documentation</a> »
</li>
<li class="nav-item nav-item-1"><a href="../manual/cmake-modules.7.html" accesskey="U">cmake-modules(7)</a> »</li>
<li class="nav-item nav-item-this"><a href="">CPackIFW</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="cpackifw">
<span id="module:CPackIFW"></span><h1>CPackIFW<a class="headerlink" href="#cpackifw" title="Permalink to this heading">¶</a></h1>
<div class="versionadded">
<p><span class="versionmodified added">New in version 3.1.</span></p>
</div>
<p>This module looks for the location of the command-line utilities supplied with the
<a class="reference external" href="https://doc.qt.io/qtinstallerframework/index.html">Qt Installer Framework</a>
(QtIFW).</p>
<p>The module also defines several commands to control the behavior of the
<span class="target" id="index-0-cpack_gen:CPack IFW Generator"></span><a class="reference internal" href="../cpack_gen/ifw.html#cpack_gen:CPack IFW Generator" title="CPack IFW Generator"><code class="xref cmake cmake-cpack_gen docutils literal notranslate"><span class="pre">CPack</span> <span class="pre">IFW</span> <span class="pre">Generator</span></code></a>.</p>
<section id="commands">
<h2>Commands<a class="headerlink" href="#commands" title="Permalink to this heading">¶</a></h2>
<p>The module defines the following commands:</p>
<dl class="cmake command">
<dt class="sig sig-object cmake" id="command:cpack_ifw_configure_component">
<span class="sig-name descname"><span class="pre">cpack_ifw_configure_component</span></span><a class="headerlink" href="#command:cpack_ifw_configure_component" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the arguments specific to the CPack IFW generator.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>cpack_ifw_configure_component(<compname> [COMMON] [ESSENTIAL] [VIRTUAL]
[FORCED_INSTALLATION] [REQUIRES_ADMIN_RIGHTS]
[NAME <name>]
[DISPLAY_NAME <display_name>] # Note: Internationalization supported
[DESCRIPTION <description>] # Note: Internationalization supported
[UPDATE_TEXT <update_text>]
[VERSION <version>]
[RELEASE_DATE <release_date>]
[SCRIPT <script>]
[PRIORITY|SORTING_PRIORITY <sorting_priority>] # Note: PRIORITY is deprecated
[DEPENDS|DEPENDENCIES <com_id> ...]
[AUTO_DEPEND_ON <comp_id> ...]
[LICENSES <display_name> <file_path> ...]
[DEFAULT <value>]
[USER_INTERFACES <file_path> <file_path> ...]
[TRANSLATIONS <file_path> <file_path> ...]
[REPLACES <comp_id> ...]
[CHECKABLE <value>])
</pre></div>
</div>
<p>This command should be called after <span class="target" id="index-0-command:cpack_add_component"></span><a class="reference internal" href="CPackComponent.html#command:cpack_add_component" title="cpack_add_component"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">cpack_add_component()</span></code></a> command.</p>
<dl>
<dt><code class="docutils literal notranslate"><span class="pre">COMMON</span></code></dt><dd><p>if set, then the component will be packaged and installed as part
of a group to which it belongs.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">ESSENTIAL</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.6.</span></p>
</div>
<p>if set, then the package manager stays disabled until that
component is updated.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">VIRTUAL</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>if set, then the component will be hidden from the installer.
It is a equivalent of the <code class="docutils literal notranslate"><span class="pre">HIDDEN</span></code> option from the
<span class="target" id="index-1-command:cpack_add_component"></span><a class="reference internal" href="CPackComponent.html#command:cpack_add_component" title="cpack_add_component"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">cpack_add_component()</span></code></a> command.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">FORCED_INSTALLATION</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>if set, then the component must always be installed.
It is a equivalent of the <code class="docutils literal notranslate"><span class="pre">REQUIRED</span></code> option from the
<span class="target" id="index-2-command:cpack_add_component"></span><a class="reference internal" href="CPackComponent.html#command:cpack_add_component" title="cpack_add_component"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">cpack_add_component()</span></code></a> command.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">REQUIRES_ADMIN_RIGHTS</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>set it if the component needs to be installed with elevated permissions.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">NAME</span></code></dt><dd><p>is used to create domain-like identification for this component.
By default used origin component name.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">DISPLAY_NAME</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>set to rewrite original name configured by
<span class="target" id="index-3-command:cpack_add_component"></span><a class="reference internal" href="CPackComponent.html#command:cpack_add_component" title="cpack_add_component"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">cpack_add_component()</span></code></a> command.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">DESCRIPTION</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>set to rewrite original description configured by
<span class="target" id="index-4-command:cpack_add_component"></span><a class="reference internal" href="CPackComponent.html#command:cpack_add_component" title="cpack_add_component"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">cpack_add_component()</span></code></a> command.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">UPDATE_TEXT</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>will be added to the component description if this is an update to
the component.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">VERSION</span></code></dt><dd><p>is version of component.
By default used <span class="target" id="index-0-variable:CPACK_PACKAGE_VERSION"></span><a class="reference internal" href="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>.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">RELEASE_DATE</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>keep empty to auto generate.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">SCRIPT</span></code></dt><dd><p>is a relative or absolute path to operations script
for this component.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">SORTING_PRIORITY</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>is priority of the component in the tree.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">PRIORITY</span></code></dt><dd><div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 3.8: </span>Old name for <code class="docutils literal notranslate"><span class="pre">SORTING_PRIORITY</span></code>.</p>
</div>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">DEPENDS</span></code>, <code class="docutils literal notranslate"><span class="pre">DEPENDENCIES</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>list of dependency component or component group identifiers in
QtIFW style.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 3.21.</span></p>
</div>
<p>Component or group names listed as dependencies may contain hyphens.
This requires QtIFW 3.1 or later.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">AUTO_DEPEND_ON</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>list of identifiers of component or component group in QtIFW style
that this component has an automatic dependency on.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">LICENSES</span></code></dt><dd><p>pair of <display_name> and <file_path> of license text for this
component. You can specify more then one license.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">DEFAULT</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>Possible values are: TRUE, FALSE, and SCRIPT.
Set to FALSE to disable the component in the installer or to SCRIPT
to resolved during runtime (don't forget add the file of the script
as a value of the <code class="docutils literal notranslate"><span class="pre">SCRIPT</span></code> option).</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">USER_INTERFACES</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.7.</span></p>
</div>
<p>is a list of <file_path> ('.ui' files) representing pages to load.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">TRANSLATIONS</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>is a list of <file_path> ('.qm' files) representing translations to load.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">REPLACES</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.10.</span></p>
</div>
<p>list of identifiers of component or component group to replace.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">CHECKABLE</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.10.</span></p>
</div>
<p>Possible values are: TRUE, FALSE.
Set to FALSE if you want to hide the checkbox for an item.
This is useful when only a few subcomponents should be selected
instead of all.</p>
</dd>
</dl>
</dd></dl>
<dl class="cmake command">
<dt class="sig sig-object cmake" id="command:cpack_ifw_configure_component_group">
<span class="sig-name descname"><span class="pre">cpack_ifw_configure_component_group</span></span><a class="headerlink" href="#command:cpack_ifw_configure_component_group" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the arguments specific to the CPack IFW generator.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>cpack_ifw_configure_component_group(<groupname> [VIRTUAL]
[FORCED_INSTALLATION] [REQUIRES_ADMIN_RIGHTS]
[NAME <name>]
[DISPLAY_NAME <display_name>] # Note: Internationalization supported
[DESCRIPTION <description>] # Note: Internationalization supported
[UPDATE_TEXT <update_text>]
[VERSION <version>]
[RELEASE_DATE <release_date>]
[SCRIPT <script>]
[PRIORITY|SORTING_PRIORITY <sorting_priority>] # Note: PRIORITY is deprecated
[DEPENDS|DEPENDENCIES <com_id> ...]
[AUTO_DEPEND_ON <comp_id> ...]
[LICENSES <display_name> <file_path> ...]
[DEFAULT <value>]
[USER_INTERFACES <file_path> <file_path> ...]
[TRANSLATIONS <file_path> <file_path> ...]
[REPLACES <comp_id> ...]
[CHECKABLE <value>])
</pre></div>
</div>
<p>This command should be called after <span class="target" id="index-0-command:cpack_add_component_group"></span><a class="reference internal" href="CPackComponent.html#command:cpack_add_component_group" title="cpack_add_component_group"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">cpack_add_component_group()</span></code></a>
command.</p>
<dl>
<dt><code class="docutils literal notranslate"><span class="pre">VIRTUAL</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>if set, then the group will be hidden from the installer.
Note that setting this on a root component does not work.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">FORCED_INSTALLATION</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>if set, then the group must always be installed.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">REQUIRES_ADMIN_RIGHTS</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>set it if the component group needs to be installed with elevated
permissions.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">NAME</span></code></dt><dd><p>is used to create domain-like identification for this component group.
By default used origin component group name.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">DISPLAY_NAME</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>set to rewrite original name configured by
<span class="target" id="index-1-command:cpack_add_component_group"></span><a class="reference internal" href="CPackComponent.html#command:cpack_add_component_group" title="cpack_add_component_group"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">cpack_add_component_group()</span></code></a> command.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">DESCRIPTION</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>set to rewrite original description configured by
<span class="target" id="index-2-command:cpack_add_component_group"></span><a class="reference internal" href="CPackComponent.html#command:cpack_add_component_group" title="cpack_add_component_group"><code class="xref cmake cmake-command docutils literal notranslate"><span class="pre">cpack_add_component_group()</span></code></a> command.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">UPDATE_TEXT</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>will be added to the component group description if this is an update to
the component group.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">VERSION</span></code></dt><dd><p>is version of component group.
By default used <span class="target" id="index-1-variable:CPACK_PACKAGE_VERSION"></span><a class="reference internal" href="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>.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">RELEASE_DATE</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>keep empty to auto generate.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">SCRIPT</span></code></dt><dd><p>is a relative or absolute path to operations script
for this component group.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">SORTING_PRIORITY</span></code></dt><dd><p>is priority of the component group in the tree.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">PRIORITY</span></code></dt><dd><div class="deprecated">
<p><span class="versionmodified deprecated">Deprecated since version 3.8: </span>Old name for <code class="docutils literal notranslate"><span class="pre">SORTING_PRIORITY</span></code>.</p>
</div>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">DEPENDS</span></code>, <code class="docutils literal notranslate"><span class="pre">DEPENDENCIES</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>list of dependency component or component group identifiers in
QtIFW style.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 3.21.</span></p>
</div>
<p>Component or group names listed as dependencies may contain hyphens.
This requires QtIFW 3.1 or later.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">AUTO_DEPEND_ON</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>list of identifiers of component or component group in QtIFW style
that this component group has an automatic dependency on.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">LICENSES</span></code></dt><dd><p>pair of <display_name> and <file_path> of license text for this
component group. You can specify more then one license.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">DEFAULT</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>Possible values are: TRUE, FALSE, and SCRIPT.
Set to TRUE to preselect the group in the installer
(this takes effect only on groups that have no visible child components)
or to SCRIPT to resolved during runtime (don't forget add the file of
the script as a value of the <code class="docutils literal notranslate"><span class="pre">SCRIPT</span></code> option).</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">USER_INTERFACES</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.7.</span></p>
</div>
<p>is a list of <file_path> ('.ui' files) representing pages to load.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">TRANSLATIONS</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.8.</span></p>
</div>
<p>is a list of <file_path> ('.qm' files) representing translations to load.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">REPLACES</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.10.</span></p>
</div>
<p>list of identifiers of component or component group to replace.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">CHECKABLE</span></code></dt><dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.10.</span></p>
</div>
<p>Possible values are: TRUE, FALSE.
Set to FALSE if you want to hide the checkbox for an item.
This is useful when only a few subcomponents should be selected
instead of all.</p>
</dd>
</dl>
</dd></dl>
<dl class="cmake command">
<dt class="sig sig-object cmake" id="command:cpack_ifw_add_repository">
<span class="sig-name descname"><span class="pre">cpack_ifw_add_repository</span></span><a class="headerlink" href="#command:cpack_ifw_add_repository" title="Permalink to this definition">¶</a></dt>
<dd><p>Add QtIFW specific remote repository to binary installer.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>cpack_ifw_add_repository(<reponame> [DISABLED]
URL <url>
[USERNAME <username>]
[PASSWORD <password>]
[DISPLAY_NAME <display_name>])
</pre></div>
</div>
<p>This command will also add the <reponame> repository
to a variable <span class="target" id="index-0-variable:CPACK_IFW_REPOSITORIES_ALL"></span><a class="reference internal" href="../cpack_gen/ifw.html#variable:CPACK_IFW_REPOSITORIES_ALL" title="CPACK_IFW_REPOSITORIES_ALL"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_IFW_REPOSITORIES_ALL</span></code></a>.</p>
<dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">DISABLED</span></code></dt><dd><p>if set, then the repository will be disabled by default.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">URL</span></code></dt><dd><p>is points to a list of available components.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">USERNAME</span></code></dt><dd><p>is used as user on a protected repository.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">PASSWORD</span></code></dt><dd><p>is password to use on a protected repository.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">DISPLAY_NAME</span></code></dt><dd><p>is string to display instead of the URL.</p>
</dd>
</dl>
</dd></dl>
<dl class="cmake command">
<dt class="sig sig-object cmake" id="command:cpack_ifw_update_repository">
<span class="sig-name descname"><span class="pre">cpack_ifw_update_repository</span></span><a class="headerlink" href="#command:cpack_ifw_update_repository" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.6.</span></p>
</div>
<p>Update QtIFW specific repository from remote repository.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>cpack_ifw_update_repository(<reponame>
[[ADD|REMOVE] URL <url>]|
[REPLACE OLD_URL <old_url> NEW_URL <new_url>]]
[USERNAME <username>]
[PASSWORD <password>]
[DISPLAY_NAME <display_name>])
</pre></div>
</div>
<p>This command will also add the <reponame> repository
to a variable <span class="target" id="index-1-variable:CPACK_IFW_REPOSITORIES_ALL"></span><a class="reference internal" href="../cpack_gen/ifw.html#variable:CPACK_IFW_REPOSITORIES_ALL" title="CPACK_IFW_REPOSITORIES_ALL"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_IFW_REPOSITORIES_ALL</span></code></a>.</p>
<dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">URL</span></code></dt><dd><p>is points to a list of available components.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">OLD_URL</span></code></dt><dd><p>is points to a list that will replaced.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">NEW_URL</span></code></dt><dd><p>is points to a list that will replace to.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">USERNAME</span></code></dt><dd><p>is used as user on a protected repository.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">PASSWORD</span></code></dt><dd><p>is password to use on a protected repository.</p>
</dd>
<dt><code class="docutils literal notranslate"><span class="pre">DISPLAY_NAME</span></code></dt><dd><p>is string to display instead of the URL.</p>
</dd>
</dl>
</dd></dl>
<dl class="cmake command">
<dt class="sig sig-object cmake" id="command:cpack_ifw_add_package_resources">
<span class="sig-name descname"><span class="pre">cpack_ifw_add_package_resources</span></span><a class="headerlink" href="#command:cpack_ifw_add_package_resources" title="Permalink to this definition">¶</a></dt>
<dd><div class="versionadded">
<p><span class="versionmodified added">New in version 3.7.</span></p>
</div>
<p>Add additional resources in the installer binary.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>cpack_ifw_add_package_resources(<file_path> <file_path> ...)
</pre></div>
</div>
<p>This command will also add the specified files
to a variable <span class="target" id="index-0-variable:CPACK_IFW_PACKAGE_RESOURCES"></span><a class="reference internal" href="../cpack_gen/ifw.html#variable:CPACK_IFW_PACKAGE_RESOURCES" title="CPACK_IFW_PACKAGE_RESOURCES"><code class="xref cmake cmake-variable docutils literal notranslate"><span class="pre">CPACK_IFW_PACKAGE_RESOURCES</span></code></a>.</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="#">CPackIFW</a><ul>
<li><a class="reference internal" href="#commands">Commands</a></li>
</ul>
</li>
</ul>
</div>
<div>
<h4>Previous topic</h4>
<p class="topless"><a href="CPackComponent.html"
title="previous chapter">CPackComponent</a></p>
</div>
<div>
<h4>Next topic</h4>
<p class="topless"><a href="CPackIFWConfigureFile.html"
title="next chapter">CPackIFWConfigureFile</a></p>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/module/CPackIFW.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="CPackIFWConfigureFile.html" title="CPackIFWConfigureFile"
>next</a> |</li>
<li class="right" >
<a href="CPackComponent.html" title="CPackComponent"
>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.27.9 Documentation</a> »
</li>
<li class="nav-item nav-item-1"><a href="../manual/cmake-modules.7.html" >cmake-modules(7)</a> »</li>
<li class="nav-item nav-item-this"><a href="">CPackIFW</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.3.0.
</div>
</body>
</html> |