aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-10-05 20:45:38 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-10-13 17:04:20 +0200
commitf5c9bf96b370832fc1a6e50771e2c171de0cd79d (patch)
tree92843a5c5e39e9edf1c3b6f83b43a4c66d7d1844 /docs/markdown/snippets
parentb27af7e4654c3b2fe8c68a560c99fbffbd22789b (diff)
downloadmeson-f5c9bf96b370832fc1a6e50771e2c171de0cd79d.zip
meson-f5c9bf96b370832fc1a6e50771e2c171de0cd79d.tar.gz
meson-f5c9bf96b370832fc1a6e50771e2c171de0cd79d.tar.bz2
cmake: Add cross docs
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/cmake_cross.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/cmake_cross.md b/docs/markdown/snippets/cmake_cross.md
new file mode 100644
index 0000000..249c95f
--- /dev/null
+++ b/docs/markdown/snippets/cmake_cross.md
@@ -0,0 +1,8 @@
+## CMake subproject cross compilation support
+
+Meson now supports cross compilation for CMake subprojects. Meson will try to
+automatically guess most of the required CMake toolchain variables from existing
+entries in the cross and native files. These variables will be stored in an
+automatically generate CMake toolchain file in the build directory. The
+remaining variables that can't be guessed can be added by the user in the
+new `[cmake]` cross/native file section.