From c2ee82cc418d896935d4a96651ba9fa49a53b636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 9 May 2019 21:43:10 +0200 Subject: add support for "target_type: 'shared_module'" in build_target() --- docs/markdown/snippets/target-type-shared-module.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/markdown/snippets/target-type-shared-module.md (limited to 'docs/markdown/snippets') 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(...) +``` -- cgit v1.1