aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/175 get project license/meson.build
blob: 37303e372a6efff21ac4d0ba9ca1e778549e39f8 (plain)
1
2
3
4
5
6
7
8
project('bar', 'c', license: 'Apache')

executable('bar', 'bar.c')

license = meson.project_license()[0]
if license != 'Apache'
    error('The license should be Apache, but it is: ' + license)
endif