Commit Graph

40 Commits

Author SHA1 Message Date
David Cole 415900ba77 Eliminate -Wconversion warnings.
Change types of local variables, or casting, or re-arrange
expressions to get rid of "conversion may alter value" warnings
as seen on recent dashboard submissions from londinium.kitware.
2010-06-27 11:22:05 -04:00
Brad King 96afb12087 Convert CMake to OSI-approved BSD License
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.
2009-09-28 11:43:28 -04:00
David Cole 03c940aeb3 BUG: Fix for issue #7470. Allow spaces in the path names of installed files 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. 2009-01-20 14:29:41 -05:00
David Cole c3976b0283 BUG: Fix issue #7800. Enable CPack to find the NSIS installer on Windows 2000. 2008-10-10 17:08:00 -04:00
Bill Hoffman ecf312ccc8 STYLE: fix line length stuff for KWStyle 2008-10-01 09:04:27 -04:00
David Cole 83ec8c3593 ENH: Further refinement of the CPack components functionality from Doug Gregor.
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)
2008-07-08 11:52:25 -04:00
David Cole 0fe9afdf5e BUG: Always look for the NSIS reg value in the 32-bit hive even in 64-bit builds of CPack. 2008-06-18 14:25:57 -04:00
David Cole 5cd8c61db3 COMP: Use cmOStringStream instead of std::ostringstream for the HP compiler. 2008-06-17 14:07:15 -04:00
David Cole 9a98928bd9 COMP: Fix errors and warnings from continuous dashboards running different compilers... 2008-06-17 12:44:18 -04:00
David Cole 1105a86c52 ENH: Add patch for feature request #6847 - CPack components for NSIS and PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available. 2008-06-17 11:39:26 -04:00
Bill Hoffman 6ea4eea183 BUG: fix for bug 6294, correct url for nsis 2008-02-15 10:40:55 -05:00
Bill Hoffman ad75cb7195 BUG: fix for 6086 uninstall icon not set right 2007-12-14 14:58:27 -05:00
Bill Hoffman 87c22309b8 ENH: change CPACK_CREATE_DESKTOP_LINKS to something that can handle spaces in the name of the exectuable 2007-11-07 13:11:58 -05:00
Brad King f410f8578e COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697. 2007-11-05 14:34:36 -05:00
Bill Hoffman 771997c556 ENH: fix line length 2007-10-31 09:03:40 -04:00
Bill Hoffman eb14543939 ENH: cpack changes, remove the escape variable stuff as it is not needed if you provide a config file for cpack 2007-10-30 23:02:43 -04:00
Bill Hoffman 02f79c7242 ENH: add ability to set installer icons, links to web pages, nsis code in the icon section of the template, and ability to escape variables correctly 2007-10-29 08:11:44 -04:00
Bill Hoffman 4168c0797b ENH: fix line length error 2007-10-19 12:03:16 -04:00
Bill Hoffman 3e03bca2cd ENH: add ability to create links on the start menu 2007-10-18 09:40:10 -04:00
Bill Hoffman 0eba9b638f ENH: allow for desktop link to be created and fix chop of last char in PATH on uninstall 2007-09-18 15:16:21 -04:00
Alexander Neundorf ef81ac50e5 ENH: NSIS exists also for Linux, not only Windows, so enable it there too
patch by   Michal Čihař <michal (AT) cihar.com>

Alex
2007-06-18 09:00:33 -04:00
Ken Martin 240deb027b STYLE: fix a long line 2006-11-17 11:14:04 -05:00
Andy Cedilnik 2e37a00610 ENH: Expand comment 2006-11-13 22:08:42 -05:00
Andy Cedilnik b548e2db1f ENH: Add NSIS compression 2006-10-12 14:59:43 -04:00
Brad King 2b602ea738 COMP: Need to use cmsys_stl when in CMake code, not kwsys_stl. 2006-08-27 13:15:39 -04:00
Ken Martin af04164c6d STYLE: fix line length 2006-05-12 14:44:24 -04:00
Andy Cedilnik 2324e7ec5d ENH: Add support for stipping and make more things overwritable 2006-05-02 08:49:01 -04:00
Andy Cedilnik 619ebce6cf ENH: Add NSIS options page for path selection, fix adding and removing from path, add welcome page and license page 2006-04-29 19:22:21 -04:00
Andy Cedilnik c09c3c6bfa ENH: Support for packaging source, several cleanups and more yeehaa... 2006-04-15 13:02:18 -04:00
Andy Cedilnik d342d51c0c ENH: Add ZIP generator and add support for including or excluding the toplevel directory 2006-04-02 11:20:58 -04:00
Andy Cedilnik 634343c3e8 STYLE: Fix some style issues 2006-03-10 13:06:26 -05:00
Andy Cedilnik e8affe5cc2 STYLE: Lots of formating to remove style problems 2006-03-08 16:33:39 -05:00
Andy Cedilnik 1d96f839d7 ENH: Several NSIS features 2006-02-23 09:38:40 -05:00
Andy Cedilnik 3cd5fd4e7b BUG: Remove debug and fix space between label and exec name 2006-02-16 15:55:16 -05:00
Andy Cedilnik b07ece004c ENH: More work on NSI to improve installing and uninstalling 2006-02-16 15:20:23 -05:00
Andy Cedilnik 21975ceda5 ENH: Better handling of executables on windows 2006-02-14 14:29:15 -05:00
Andy Cedilnik 581adffa86 COMP: Remove legacy code and fix sun build 2006-01-10 12:05:39 -05:00
Andy Cedilnik ebbe10193f ENH: Start working on CPack input file and cleanups 2006-01-02 17:28:20 -05:00
Andy Cedilnik bbf1c2d275 ENH: More improvements and add logging 2006-01-02 16:14:21 -05:00
Andy Cedilnik d0329919da ENH: Merge from the cpack branch 2006-01-01 23:21:05 -05:00