summaryrefslogtreecommitdiff
path: root/docs/markdown/FAQ.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-10-30 22:49:17 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-10-30 22:49:17 +0200
commitff74258389ed75e11dc58b34a0d384f62b07822e (patch)
tree1b3eff240e77840857fcc96e3c910fb5f4eb8f80 /docs/markdown/FAQ.md
parentaca3bff4fe4ecdf585d123f181987bc0696a7b31 (diff)
downloadmeson-cppnoexcept.tar.gz
Add option for controlling RTTI.cppnoexcept
Diffstat (limited to 'docs/markdown/FAQ.md')
-rw-r--r--docs/markdown/FAQ.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/FAQ.md b/docs/markdown/FAQ.md
index 06379aec7..7625361cf 100644
--- a/docs/markdown/FAQ.md
+++ b/docs/markdown/FAQ.md
@@ -489,3 +489,14 @@ libbar = library('bar', sources: libbar_sources, dependencies: libfoo_dep)
A good example of a generator that outputs both sources and headers is
[`gnome.mkenums()`](https://mesonbuild.com/Gnome-module.html#gnomemkenums).
+
+## How do I disable exceptions and RTTI in my C++ project?
+
+With the `cpp_eh` and `cpp_rtti` options. A typical invocation would
+look like this:
+
+```
+meson -Dcpp_eh=none -Dcpp_rtti=false <other options>
+```
+
+The RTTI option is only available since Meson version 0.53.0.