summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-10-10 14:52:44 +0300
committerJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-10-14 15:48:55 +0300
commit71a204f878f76e684f8740c2e91789d5699e6c43 (patch)
treeb2a4f8031174b8e31dc4a5190c69cceda396dc5b /docs
parentbed60547bd08a3df58f23431c5452d73d24940e6 (diff)
downloadmeson-71a204f878f76e684f8740c2e91789d5699e6c43.tar.gz
Generate Android cross files with env2mfile.
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/android-crossfiles.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/markdown/snippets/android-crossfiles.md b/docs/markdown/snippets/android-crossfiles.md
new file mode 100644
index 000000000..04553888b
--- /dev/null
+++ b/docs/markdown/snippets/android-crossfiles.md
@@ -0,0 +1,15 @@
+## Android cross file generator
+
+The `env2mfile` command now supports a `--android` argument. When
+specified, it tells the cross file generator to create cross files for
+all Android toolchains located on the current machines.
+
+This typically creates many files, so the `-o` argument specifies the
+output directory. A typical use case goes like this:
+
+```
+meson env2mfile --android -o androidcross
+meson setup --cross-file \
+ androidcross/android-29.0.14033849-android35-aarch64-cross.txt \
+ builddir
+```