summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ifw-run-program'Brad King2021-10-192-0/+44
|\ | | | | | | | | | | | | | | | | f2f4e66f64 CPackIFW: Add support for RunProgram* config variables Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Konstantin Podsvirov <konstantin@podsvirov.pro> Merge-request: !6610
| * CPackIFW: Add support for RunProgram* config variablesErlend E. Aasland2021-10-172-0/+44
| | | | | | | | | | | | This patch adds support for specifying <RunProgram>, <RunProgramArguments>, and <RunProgramDescription> in the IFW configuration file.
* | Merge topic 'fix-ifdef-windows'Brad King2021-10-181-1/+1
|\ \ | |/ |/| | | | | | | | | 40e73c5ac4 Source: Fix typo in _WIN32 preprocessor checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6631
| * Source: Fix typo in _WIN32 preprocessor checksBrad King2021-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | Since CMake's default compiler flags with MSVC include `-DWIN32` for historical reasons, a few preprocessor conditions were accidentally checking for `WIN32` instead of `_WIN32`. The corresponding blocks were left out when compiling official binaries for `cmake.org` because we hard-code compiler flags without `-DWIN32`. Fixes: #22764
| * Merge topic 'cmake-E-cat-binary' into release-3.19Brad King2020-10-151-19/+14
| |\ | | | | | | | | | | | | | | | | | | | | | | | | f7a5f28318 cmake: Fix '-E cat' command for binary files on Windows 90b39a5209 cmConsoleBuf: Factor out cout/cerr console buffer management f1fdd15863 clang-format: Fix include block order in ctest.cxx and cpack.cxx Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5364
* | \ Merge topic 'ifw-installer-icon-filenames'Craig Scott2021-10-151-4/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 761b6e2466 CPackIFW: Avoid colliding names for icons / logos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6613
| * | | CPackIFW: Avoid colliding names for icons / logosErlend E. Aasland2021-10-141-4/+12
| | | | | | | | | | | | Fixes: #16515
* | | | CPackIFW: Add support for DisableCommandLineInterface config attributeKonstantin Podsvirov2021-10-142-0/+19
| | | |
* | | | Merge topic 'clang-warnings'Brad King2021-10-141-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09f4edbcef Fix Clang -Wbitwise-instead-of-logical warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6623
| * | | | Fix Clang -Wbitwise-instead-of-logical warningsBrad King2021-10-131-1/+1
| |/ / /
* | | | Merge topic 'wix_extension'Brad King2021-10-141-1/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | ed9dbe9218 CPack/WiX: Add option to skip the WixUIExtension Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6619
| * | | CPack/WiX: Add option to skip the WixUIExtensionVasileios Anagnostopoulos2021-10-121-1/+3
| | | | | | | | | | | | | | | | Fixes: #22747
* | | | Merge topic 'ifw-refactor-packagefiles'Brad King2021-10-132-166/+203
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c50329d3ed CPackIFW: Refactor cmCPackIFWGenerator::PackageFiles Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6617
| * | | | CPackIFW: Refactor cmCPackIFWGenerator::PackageFilesErlend E. Aasland2021-10-112-166/+203
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split PackageFiles() into four methods, for increased readability: - cmCPackIFWGenerator::BuildRepogenCommand - cmCPackIFWGenerator::BuildBinaryCreatorCommand - cmCPackIFWGenerator::RunRepogen - cmCPackIFWGenerator::RunBinaryCreator Fixes: #22744
* | | | Merge topic 'ifw-product-images'Brad King2021-10-132-0/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6d39c845ee CPackIFW: Add support for ProductImages config option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6611
| * | | | CPackIFW: Add support for ProductImages config optionErlend E. Aasland2021-10-082-0/+22
| |/ / /
* | | | CPackIFW: Add version guard for configuration attributesErlend E. Aasland2021-10-081-77/+86
|/ / / | | | | | | | | | Fixes: #22736
* | | CPack/OSXX11: Fix Clang 13 Wunused-but-set-variableSean McBride2021-10-051-1/+1
| | | | | | | | | | | | Use the success/fail flag for the function return value.
* | | Rename cmProp in cmValueMarc Chevrier2021-09-2127-269/+273
| | |
* | | cmSystemTools::VersionCompare: use std::string for argumentsMarc Chevrier2021-09-171-5/+3
| | |
* | | Use new SetOption signaturesMarc Chevrier2021-09-1514-112/+88
| | |
* | | cmCPackGenerator::SetOption accepts cmProp or std::stringMarc Chevrier2021-09-152-4/+41
| | |
* | | cmProp: cm::string_view cast operator must be explicitMarc Chevrier2021-09-141-2/+2
| | | | | | | | | | | | | | | | | | | | | To avoid ambiguity on std::string assigment between the following two cmProp cast operators: * operator const std::string&() const noexcept * operator cm::string_view() const noexcept
* | | cmCPackGenerator::GetOption returns cmPropMarc Chevrier2021-09-1326-494/+462
| | |
* | | cmArchiveWrite: Check for construction errors on OpenBrad King2021-08-201-3/+21
| | | | | | | | | | | | | | | | | | Also update call sites to report the error. Issue: #19666
* | | Merge topic 'nsis_ignore_license_page'Brad King2021-08-031-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 795e406e3b CPack/NSIS: Add option to not display license page Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6422
| * | | CPack/NSIS: Add option to not display license pageJohnny Jazeix2021-08-011-0/+7
| | | | | | | | | | | | | | | | Fixes: #22215
* | | | Merge topic 'minimal_nsis'Brad King2021-08-031-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c0572a15d6 CPack/NSIS: Bump minimal version of NSIS to 3.03 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6425
| * | | | CPack/NSIS: Bump minimal version of NSIS to 3.03Johnny Jazeix2021-08-021-2/+2
| |/ / / | | | | | | | | | | | | Fixes: #22508
* | | | CPack/DEB: Add zstd compression for deb packagesRussell Greene2021-07-291-0/+3
|/ / /
* | | Refactor: Drop redundand `std::endl` calls in the middle of outputAlex Turbov2021-07-131-36/+52
| | |
* | | Refactor: Use `cmStrToLong` instead of `std::strtol`Alex Turbov2021-07-131-18/+17
| | |
* | | Refactor: Avoid duplicate calls to `GetOption("GEN_DBGSYMDIR")`Alex Turbov2021-07-131-9/+11
| | |
* | | Refactor: Deduplicate code of `createDebPackages()`Alex Turbov2021-07-131-22/+19
| | | | | | | | | | | | Also, fix incorrect `retval` accumulation.
* | | CPack/DEB: dbgsym package not generated for non-component packagingAlex Turbov2021-07-132-45/+37
| | | | | | | | | | | | Fix: #19735
* | | Refactor: Extract packaged files finder into a functionAlex Turbov2021-07-131-45/+34
| | |
* | | Refactor: cmCPackDebGenerator::PackageComponents handle `else` firstAlex Turbov2021-07-131-27/+27
| | | | | | | | | | | | Also, return early to reduce nesting level of the function body.
* | | Refactor: Change return value to bool for private membersAlex Turbov2021-07-132-20/+9
| | | | | | | | | | | | | | | The `cmCPackDebGenerator::createDeb()` and `cmCPackDebGenerator::createDbgsymDDeb()` in fact have boolean return value.
* | | Refactor: Drop unnecessary `if` before `return`Alex Turbov2021-07-131-8/+2
| | |
* | | Refactor: Drop useless assignments of `retval` before returnAlex Turbov2021-07-131-4/+2
| | |
* | | CPackDeb: sort package files before generating deb fileAlexey Rogachevskiy2021-06-301-0/+7
| | | | | | | | | | | | | | | | | | | | | This should make the order in which the files are added to md5sums and archives is stable, thus making package files more reproducible. Fixes: #22361
* | | Merge topic 'cpack-install-opts'Craig Scott2021-05-261-0/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 26e36111d3 CPack: Implement new variable CPACK_CUSTOM_INSTALL_VARIABLES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6141
| * | | CPack: Implement new variable CPACK_CUSTOM_INSTALL_VARIABLESNils Gladitz2021-05-231-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | The new variable allows projects to define custom key=value pairs of variables to be set in CPack cmake_install.cmake script invocations. This allows install(SCRIPT|CODE) to be parameterized at runtime.
* | | | CPack/WIX: Use language en-US, font Consolas, size 14Jason Erb2021-05-241-3/+3
|/ / / | | | | | | | | | | | | | | | Improve rendering of text from `CPACK_RESOURCE_FILE_LICENSE`. Fixes: #22228
* | | clang-tidy: fix `bugprone-redundant-branch-condition`Brad King2021-05-111-1/+1
| | |
* | | Source: Fix typos and spelling in commentsJosef Angstenberger2021-05-071-1/+1
| | |
* | | cmGlobalGenerator: Add parallel parameter to GenerateCMakeBuildCommandfriendlyanon2021-05-011-1/+1
| | |
* | | cmCPackDebGenerator: Remove unused local variableBrad King2021-04-281-1/+0
| | |
* | | cmArchiveWrite: Consolidate multiple ways to set thread countNils Gladitz2021-04-223-34/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge use of SetFilterOption() into more abstract thread count in cmArchiveWrite constructor. libarchive defaulting of threads for threads == 0 seems to be configuration dependent. Preemptively default thread count via std::thread::hardware_concurrency(). Also allow negative values for the thread count in which case the detected hardware concurrency is also used but the given absolute thread count is used as an upper limit.
* | | Update CMake code using KWSys to account for Status return valuesBrad King2021-04-141-6/+7
| | | | | | | | | | | | | | | | | | KWSys as of 2021-04-14 changed the return type of `SystemTools` operations from `bool` to `Status`. Update our call sites. This may improve error reporting accuracy in a few places.