aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/pkgconfig_dataonly.md
blob: 8a2564c182c31745c9822e3fc97a704e9e82eb26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## Introduce dataonly for the pkgconfig module
This allows users to disable writing out the inbuilt variables to
the pkg-config file as they might actualy not be required.

One reason to have this is for architecture-independent pkg-config
files in projects which also have architecture-dependent outputs.

```
pkgg.generate(
  name : 'libhello_nolib',
  description : 'A minimalistic pkgconfig file.',
  version : libver,
  dataonly: true
)
```