aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/swift-module-name.md
blob: 689dd84f8ae2c2ec2694656a3f3ec2a5e0a2a185 (plain)
1
2
3
4
5
6
7
8
9
## Explicitly setting Swift module name is now supported

It is now possible to set the Swift module name for a target via the
*swift_module_name* target kwarg, overriding the default inferred from the
target name.

```meson
lib = library('foo', 'foo.swift', swift_module_name: 'Foo')
```