diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-13 23:38:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 23:38:51 +0300 |
commit | 3372c58ca633e2bc7d5b36bcd7e0d14d12e0f82a (patch) | |
tree | e0af9977e708170d136104e4eb056b6f9f31eda0 /docs/markdown/snippets | |
parent | 55cf399ff8b9c15300f26dd1a46045dda7d49f98 (diff) | |
parent | f5c9bf96b370832fc1a6e50771e2c171de0cd79d (diff) | |
download | meson-3372c58ca633e2bc7d5b36bcd7e0d14d12e0f82a.zip meson-3372c58ca633e2bc7d5b36bcd7e0d14d12e0f82a.tar.gz meson-3372c58ca633e2bc7d5b36bcd7e0d14d12e0f82a.tar.bz2 |
Merge pull request #7816 from mensinda/cmCross
cmake: Cross compilation support
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/cmake_cross.md | 8 |
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. |