Files
CMake/Source
Eric NOULARD 47f0dbd70b CPack add necessary check to detect/warns/error on ABSOLUTE DESTINATION
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
2012-05-14 23:29:42 +02:00
..
2012-03-19 09:29:06 -04:00
2012-03-19 23:05:21 +01:00
2012-05-14 00:01:03 -04:00
2011-09-15 16:20:33 +02:00
2011-10-23 22:18:08 +02:00
2011-10-23 22:18:08 +02:00
2012-05-01 14:09:59 -04:00
2012-05-01 14:09:59 -04:00
2012-02-02 23:40:21 +00:00
2012-02-21 15:33:31 -05:00