From 1670fca36fcb1a4fe4780e96731e954515501a35 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Wed, 14 Aug 2019 16:35:29 -0700 Subject: Add blocks dependency This allows easily enabling the blocks clang extension. --- docs/markdown/Dependencies.md | 10 ++++++++++ docs/markdown/Release-notes-for-0.52.0.md | 4 ++++ 2 files changed, 14 insertions(+) (limited to 'docs') diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index 0cdd353da..9672887fa 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -246,6 +246,16 @@ dep = dependency('appleframeworks', modules : 'foundation') These dependencies can never be found for non-OSX hosts. +## Blocks + +Enable support for Clang's blocks extension. + +```meson +dep = dependency('blocks') +``` + +*(added 0.52.0)* + ## Boost Boost is not a single dependency but rather a group of different diff --git a/docs/markdown/Release-notes-for-0.52.0.md b/docs/markdown/Release-notes-for-0.52.0.md index c36758a49..de317df9e 100644 --- a/docs/markdown/Release-notes-for-0.52.0.md +++ b/docs/markdown/Release-notes-for-0.52.0.md @@ -9,3 +9,7 @@ short-description: Release notes for 0.52.0 Added the function `is_disabler(var)`. Returns true if a variable is a disabler and false otherwise. + +## Add blocks dependency + +Add `dependency('blocks')` to use the Clang blocks extension. -- cgit v1.2.3