<div dir="ltr"><div dir="ltr">What first cross my mind with '"utilities" needed for build' is when you have to build the cross-compiler in the first place before you build anything for the target.<br>If so how do you handle verification of the tool-chain can build a working executable or library?<br>Normally that is done at the time before project files are generated but it has to either be skipped or delayed because the toolchain doesn't even exist because it has to be built first by the host tools. For tool-chains that already exist on the host machine then add_toolchain() command is when you can test and verify its functionality?<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So if you want to build both for host and cross toolchain you'll have to explicitely <br>add_executable/library(MyLibrary TOOLCHAIN DEFAULT)<br>add_executable/library(MyLibrary TOOLCHAIN CrossToolchain)<br></blockquote></blockquote><div><br></div><div>Do these targets automatically get separate binary directories so that the outputs don't overwrite each other?</div><div><br></div><div> I assume this feature is limited only to ninja or makefile generators?<br></div><div><br></div><div><br></div></div></div>