I'm doing exactly that though. To compile for iOS for example, create a separate output directory with `target_os="ios" target_cpu="arm64"`. You can see a few more examples here
https://skia.org/user/buildUnfortunately, C++ libraries are a bit harder to use than other languages, hopefully the modules proposal will make this a lot easier.