summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* cmStandardIncludes: Remove list include.Stephen Kelly2015-02-061-0/+1
| | | | Include it only where used.
* CPack: Fix packaging of source tarballs with symbolic linksBill Hoffman2015-01-301-0/+12
| | | | | | When staging the package installation, if the first file in a directory happens to be a symbolic link, make sure we create the directory before trying to create the link.
* Replace 'foo.length() > 0' pattern with !foo.empty().Stephen Kelly2015-01-181-2/+2
|
* Replace 'foo.size() == 0' pattern with foo.empty().Stephen Kelly2015-01-181-1/+1
|
* Replace 'foo.size() > 0' pattern with !foo.empty().Stephen Kelly2015-01-182-6/+6
|
* Merge topic 'delete-algorithm'Brad King2015-01-151-5/+1
|\ | | | | | | | | | | | | | | 65b81da4 cmVariableWatch: Use the cmDeleteAll algorithm with for_each. 30d2de9a cmGeneratorExpressionEvaluator: Replace own algorithm with cmDeleteAll. 4a6e795b Use the cmDeleteAll algorithm instead of trivial raw loops. abb4a678 Add a generic algorithm for deleting items in a container.
| * Use the cmDeleteAll algorithm instead of trivial raw loops.Stephen Kelly2015-01-131-5/+1
| |
* | Merge topic 'cpack-PackageMaker-OSX-10.10'Brad King2015-01-152-10/+26
|\ \ | |/ |/| | | | | 70abf6e7 CPack: Fix PackageMaker internal versioning for OS X 10.10
| * CPack: Fix PackageMaker internal versioning for OS X 10.10Calin Cascaval2015-01-122-10/+26
| | | | | | | | | | Avoid using a floating point value to represent the version, since "10.10" would be treated as "10.1".
* | Merge topic 'drop-ancient-workarounds'Brad King2015-01-1214-79/+80
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f7bdd61 Remove VS 6 special case. 5e92c826 Remove some obsolete stuff. 15e42bb2 cmStandardIncludes: Remove obsolete cmOStringStream. 931e055d Port all cmOStringStream to std::ostringstream. f194a009 Remove unused cmIStringStream class. 3ec1bb15 cmStandardIncludes: Remove std namespace hack. bb3bce70 cmStandardIncludes: Remove ANSI_FOR_SCOPE hack. 28fa4923 cmStandardIncludes: Remove iostreams workaround for obsolete Compaq compiler. 837a8a63 cmStandardIncludes: Drop Comeau-related workaround. 4030ddfd Remove Borland-related undef. 17d6a6fd cmStandardIncludes: Remove comment about Borland. 26fb5011 Drop SGI as a CMake host compiler.
| * | Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-1114-79/+80
| | | | | | | | | | | | All compilers hosting CMake support the std class.
* | | Use two-iterator std::set::insert where appropriate.Stephen Kelly2015-01-111-6/+1
|/ /
* | CPack invalid CMake generatorDomen Vrankar2015-01-021-0/+8
| | | | | | | | | | | | Case where CPACK_CMAKE_GENERATOR value is non existent or or contains multiple words that were not quoted was not handled and produced a segmentation fault.
* | cpack: Fix installed size computation with PackageMaker generatorCalin Cascaval2014-12-221-0/+1
| | | | | | | | | | Use the CPACK_PACKAGING_INSTALL_PREFIX when looking for files in a component. Otherwise we report all packages having size 1.
* | Remove some unneeded c_str calls.Stephen Kelly2014-11-234-9/+9
| |
* | CPack: Add support for code signing of bundles on MacOSAndré Klitzing2014-10-282-1/+127
| |
* | Merge topic 'remove-borland-build'Brad King2014-10-212-5/+0
|\ \ | | | | | | | | | | | | 2db55ffa Remove borland workarounds.
| * | Remove borland workarounds.Stephen Kelly2014-10-152-5/+0
| |/ | | | | | | | | CMake 3.0 is the last release to require to be able to build with Borland.
* | strings: Remove redundant calls to std::string::c_str()Nils Gladitz2014-10-156-16/+16
|/ | | | | Replacements were detected and performed by the clang tool remove-cstr-calls on a linux build.
* Merge topic 'cpack-ifw-updates'Brad King2014-10-074-37/+155
|\ | | | | | | | | | | ed9684a2 CPackIFW: Added support for multiple repositories f9f74874 CPackIFW: Search algorithm update
| * CPackIFW: Added support for multiple repositoriesKonstantin Podsvirov2014-10-054-25/+142
| | | | | | | | Now user can add IFW specific repo with cpack_ifw_add_repository macro
| * CPackIFW: Search algorithm updateKonstantin Podsvirov2014-10-041-12/+13
| | | | | | | | Variables like CPACK_IFW_*_EXECUTABLE_FOUND now not needed
* | CPackWiX: Work around RelativePath() returning an empty string for the rootNils Gladitz2014-10-031-0/+5
|/
* CPackWiX: Extend CPACK_WIX_ACL to support directoriesNils Gladitz2014-09-273-5/+38
|
* CPackWiX: Teach WiX installers to remember the install location for upgradesNils Gladitz2014-09-191-0/+23
|
* CPackIFW: Revise this generatorKonstantin Podsvirov2014-08-126-20/+98
| | | | | | | | | | CPack IFW generator updates: - Group now can have script; - Root package (for monolithic or one package installers) can be configured from group. CMake updates: - Native installation (no Unspecified component).
* Merge topic 'wix-acl'Brad King2014-08-114-2/+205
|\ | | | | | | | | | | 975dc871 Help: Add notes for topic 'wix-acl' 12418f5c CPackWIX: Implement CPACK_WIX_ACL (Access Control List) property
| * CPackWIX: Implement CPACK_WIX_ACL (Access Control List) propertyNils Gladitz2014-08-094-2/+205
| |
* | Merge topic 'cpack-ifw-generator'Brad King2014-08-119-992/+1666
|\ \ | |/ |/| | | | | | | | | ebe8d51b CPackIFW: Refactor and revise this generator 82382479 Doxygen: Add STRIP_FROM_PATH variable to doxyfile.in 3040ab8f Doxygen: Add CPack/IFW subdir to doxyfile.in INPUT section
| * CPackIFW: Refactor and revise this generatorKonstantin Podsvirov2014-08-119-992/+1666
| | | | | | | | | | | | | | | | | | | | | | | | | | Split the monolithic cmCPackIFWGenerator source into three parts: cmCPackIFWGenerator, cmCPackIFWInstaller, and cmCPackIFWPackage to isolate the implementations somewhat. Add a COMMON option to the cpack_ifw_configure_component command to make the data component common to its parent group. Change the default packaging method to ONE_PACKAGE_PER_COMPONENT. This is not incompatible because the CPack IFW generator has not yet been in a release.
* | Fix used value warning.Bill Hoffman2014-08-051-2/+1
|/ | | | | packageFileName no longer has only one value in this function. Move the declaration into the loop and remove its initial and unused asignment.
* Fix scan-build warning parsed is never read after being set.Bill Hoffman2014-08-041-1/+0
|
* Merge topic 'cpack-ifw-generator'Brad King2014-07-311-5/+65
|\ | | | | | | | | | | e7511b7f CPackIFW: Add package configuration variables b2340001 CPackIFW: Document cpack_ifw_configure_component DEPENDS option
| * CPackIFW: Add package configuration variablesKonstantin Podsvirov2014-07-291-5/+65
| |
* | CPack: add generators for .7z and .tar.xz (#13072, #14519)Daniel Pfeifer2014-07-295-0/+133
|/
* CPackIFW: Replace use of strftime with cmTimestampBrad King2014-07-281-10/+3
| | | | The latter is more portable.
* CPack: Add an "IFW" generator for Qt Framework InstallerKonstantin Podsvirov2014-07-283-0/+944
| | | | | | | | Add support for packaging with the Qt Framework Installer tools: http://qt-project.org/doc/qtinstallerframework/index.html Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com>
* cmCPackGenerator: Avoid crash on undefined CMAKE_MAKE_PROGRAMBrad King2014-06-251-2/+2
| | | | | | | | | | | Since commit 6557382d (stringapi: Use strings for program paths, 2014-02-24), cmGlobalGenerator::GenerateBuildCommand takes the make program path as a std::string. Fix the lookup in cmCPackGenerator::InstallProjectViaInstallCMakeProjects to use GetSafeDefinition for CMAKE_MAKE_PROGRAM to avoid possible construction of std::string from a NULL. Reported-by: Richard Wirth <richard@califax.de>
* Merge topic 'setlocale'Brad King2014-06-131-1/+1
|\ | | | | | | | | c746b00e Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.
| * Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.Clinton Stimpson2014-06-121-1/+1
| | | | | | | | | | Changing all categories with LC_ALL causes test failures in some locales. For example, in some locales, the decimal characer could be a comma instead of period.
* | regex: Use static regexs where possibleBen Boeckel2014-06-091-2/+2
|/ | | | | Rather than declaring and compiling a constant regex every time a chunk of code is executed, build the regex once.
* Encoding: Add setlocale() to applications.Clinton Stimpson2014-06-041-0/+2
| | | | See also bug #14934 where chinese characters could not be used with cpack.
* CPackWiX: Implement CPACK_NEVER_OVERWRITE and CPACK_PERMANENT propertiesNils Gladitz2014-05-283-3/+23
|
* Add an "installed file" property scopeNils Gladitz2014-05-283-4/+16
| | | | | | | Teach set_property and get_property an "INSTALL" property type to be associated with install-tree file paths. Make the properties available to CPack for use during packaging. Add a "prop_inst" Sphinx domain object type for documentation of such properties.
* CPackWIX: Delay creation of cmWIXPatch until CPack has initialized LoggerNils Gladitz2014-04-182-6/+16
| | | | | Without the fix CPack will crash when the cmWIXPatch class tries to issue any diagnostics.
* cmTypeMacro: Add a class to eat the semicolon following the macro use.Stephen Kelly2014-04-031-3/+4
| | | | | Apply the same workaround to the cmCPackTypeMacro. Additionally change that macro to not use 'class' as a macro parameter.
* CPackDeb: Add option to set compression typeSean D'Epagnier2014-03-141-9/+37
| | | | | | Add a CPACK_DEBIAN_COMPRESSION_TYPE option to set the compression type. Default to 'gzip' to preserve existing behavior. Use "cmake -E tar" for 'gzip', 'bzip2', and 'none'. Use system "tar" for 'lzma' and 'xz'.
* Workaround Sun C++ 5.9 compiler crashBrad King2014-03-121-2/+2
| | | | | Adjust whitespace in Source/CPack/cpack.cxx to avoid a strange internal compiler crash.
* Remove c_str calls when using stream APIs.Stephen Kelly2014-03-116-58/+58
| | | | | Use an ad-hoc clang tool for matching the calls which should be ported.
* Remove some c_str() calls.Stephen Kelly2014-03-115-45/+45
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.