[CMake] Cross Compilang and NSIS

Andreas Schneider mail at cynapses.org
Tue Mar 10 09:13:54 EDT 2009


On Monday 09 March 2009 12:01:23 Hendrik Sattler wrote:
> Andreas Schneider schrieb:
> > My problem is that cmake thinks that it is a windows version...
>
> No, it still knows that it runs on Linux and can use the native tools if
> you tell it so in the toolchain file.

Strange.

>
> > So you successfully *cross compile* with mingw for windows under linux
> > and successfully create NSIS installers with cpack?
>
> Yes, IIRC, doing that to cross-compile openobex for win32 using the
> mingw packages on a Debian host.
> That depends on your setting of CMAKE_FIND_ROOT_PATH_MODE_PROGRAM to
> NEVER in the toolchain file.

It is set to NEVER. maybe I have a bug in my CPackConfig.cmake could you show 
me yours?


	-- andreas

-- 
cybernetic synapses - http://www.cynapses.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090310/76459bc1/attachment.pgp>


More information about the CMake mailing list