Debian Codegraph @

test cases/common/165 get project license/meson.build

raw
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