summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponents
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix CPackComponents NSIS install rootBrad King2017-03-091-1/+1
| | | | | | Without `CPACK_VERBATIM_VARIABLES` a path with backslashes does not make it through `CPackConfig.cmake` properly. Just use forward slashes which NSIS seems to understand anyway.
* issues: update references to the CMake issue trackerBen Boeckel2016-08-151-2/+2
| | | | | References to specific comments are left as-is since comments were not migrated.
* Replace http://www.cmake.org URLs with https://cmake.orgBrad King2015-09-251-1/+1
| | | | | | | The latter is now the preferred URL for visiting cmake.org with a browser. Convert using the shell code: git ls-files -z | xargs -0 sed -i 's|http://www\.cmake|https://cmake|g'
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-7/+7
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* 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.