aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2019-05-08 17:22:56 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2020-02-09 16:01:34 +0000
commit7a159ff1e1e947f20a017bbc8e89c1701a9d7098 (patch)
treea1a6d10b43d4de46e139ae25e7f8956f69b57f14 /docs/markdown/snippets
parent31d89a4ed24987658b0caf8b7fe1e1c0df01ecfb (diff)
downloadmeson-7a159ff1e1e947f20a017bbc8e89c1701a9d7098.zip
meson-7a159ff1e1e947f20a017bbc8e89c1701a9d7098.tar.gz
meson-7a159ff1e1e947f20a017bbc8e89c1701a9d7098.tar.bz2
Add add_languages(native:)
v2: Retain not using logical-and, to avoid short-circuiting side-effects of add_languages()
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/native_compiler_not_required.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/native_compiler_not_required.md b/docs/markdown/snippets/native_compiler_not_required.md
new file mode 100644
index 0000000..0847b2b
--- /dev/null
+++ b/docs/markdown/snippets/native_compiler_not_required.md
@@ -0,0 +1,5 @@
+## Native (build machine) compilers not always required
+
+`add_languages()` gained a `native:` keyword, indicating if a native or cross
+compiler is to be used. Currently, for backwards compatibility, if the keyword
+is absent, that means both are used.