summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* CPack: Try harder to remove temporary dir (#10793)Brad King2010-06-041-2/+2
| | | | | Windows filesystems sometimes lock files temporarily. Try removing the CPack temp install folder multiple times before giving up.
* Add missing archive_read_finish calls to fix some of the presently reported ↵David Cole2009-12-281-0/+1
| | | | valgrind memory leaks.
* use different tar format to handle longer file namesBill Hoffman2009-11-141-2/+1
|
* add better error checking and run from correct directory.Bill Hoffman2009-11-091-3/+9
|
* add better error checking and support for symlinks to cpack's use of libarchiveBill Hoffman2009-11-091-28/+49
|
* Fix warningBill Hoffman2009-11-031-1/+1
|
* Fix warnings for unused variablesBill Hoffman2009-11-031-3/+3
|
* Fix cygwin package stuff to work with libarchiveBill Hoffman2009-11-033-80/+64
|
* Fix for hpux...Bill Hoffman2009-11-021-1/+1
|
* Switch to using libarchive from libtar for cpack and cmake -E tarBill Hoffman2009-10-3010-772/+298
| | | | | | This allows for a built in bzip and zip capability, so external tools will not be needed for these packagers. The cmake -E tar xf should be able to handle all compression types now as well.
* Fix more mismatched new[] / delete[] (eliminate invalid auto_ptr use) to ↵David Cole2009-10-302-8/+7
| | | | correct valgrind reported memory issues.
* Correct one of the valgrind errors from the CPackTestAllGenerators test. Do ↵David Cole2009-10-261-3/+6
| | | | not use auto_ptr on a new [] allocation because auto_ptr does not use delete [].
* Try to avoid cronic random failures on some Macs.Bill Hoffman2009-10-041-2/+13
|
* Try to avoid cronic random failures on some Macs.Bill Hoffman2009-10-041-2/+15
|
* remove unused variables, reported by icpcAlexander Neundorf2009-10-031-4/+0
| | | | Alex
* Fix warnings in CMake source code. Suppress rampant warnings emanating from ↵David Cole2009-10-011-2/+2
| | | | Qt files.
* Fix default install prefix on HaikuBrad King2009-09-301-0/+14
| | | | | | | | Since Haiku does not have /usr (and therefore /usr/local), this commit changes the default install prefix to the equivalent directory of /boot/common. See issue #9607.
* Fix issue #8818 - escape quotes in the license file when using the DragNDrop ↵David Cole2009-09-281-0/+7
| | | | cpack generator. Thanks to Clinton Stimpson for the patch.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-2839-546/+351
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Add parentheses around '&&' between '||' for gccBrad King2009-09-111-4/+5
| | | | | | | The GNU compiler warns about possible operator precedence mistakes and asks for explicit parentheses (-Wparentheses). We add the parentheses to silence the warning. This also fixes one real logic error in the find_package() implementation by correcting expression evaluation order.
* BUG: Do not double-initialize local generatorsBrad King2009-07-281-1/+0
| | | | | | | | | All global generator CreateLocalGenerator methods automatically initialize the local generator instances with SetGlobalGenerator. In several places we were calling SetGlobalGenerator again after receiving the return value from CreateLocalGenerator. The double-initializations leaked the resources allocated by the first call to SetGlobalGenerator. This fix removes the unnecessary calls.
* BUG: Fix issue #8759 - add support for setting dmg volume name and ↵David Cole2009-04-031-2/+78
| | | | compression type by CPack variables. Also add custom .DS_Store and background image support. Thanks to Mike Arthur for the patches.
* STYLE: Fix line length violation.David Cole2009-02-241-1/+2
|
* ENH: Add license file presentation to the Drag-N-Drop dmg file CPack ↵David Cole2009-02-231-6/+157
| | | | generator. Fixes issue #8442. Thanks to Clinton Stimpson for the patch.
* STYLE: Fix style line-too-long violations.David Cole2009-02-202-6/+7
|
* BUG: A little bit more refactoring from BundleGenerator to ↵David Cole2009-02-193-172/+56
| | | | DragNDropGenerator. See issue #8556. Thanks for Clinton Stimpson for the patch.
* ENH: Create cmXMLSafe to help escapes in XMLBrad King2009-02-051-1/+2
| | | | | | | This class provides easy syntax to efficiently insert blocks of data into XML documents with proper escapes. It replaces the old cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which allocated extra memory instead of directly streaming the data.
* BUG: Forgot to change parent class in cmCPackTypeMacro when I added ↵David Cole2009-01-221-1/+1
| | | | cmCPackDragNDropGenerator. Fix it now that it really matters. (The BundleGenerator test started failing after the last commit. This fixes it.)
* BUG: Fix issue #8383. Avoid crashing when using the Bundle CPack generator ↵David Cole2009-01-224-0/+28
| | | | and CPACK_BUNDLE_NAME is not set. Instead, fail gracefully giving an informative error message and non-zero exit code.
* BUG: Fix issue #8402. Add a drag and drop bundle generator to the Mac build ↵David Cole2009-01-225-89/+305
| | | | of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch.
* BUG: Fix issue #7523: Analyze output of 'hdiutil attach' to get the name of ↵David Cole2009-01-212-8/+12
| | | | the volume that was mounted. Eliminates the need to use the -mountpoint arg of hdiutil which has a silly 90 character limit on the name of the mount point. Also add a custom volume icon to the BundleGeneratorTest to cover this code.
* BUG: Fix issue #7833: Add file extension handling to CPack generated ↵David Cole2009-01-212-0/+9
| | | | installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch.
* BUG: Fix for issue #7470. Allow spaces in the path names of installed files ↵David Cole2009-01-201-11/+16
| | | | with the NSIS CPack generator and component-based installs. Add an installed file to the CPackComponents test: it failed before the fix; now it passes.
* ENH: allow startup command to be optionalBill Hoffman2008-12-041-27/+22
|
* BUG: Use the DESTDIR prefix when creating the directory in CPack when ↵David Cole2008-10-151-8/+24
| | | | CPACK_SET_DESTDIR is ON. Thanks to Petri Hodju for reporting this regression to the CMake mailing list: http://www.cmake.org/pipermail/cmake/2008-October/024563.html.
* BUG: Fix issue #7800. Enable CPack to find the NSIS installer on Windows 2000.David Cole2008-10-101-7/+11
|
* STYLE: fix line length issuesBill Hoffman2008-10-022-8/+12
|
* STYLE: fix line length stuff for KWStyleBill Hoffman2008-10-016-40/+78
|
* ENH: missed oneBill Hoffman2008-09-241-1/+1
|
* STYLE: fix compiler warningBill Hoffman2008-09-242-3/+2
|
* STYLE: fix warning and rename methodBill Hoffman2008-09-232-3/+3
|
* BUG: fix 7669, cpack did not work with symlinksBill Hoffman2008-09-221-154/+18
|
* ENH: add installed size to deb packageBill Hoffman2008-09-111-0/+11
|
* BUG: Fix issue #7414 - do not crash when given components with circular ↵David Cole2008-07-302-7/+27
| | | | dependencies. Thanks to Doug Gregor for the patch.
* ENH: Improvements to the bundle cpack generator from second patch attached ↵David Cole2008-07-181-100/+138
| | | | to feature request #7170. Thanks to Tim Shead.
* COMP: Fix HP continuous. Pull stl headers into CMake header files using ↵David Cole2008-07-091-3/+1
| | | | cmStandardIncludes.h
* ENH: One more patch from Doug Gregor including PackageMaker functionality ↵David Cole2008-07-094-99/+254
| | | | for componentized-for-the-end-user and download-some-bit-on-demand installers.
* ENH: Further refinement of the CPack components functionality from Doug Gregor.David Cole2008-07-085-26/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Details: ========== - New cpack_add_component, cpack_add_component_group, and cpack_add_install_type "commands" defined as macros in the CPack module. - Documentation for all of the variables and commands in the CPack module. - Added get_cmake_property(... COMPONENTS) to CMake to ask for the names of all components. Used in the CPack module to automatically build component-based installers. (Set CPACK_MONOLITHIC_INSTALL to turn off component-based installation). - A group can declare its PARENT_GROUP, to build an arbitrary hierarchy of groups. - New CPack command cpack_configure_downloads, which creates an installer that downloads only the selected components on-the-fly. Those components marked DOWNLOADED will be separate packages downloaded on-the-fly (or, all packages can be marked as such with the ALL option to cpack_configure_downloads). Individual components are compressed with ZIP at installer-creation time and downloaded/uncompressed by the installer as needed. This feature is only available on Windows with NSIS at the moment. - NSIS installers can install themselves and enable the "Change" button in Add/Remove programs, allowing users to go back and install or remove components. This can be disabled through cpack_configure_downloads, because it's only really useful is most of the application's functionality is in downloaded components. - Bug fix: automatically install everything whose COMPONENT was not specified (it's a hidden, required group) - Bug fix: fixed removal of components when re-running the NSIS installer and unchecking components - Bug fix: NSIS installers now only install/remove the minimal number of files when re-run to update the installation (or by clicking "Change" in Add/Remove programs)
* COMP: Eliminate unreferenced variable warningDavid Cole2008-06-191-0/+2
|
* COMP: Eliminate compiler warning on 64-bit build.David Cole2008-06-181-1/+2
|