From f5c9bf96b370832fc1a6e50771e2c171de0cd79d Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Mon, 5 Oct 2020 20:45:38 +0200 Subject: cmake: Add cross docs --- docs/markdown/snippets/cmake_cross.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/markdown/snippets/cmake_cross.md (limited to 'docs/markdown/snippets') 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. -- cgit v1.1