From b3fe4a0a18edbd85c3a9e119912c968960f99574 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 30 Oct 2019 22:49:17 +0200 Subject: Add option for controlling RTTI. --- docs/markdown/FAQ.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/markdown/FAQ.md') 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 +``` + +The RTTI option is only available since Meson version 0.53.0. -- cgit v1.2.3