| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Add a `CPACK_IFW_PACKAGE_PRODUCT_IMAGE_URLS` variable for them.
|
| |
|
|
|
|
|
|
|
| |
Entries of `CPACK_IFW_PACKAGE_PRODUCT_IMAGES` each need their own
`ProductImage element.
Fixes: #26268
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
1393b31635 cmCPackPKGGenerator: Remove redundant call to c_str
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9759
|
| |
| |
| |
| |
| |
| | |
The call is unnecessary since commit 438809d3ba (cmCPackGenerator: Add
option to FindTemplate to use alternate builtin path, 2024-03-06,
v3.30.0-rc1~353^2~4).
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
5b259985bf Refactor: Optimize some `std::ostream::operator<<()` calls
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9717
|
| |/ |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
b1f956529a CPack/NSIS: Fix matching of reserved component names
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9757
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"Console" unexpectedly matches the reserved name regex. This revealed
that `cmCPackNSISGenerator::CreateComponentDescription()` needs to use
the name returned by `GetSanitizedDirOrFileName()` for the component
file glob.
Fix the change from commit a1af593291 (CPack: Support arbitrary
component name when packaging, 2024-05-01, v3.30.0-rc1~151^2~1) to
address these issues and add related checks to the `CPackNSISGenerator`
test case.
Issue: #23612
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
ab26d334bf cmCPackExternalGenerator: ensure JSON is written before running the script
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9669
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
First, use `cmGeneratedFileStream` to avoid touching an existing file
unless its contents change and to get atomic replacement. Also add a
scope to ensure that the file is in place (at `fout`'s destructor)
before doing anything with the packaging scripts.
See: https://discourse.cmake.org/t/1773
|
|/
|
|
|
|
|
| |
Add support for Multi-Arch in control files of Debian packages.
Valid values: same, foreign, allowed
Fixes: #21445
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CPack no longer blindly tries to create temporary packaging
(sub)directories that contain the verbatim name of a component, which
might contain characters that are not supported on the platform /
filesystem.
Instead, if the component's name contains a (possibly) problematic
character its MD5 hash will be used for that temporary packaging
(sub)directory.
Likewise, if the component's name resembles a reserved device name (e.g.
"COM1" on Windows) then the temporary packaging (sub)directory will get
this name prefixed with an underscore.
Similar, if it ends in a dot (on Windows) then the temporary packaging
(sub)directory will get this name suffixed with an underscore.
Fixes: #23612
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The variable `CPACK_TEMPORARY_DIRECTORY` is an internal variable that is
required for proper packaging. Historically, a second variable
`CPACK_TEMPORARY_INSTALL_DIRECTORY` existed as well which had the same
purpose. Both variables had to be set to the same value. Otherwise,
CPack would not succeed with packaging.
In order to ease CPack's usage, the variable
`CPACK_TEMPORARY_INSTALL_DIRECTORY` is now no longer used.
However, as it cannot be guaranteed that neither of these two (internal)
variables have been used in the wild, some mechanism was introduced to
preserve backwards-compatibility: If one of these variables is set, the
other variable will be set to the same value. If, however, both are set
to different values, CPack still fails but with an explicit
error-message.
Fixes: #25046
|
|
|
|
|
| |
Innosetup tools can be run on Linux using Wine, thus there is no reason
to block this in CMake.
|
|
|
|
|
|
|
| |
Add a `CPACK_WIX_VERSION` option to specify version WiX for
which the project is configured.
Fixes: #23910
|
| |
|
| |
|
|
|
|
| |
Move our template for WiX Toolset v3 to a versioned location.
|
| |
|
|
|
|
| |
Speed up a bit by calling members directly.
|
| |
|
| |
|
| |
|
|
|
|
| |
Found by Cppcheck (variableScope)
|
|
|
|
|
| |
Prevent unnecessary calls to copy constructor
Found by Cppcheck (postfixOperator)
|
|
|
|
| |
Found by Cppcheck.
|
|
|
|
|
|
|
|
| |
Add a new `CPACK_WIX_INSTALL_SCOPE` variable to set the `InstallScope`
when using the default WiX template. Set the default to the bug-free
value `perMachine`.
Fixes: #20962
|
|
|
|
| |
Fixes: #25280
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
9ca6dfc280 Source: Reduce vector entry allocations and copies
aaeb2e0aa8 cmLinkItemGraphVisitor: Remove unnecessary syntax
d1c1e95331 cmCPackInnoSetupGenerator: Reserve space to reduce allocations
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8891
|
| |
| |
| |
| | |
Prefer `emplace_back` over `push_back`.
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The latter call is no longer post-bootstrap only since 596439b1bb
(cmCustomCommandGenerator: Add option to transform depfile, 2020-10-05)
via !5325. Convert callers to just use `cmCryptoHash` directly and
remove the bootstrap guard.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
d58253d155 clang-tidy: fix `performance-faster-string-find` lints
a19ec77200 clang-tidy: fix `readability-static-accessed-through-instance` lints
3d03629f20 cmWIXRichTextFormatWriter: remove identity cast
1df29567ac clang-tidy: fix `modernize-use-equals-default` lints
32fe862b8c clang-tidy: fix `readability-container-size-empty` lints
7eaab9a957 clang-tidy: fix `modernize-raw-string-literal` lints
ffa49c23aa clang-tidy: fix `readability-else-after-return` lints
4489e9a85c clang-tidy: fix `modernize-use-auto` lints
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8668
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|