[CMake] Looking for a way to do 'make install' to a destination

Mike Jackson mike.jackson at bluequartz.net
Mon Apr 19 07:43:00 EDT 2010


Run ccmake or cmake-GUI and set the cmake_ install_ prefix

-----
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       mike.jackson at bluequartz.net
BlueQuartz Software               Dayton, Ohio


On Apr 19, 2010, at 6:16, Magnus Therning <magnus at therning.org> wrote:

> It's some times useful to do an install rooted not at '/' but at some
> arbitrary location.  Is there some way of doing this with the GNU
> makefiles generated by cmake?
>
> Something like auto*'s 'make install DESTDIR=/where/I/want/it'?
>
> /M
>
> --
> Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
> magnus@therning.org          Jabber: magnus@therning.org
> http://therning.org/magnus         identi.ca|twitter: magthe
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list