aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-05-09 21:43:10 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-05-09 22:43:10 +0300
commitc2ee82cc418d896935d4a96651ba9fa49a53b636 (patch)
tree84e86282e6e3f7550e6c7177739b978415d499c8 /docs/markdown/snippets
parentb0f90a793f5ef3e08aa51549773581dff862ddb7 (diff)
downloadmeson-c2ee82cc418d896935d4a96651ba9fa49a53b636.zip
meson-c2ee82cc418d896935d4a96651ba9fa49a53b636.tar.gz
meson-c2ee82cc418d896935d4a96651ba9fa49a53b636.tar.bz2
add support for "target_type: 'shared_module'" in build_target()
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/target-type-shared-module.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/markdown/snippets/target-type-shared-module.md b/docs/markdown/snippets/target-type-shared-module.md
new file mode 100644
index 0000000..e9364a1
--- /dev/null
+++ b/docs/markdown/snippets/target-type-shared-module.md
@@ -0,0 +1,16 @@
+## `target_type` in `build_targets` accepts the value 'shared_module'
+
+The `target_type` keyword argument in `build_target()` now accepts the
+value `'shared_module'`.
+
+The statement
+
+```meson
+build_target(..., target_type: 'shared_module')
+```
+
+is equivalent to this:
+
+```meson
+shared_module(...)
+```