diff options
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. |