2018-07-31, 21:18
>I'm not a cmake expert (or even a compilation expert, I mostly just push buttons and hope it works!)
+1
Push button, read logs, try to make sense of cryptic error messages, google it, try to fix, rinse and repeat
>Somehow we need the host build to use the correct $TOOLCHAIN path(s).
Ahh, yes, I stumbled into this long ago.
My solution was to use CMAKE_TOOLCHAIN_FILE for host too, with the right values and pathes of course.
As further improvement to this I dynamically generate CMAKE_TOOLCHAIN_FILE and toolchain.meson hints with a python script, as my build-crap-system is heavily python-based it was trivial to do.
+1
Push button, read logs, try to make sense of cryptic error messages, google it, try to fix, rinse and repeat
>Somehow we need the host build to use the correct $TOOLCHAIN path(s).
Ahh, yes, I stumbled into this long ago.
My solution was to use CMAKE_TOOLCHAIN_FILE for host too, with the right values and pathes of course.
As further improvement to this I dynamically generate CMAKE_TOOLCHAIN_FILE and toolchain.meson hints with a python script, as my build-crap-system is heavily python-based it was trivial to do.