summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/feature_new.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-07-02 20:50:56 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-07-02 20:50:56 +0300
commit5d0821946404322152319f7f2b22b96477ac406e (patch)
treef238fa0696173e838585a17cf490e208cd14b825 /docs/markdown/snippets/feature_new.md
parent1c44afdeed636f90a1e2685cba4143eacde21887 (diff)
downloadmeson-0.47.0.tar.gz
Update everything for new release.0.47.0
Diffstat (limited to 'docs/markdown/snippets/feature_new.md')
-rw-r--r--docs/markdown/snippets/feature_new.md32
1 files changed, 0 insertions, 32 deletions
diff --git a/docs/markdown/snippets/feature_new.md b/docs/markdown/snippets/feature_new.md
deleted file mode 100644
index 94fb880aa..000000000
--- a/docs/markdown/snippets/feature_new.md
+++ /dev/null
@@ -1,32 +0,0 @@
-## Feature detection based on meson_version in project()
-
-Meson will now print a `WARNING:` message during configuration if you use
-a function or a keyword argument that was added in a meson version that's newer
-than the version specified inside `project()`. For example:
-
-```meson
-project('featurenew', meson_version: '>=0.43')
-
-cdata = configuration_data()
-cdata.set('FOO', 'bar')
-message(cdata.get_unquoted('FOO'))
-```
-
-This will output:
-
-```
-The Meson build system
-Version: 0.47.0.dev1
-Source dir: C:\path\to\srctree
-Build dir: C:\path\to\buildtree
-Build type: native build
-Project name: featurenew
-Project version: undefined
-Build machine cpu family: x86_64
-Build machine cpu: x86_64
-WARNING: Project targetting '>=0.43' but tried to use feature introduced in '0.44.0': configuration_data.get_unquoted()
-Message: bar
-Build targets in project: 0
-WARNING: Project specifies a minimum meson_version '>=0.43' which conflicts with:
- * 0.44.0: {'configuration_data.get_unquoted()'}
-```