[CMake] cross-compiling / host compiling

Aeschbacher, Fabrice Fabrice.Aeschbacher at siemens.com
Wed Jun 2 10:06:16 EDT 2010


[Sorry if this message is posted twice, but first was before I subscribed to the list, so I'm not sure it was not rejected]


Hi,

[using cmake 2.8.1]

I have a project where almost every sub-dirs should be cross-compiled (arm-linux-gnuueabi-gcc), but one directory containing a tool which must be compiled on the host (gcc) first.

Can you give me a hint about the best way to achieve this with cmake?

Best regards,
Fabrice Aeschbacher


More information about the CMake mailing list