[CMake] Crosscompilation woes

Robert Bielik Robert.Bielik at dirac.com
Mon Oct 10 04:29:11 EDT 2016


Hi all,

I am crosscompiling a project for arm (on linux i686), and use codegeneration tools within the project (together with add_custom_command). Of course, this will fail, since the tools are compiled for arm also and thus won't execute on my host system. So the tools need to be compiled for i686 whilst the rest for arm. I'm sure this can be handled by CMake although haven't done it before so would appreciate pointers :)

Regards
/Robert



More information about the CMake mailing list