[CMake] Why CPack does not _ALWAYS_ use DESTDIR?

David Cole david.cole at kitware.com
Tue May 13 06:52:14 EDT 2008


On Windows, where you have DESTDIR=C:/MyDir and an "absolute" install path
of "C:/Program Files/Whatever"....

"C:/MyDir/C:/Program Files/Whatever" is probably going to make somebody a
bit grumpy...


Big picture perspective needed. Do not hastily change default behaviors.


On Tue, May 13, 2008 at 3:33 AM, Eric Noulard <eric.noulard at gmail.com>
wrote:

> 2008/5/13, Bill Hoffman <bill.hoffman at kitware.com>:
> > Eric Noulard wrote:
> >
>
> > >
> >  Because for some projects DESTDIR may not work, and the default has
> been
> > set.  To change it would break existing projects.
>
> Sorry about being pushy but in which kind of "project"
> DESTDIR may not work?
>
> More preciselty which CMake command would make
>
> DESTDIR="/whatever/writeable_path" make install
>
> fail?
>
> Do you know any existing project I may look at in order to understand?
>
> At least on UNIX platform I cannot see how this could be broken?
> May be there is a WIN32 issue I do not see?
>
> --
> Erk
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080513/f3c8364a/attachment.htm>


More information about the CMake mailing list