On 1/17/2013 4:42 PM, Alexander Neundorf wrote:
Yes.
Or maybe you can do something with the ExternalProject support, to first do a
native build in an external project, and then use the generated executable in
the cross build.
I haven't tried this myself, but it might work.
I have been thinking that ExternalProject and cross-compiling might go very well together. You could do host and target builds, and cross populate caches and set toolchains automatically in the ExternalProject. I have not tried either, but ExternalProject did not exist when the original cross-compile stuff happened, and I think they could really complement each other.

--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
[email protected]
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
--

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

Reply via email to