| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Cast sprintf uid and gid arguments to match the type expected by their
"%-6u" format strings.
|
|
|
|
|
|
|
|
|
|
| |
Only check a release version for the minimum required version. If NSIS
returns a CVS build version string (as when built by Macports), skip the
version check altogether and assume a sufficiently new version. Also
correctly handle the case where the version check fails and the
CPACK_TOPLEVEL_DIRECTORY option is not set.
Co-Author: Graham Menhennitt <graham@menhennitt.com.au>
|
|
|
|
|
|
|
| |
Remove the old "nocwd" behavior that attempts to provide the "--help"
output when no working directory is available. The long help output
scrolls the real error message out of typical terminal sizes. Also
execute as little code as possible when no working directory exists.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
...revealed by the Nightly dashboard runs last night.
Use "size_t" instead of "std::size_t" so that it compiles with
Visual Studio 6, too.
Fix warnings about shadowed "tmp" local variable and ordering of
member variables vs. lines of code in the constructor initializer
list.
|
|
|
|
|
| |
Fix int vs. size_t conversion warnings that only showed up in
the 64-bit builds.
|
|
|
|
|
|
| |
Use same technique here with UuidToString as already found in
cmGlobalVisualStudio7Generator::CreateGUID to avoid using a type
that is not defined on older systems... (VS 7.0 and Borland)
|
|
|
|
|
|
|
|
|
|
| |
This new CPack generator produces an *.msi installer file.
Requires having the WiX Toolset installed in order to work
properly.
Download the WiX Toolset installer "WiX36.exe" here:
http://wix.codeplex.com/releases/view/93929
|
|\
| |
| |
| |
| | |
ddc0520 Always use the auto_ptr from cmsys.
|
| |
| |
| |
| |
| |
| | |
This is for consistency throughout cmake. The cmsys version exists
becaues uses of auto_ptr types as return types does not work with
some implementations in ancient compilers.
|
|/ |
|
|\
| |
| |
| |
| | |
b6f7881 Remove seemingly bogus duplicate CPACK_PACKAGE_FILE_NAME call.
|
| |
| |
| |
| | |
Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
|
|/
|
|
| |
Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
|
|\
| |
| |
| |
| | |
e7e2694 CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE"
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
4374441 PackageMaker: Enable postflight script in component mode (#12375)
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, setting CPACK_POSTFLIGHT_SCRIPT had no effect in
component mode, when CPACK_COMPONENTS_ALL was set.
In component mode, a .mpkg is created that contains multiple .pkg's.
Because postflight scripts only work in a .pkg, add another .pkg to the
.mpkg and put the postflight script in that.
This is the same approach taken by the PackageMaker GUI when adding
a postflight script to a metapackage.
|
|\ \
| | |
| | |
| | |
| | | |
14561e3 Fix for possible Rez errors when creating dmg.
|
| |/
| |
| |
| |
| | |
Rez appears to have a limit on the length of lines it processes.
Break up long lines from a license file to avoid the error.
|
|\ \
| |/
|/|
| |
| | |
668dda0 CPack: Add automatic detection of the Unicode makensis (#9629)
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
ddec053 Make CPACK_SET_DESTDIR work with archive generator + component-based packaging
|
| |/
| |
| |
| | |
Fix bug #13004. The patch is from Stanislaw Szymczyk.
|
|\ \
| | |
| | |
| | |
| | | |
2aad678 Document CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY and fix some typo.
|
| |/ |
|
|/
|
|
| |
This fixes bug #0013490
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/ \+$//'
|
|\
| |
| |
| |
| |
| |
| | |
b47cffa CPack: Use bin subdir when looking for dpkg and rpmbuild
a8c659c Find dpkg and rpmbuild in usual Fink and MacPort paths
848f220 Do not run cpack at CMake time it is not available.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
05a8630 Do not provide defaul value for CPACK_PACKAGE_DIRECTORY if found in config.
|
| |/
| |
| |
| | |
This fixes bug #0012906.
|
|/
|
|
|
|
|
|
| |
In 2.8.7 running cpack with no arguments would run the packaging iff
a CPackConfig.cmake file is found whereas
In 2.8.8 it displays the help.
This commit restore the 2.8.7.
We should add a test for this but this is not included in this commit.
|
|
|
|
|
|
| |
This was a pull request: https://github.com/Kitware/CMake/pull/5
Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
|
|\
| |
| |
| |
| |
| | |
801ea70 Calm down Borland compiler warning about "always true"
2a34b57 CPack allow RPM and DEB generator to be used on OSX.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
More generally add the check for possible generator "activation" at
runtime depending on a generator specific check.
The dynamic behavior is currently implemented only for MacOS
and should be fully backward compatible for other system.
Inspired-By Tom Hughes <tomtheengineer@gmail.com>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
4986d52 Use CPACK_xxx and CMAKE_xxx in a consistent way.
f90223c Fix KWStyle warning
47f0dbd CPack add necessary check to detect/warns/error on ABSOLUTE DESTINATION
6ba055b CPack add easy possibility to warn about CPACK_SET_DESTDIR
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
CMAKE_xxx vars are now used in the CMake-generated cmake_install.cmake
script while CPACK_xxx equivalent vars are used from within CPack.
CPack is responsible for getting/forwarding definitions of
CPACK_xxxx var corresponding to CMAKE_xxxx when invoking
CMake-generated install scripts.
As a consequence:
CMAKE_ABSOLUTE_DESTINATION_FILES
CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION
CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION
may be used from outside CPack as well.
e.g.
cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=1 -P cmake_install.cmake
works as expected.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The [usually] wrong usage of absolute DESTINATION in INSTALL rules
keeps popping-up on the ML. We shall have some way to:
1) easily detect it.
2) forbids this for some CPack generator like NSIS
In fact it should certainly be forbidden for *any* generators
when used on Windows but we may implements that on top of the current
patch.
The patch ask the task to the generated cmake_install.cmake scripts.
Those scripts are a little bit more complicated with that but
iff there are absolute DESTINATION. This cost nothing if relative
DESTINATION are used.
Two new vars are introduced (and documented to handle that):
CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION
and
CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION
|
| | |
| | |
| | |
| | | |
CPackNSIS will only warn but sooner or later it should error out
|
|/ / |
|
|/ |
|
|\
| |
| |
| |
| | |
805c1b2 Handle CPACK_MONOLITHIC_INSTALL in some rare use cases.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For example, when CPACK_<GEN>_COMPONENT_INSTALL and
CPACK_MONOLITHIC_INSTALL are both set. Previously, this
combination of variable settings produced an error without
any explanation. Now, in this case CPACK_MONOLITHIC_INSTALL wins
without trouble.
This is useful for when e.g. CPACK_ARCHIVE_COMPONENT_INSTALL is
globally on and one wants MONOLITHIC install for STGZ (but not
other generators). The same behavior may be obtained by re-setting
CPACK_ARCHIVE_COMPONENT_INSTALL to 0 but in any case the
'both set' case should have been handled without error.
|
|\ \
| | |
| | |
| | |
| | | |
4576f40 CPack STGZ put execute permission on all packages files (component case)
|
| |/ |
|