From fd653d070d7d498ca8bb8a2430ed128d6239601d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabr=C3=ADel=20Arth=C3=BAr=20P=C3=A9tursson?= 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/markdown') diff --git a/docs/markdown/Release-notes-for-0.42.0.md b/docs/markdown/Release-notes-for-0.42.0.md index fe4af75..a19db49 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.1