[CMake] Building a tool to run on the host when cross-compiling
Bill Hoffman
bill.hoffman at kitware.com
Thu Jan 17 17:19:18 EST 2013
On 1/17/2013 5:01 PM, Christopher Lansing wrote:
>
> It definitely sounds like an interesting and promising combination. The
> one snag I hit when I tried that was that the project I tried to use
> through ExternalProject seemed to automatically pick up the toolchain
> that I'd specified for the main project. If that's the way it works,
> then I'm probably stuck.
>
> If there's a way to make it not do that, then I probably missed an
> option somewhere. I'll have to play around with it some more and see if
> I can find a way to make that work.
You should be able to force any values you need into the cache of the
sub-projects and make it do whatever you need it to.
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
More information about the CMake
mailing list