On Apr 19, 2010, at 12:16 PM, Magnus Therning 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'?
Once a project has been configured, "cmake_install.cmake" contains support for it. I use the following command line to use it: make -f Makefile DESTDIR=/foo/bar/whatever install Regards, -- Rémy _______________________________________________ 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