summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponents
Commit message (Collapse)AuthorAgeFilesLines
* CPack: Add CPACK_NSIS_INSTALL_ROOT variable (#9148)David Cole2011-01-111-0/+3
| | | | | | | | | | Control the root directory of the default directory presented to the end user of an NSIS installer by a CPack variable. Previously, the value used in the NSIS script was $PROGRAMFILES, which is equivalent to the "ProgramFiles" environment variable. That default value is still the same, but now a project may override the value by setting this new variable.
* CPack: Detect more URLs in CPACK_NSIS_MENU_LINKS (#10644)David Cole2011-01-071-0/+10
| | | | | | | | | | | | | | | | | | | | | | Previously, only strings containing "http:" qualified as URLs when found in CPACK_NSIS_MENU_LINKS. Now, we use a regex to detect strings beginning with any of the following: ftp:// ftps:// http:// https:// news:// mailto: This commit also moves the caller of CreateMenuLinks outside the "if (cpackPackageExecutables)" block, allowing clients to use CPACK_NSIS_MENU_LINKS without also having CPACK_PACKAGE_EXECUTABLES defined. That bit of this commit fixes the remainder of the issue described in http://public.kitware.com/Bug/view.php?id=7828 Also, added a set(CPACK_NSIS_MENU_LINKS ...) to the CPackComponents test to enable verifying that all of this actually works.
* Avoid failure of CPackComponents test on dash16 and dash17 since makensis ↵David Cole2009-10-281-1/+9
| | | | was installed on those machines to increase coverage. Do not add install rules with absolute paths when makensis is going to be used to build an installer.
* BUG: Fix for issue #7470. Allow spaces in the path names of installed files ↵David Cole2009-01-202-0/+17
| | | | 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: Use settings for CPackComponents test to make it fail if the recent fix ↵David Cole2008-10-291-1/+28
| | | | of cmCPackGenerator.cxx revision 1.16 ever encounters another regression.
* ENH: Use new cpack_add_component macro (and friends) from the ↵David Cole2008-07-081-48/+28
| | | | CPackComponents test. Thanks again to Doug Gregor!
* BUG: Be more specific about the expected file name of the installer. (So we ↵David Cole2008-06-181-2/+2
| | | | don't get mylibapp.exe in our GLOB results in make based build trees where the built exes end up in the same directory as the CPack installers...)
* ENH: Add patch for feature request #6847 - CPack components for NSIS and ↵David Cole2008-06-175-0/+154
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.