| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
8c51dbdd cmCPackDragNDropGenerator: Add missing include
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1206
|
| |
| |
| |
| |
| |
| | |
We use `std::sort` and so must include `<algorithm>`.
Issue: #17233
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
5fe64511 CPackIFW: Add CPACK_IFW_REPOSITORIES_DIRECTORIES variable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1150
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add CPACK_IFW_REPOSITORIES_DIRECTORIES variable to specify
additional repositories dirs that will be used to resolve and
repack dependent components
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ca2233e3 IWYU: Mark cmConfigure.h with pragma: keep
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1187
|
| | | |
| | | |
| | | |
| | | | |
Also remove `#include "cmConfigure.h"` from most source files.
|
|/ / /
| | |
| | |
| | |
| | | |
Remove the copy of OpenBSD's 'ar' implementation and instead
use cmArchiveWrite with the "arbsd" format.
|
|/ / |
|
| |
| |
| |
| |
| | |
Add CPACK_IFW_PACKAGE_FILE_EXTENSION variable to customize
target binary format.
|
| |
| |
| |
| |
| |
| | |
Get the mount name from mount point path returned by hdiutil instead of
assuming it is the volume name. They can be different in case of
conflict with an already-mounted volume.
|
| |
| |
| |
| |
| |
| |
| | |
* Use a parameter to select hash algorithm
* Return a std::string as result or an empty
string if it fails
* Avoids unnecessary copy of hash value
|
| |
| |
| |
| |
| |
| |
| |
| | |
While some features require external Unix tools the
generator is mostly portable.
By enabling it on Windows it can be used for cross platform
packaging.
|
| |
| |
| |
| |
| | |
Drop the unused `InstallPrefix` member that shadows a member in a
subclass.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
2042cae9 CPack-FreeBSD: add a generator for FreeBSD pkg(8)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !693
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds an option CPACK_ENABLE_FREEBSD_PKG to allow CPack to look
for FreeBSD's libpkg / pkg(8). If this is set and the libpkg
headers and library are found (which they will be, by default,
on any FreeBSD system), then add a FreeBSD pkg(8) generator.
The FreeBSD package tool pkg(8) uses tar.xz files (.txz) with two
metadata files embedded (+MANIFEST and +COMPACT_MANIFEST).
This introduces a bunch of FreeBSD-specific CPACK_FREEBSD_PACKAGE_*
variables for filling in the metadata; the Debian generator does
something similar. Documentation for the CPack CMake-script is styled
after the Debian generator.
Implementation notes:
- Checks for libpkg -- the underlying implementation for pkg(8) --
and includes FreeBSD package-generation if building CMake on
a UNIX host. Since libpkg can be used on BSDs, Linux and OSX,
this potentially adds one more packaging format. In practice,
this will only happen on FreeBSD and DragonflyBSD.
- Copy-paste from cmCPackArchiveGenerator to special-case
the metadata generation and to run around the internal
archive generation: use libpkg instead.
- Generating the metadata files is a little contrived.
- Most of the validation logic for package settings is in
CPackFreeBSD.cmake, as well as the code that tries to re-use
packaging settings that may already be set up for Debian.
- libpkg has its own notion of output filename, so we have
another contrived bit of code that munges the output file
list so that CPack can find the output.
- Stick with C++98.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
Support for setting archive packager specific
per component filenames and monolithic package
filenames.
|
|\
| |
| |
| |
| |
| |
| | |
72ac7ad9 CPackIFW: Internationalization Support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !748
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes:
- DISPLAY_NAME and DESCRIPTION in CPackIFW module now is MULTI_ARGS;
- Added internationalization support for DisplayName and Description
properties in cmCPackIFWPackage class;
- Added documentation to CPackIFW module;
- Added release note.
|
|/
|
|
|
|
|
|
|
|
|
| |
Non component package generation was recursing through
symlinks while monolithic package generation did not.
This was causing component archive packages to contain
both symlink and a directory with the same name on the
same level if symlink contained files which caused errors
during extraction of such packages.
Closes #16051
|
|\
| |
| |
| |
| |
| |
| | |
543cf134 CPackIFW: Access refactoring
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !820
|
| |
| |
| |
| |
| |
| | |
Changes:
- Access members with this->;
- Access nested enum values with class name.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
3e027d9d c++: prefer vectors over lists
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !799
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
None of these usages of `std::list` were inserting or removing elements
in the middle of the structure, so there were no benefits to using it.
Other uses were related to C pointers being stable in a list of strings
whereas in a vector of strings, small pointer optimizations could be
moved and become invalid after a modification to the hosting vector.
None of these uses modified the vector after handing out a C string to
an external store.
|
|/
|
|
| |
Move common used code to new cmCPackIFWCommon base class.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
58cf9d41 wix: adds ability to modify attributes with patch
03628bb6 wix: fix spelling error in function name
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !742
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds the ability to attributes to generated XML files for features with
the WiX patch system. To modify attributes additional attributes may be
added within the 'CPackWixFragment' xml tag.
Fixes: #16813
Signed-off-by: Keith Holman <keith.holman@windriver.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The function "AddDirectoryAndFileDefinitions" was missing the last "i"
in the function name. This patch corrects the spelling so that the
function can be found easier when searching through the source code.
Signed-off-by: Keith Holman <keith.holman@windriver.com>
|
|/ |
|
|
|
|
| |
This generator has been deprecated since CMake 3.6. Remove it.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Automate with:
git grep -l '#include <cm_' -- Source \
| xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
git grep -l '#include <cmsys/' -- Source \
| xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
git grep -l '#include <cm[A-Z]' -- Source \
| xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
|
|
|
|
|
|
|
|
|
|
| |
Automate with:
git grep -l '#include <CPack/' -- Source \
| xargs sed -i 's/#include <CPack\/\(.*\)>/#include "\1"/g'
git grep -l '#include "CPack/' -- Source \
| xargs sed -i 's/#include "CPack\/\(.*\)"/#include "\1"/g'
|
|
|
|
|
|
|
|
|
|
|
| |
Make sure that `#include <cmConfigure.h>` is followed by an empty line
in header files. This is necessary to make sure that changing <> to ""
does not affect the include ordering of clang-format.
Automate with:
git grep -l '#include <cmConfigure.h>' | grep -v '.cxx$' \
| xargs sed -i '/#include <cmConfigure.h>/ { N; N; s/\n\{1,2\}/\n\n/ }'
|
| |
|
|
|
|
|
| |
Since the class name is used in the macros, the iwyu tool gets confused
wheter it needs a forward declaration or not.
|
|
|
|
|
|
| |
These functions just need to change the directory for a block of code
and then go back to the caller's expected location. Use
cmWorkingDirectory to ensure that all return paths are handled.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adjust the image format to create the initial `dmg`, and convert only
when necessary. This eliminates spurious
hdiutil create -format UDRW
failures I'm seeing which may be related to an anti-virus scanner.
Running
hdiutil create -format UDRW -verbose
indicates a "resource is busy" issue when unmounting an image.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
d58d28a9 ParserHelper: Move macros to bottom of files
07953c18 remove file cmStandardIncludes.h
f918b053 cmFortranParser: include what you use
b74314c6 cmDependsJavaParser: include what you use
74404df4 cmCommandArgumentParser: include what you use
e7168c08 cmExprParser: include what you use
ee72803e fix some include-what-you-use diagnostics
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
d32f9deb CPack: Add option to specify --component-plist for productbuild
|
| |/
| |
| |
| |
| |
| |
| | |
When using the productbuild generator this lets you specify the value of
the `--component-plist` parameter when it runs pkgbuild for a component.
Fixes: #16638
|
|/
|
|
|
|
|
| |
This allows you to copy custom files (e.g. a background image) into the
macOS installer.
Fixes: #16604
|