[CMake] Cross compil and DESTDIR
Claus Klein
claus.klein at arcormail.de
Thu Jan 7 16:15:37 EST 2010
Hi Paul,
yes, I do it in this way and it works good.
Only if the target system is Windows, there may be a Problem if prefix
is something like "C:/programs" ...
But in most embedded unix like systems, there is no problem.
Claus
On 07.01.2010, at 21:30, Paul Chavent wrote:
> Hi cmake mailing list !
>
> When i cross compile with autotools, i used to do
> $ ./configure --prefix=/usr/local ...
> $ make install DESTDIR=${SYSROOT}
>
> Now, with cmake i do
> $ cmake source_dir -DCMAKE_INSTALL_PREFIX=/usr/local ...
> $ make install DESTDIR=${SYSROOT}
>
> Is it a good practice ?
> What is the right way for doing a compilation for a foreign
> (embedded) filesystem ?
>
>
> Thank for your help.
>
> Paul.
> _______________________________________________
> 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