From fd653d070d7d498ca8bb8a2430ed128d6239601d Mon Sep 17 00:00:00 2001 From: Gabríel Arthúr Pétursson Date: Sat, 8 Jul 2017 02:53:26 +0000 Subject: Make base options accessible via get_option() --- docs/markdown/Release-notes-for-0.42.0.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/markdown/Release-notes-for-0.42.0.md b/docs/markdown/Release-notes-for-0.42.0.md index fe4af7516..a19db4981 100644 --- a/docs/markdown/Release-notes-for-0.42.0.md +++ b/docs/markdown/Release-notes-for-0.42.0.md @@ -37,6 +37,13 @@ pkg.generate(libraries : libs, extra_cflags : '-Dfoo' ) ``` +## Base options accessible via get_option() + +Base options are now accessible via the get_option() function. +```meson +uses_lto = get_option('b_lto') +``` + ## Allow crate type configuration for Rust compiler Rust targets now take an optional `rust_crate_type` keyword, allowing -- cgit v1.2.3