diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-10-30 22:49:17 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-02 19:49:14 +0200 |
commit | b3fe4a0a18edbd85c3a9e119912c968960f99574 (patch) | |
tree | b561e24dbc568df561ec0ca90a75f16483428bcc /docs/markdown/FAQ.md | |
parent | 760b8633bc350b15ae7f67fe1d78ed91179bbb79 (diff) | |
download | meson-b3fe4a0a18edbd85c3a9e119912c968960f99574.zip meson-b3fe4a0a18edbd85c3a9e119912c968960f99574.tar.gz meson-b3fe4a0a18edbd85c3a9e119912c968960f99574.tar.bz2 |
Add option for controlling RTTI.
Diffstat (limited to 'docs/markdown/FAQ.md')
-rw-r--r-- | docs/markdown/FAQ.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/FAQ.md b/docs/markdown/FAQ.md index 06379ae..7625361 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. |