☰
Debian Codegraph
@
1.12.1-2
1.12.1-1
1.12.0-3
1.12.0-2
1.11.1-3
1.11.1-2
/
/
test cases
/
common
/
165 get project license
/
meson.build
☽
☼
test cases/common/165 get project license/meson.build
code
plain
raw
Apache-2.0
2012-2021 The Meson development team
debian/copyright
1
project('bar', 'c', license: 'Apache-2.0')
2
3
executable('bar', 'bar.c')
4
5
license = meson.project_license()[0]
6
if license != 'Apache-2.0'
7
error('The license should be Apache-2.0, but it is: ' + license)
8
endif