parent
374ffe9f86
commit
11c812769a
8 changed files with 28 additions and 8 deletions
@ -0,0 +1,7 @@ |
||||
project('suboptions', 'c') |
||||
|
||||
subproject('subproject') |
||||
|
||||
if not get_option('opt') |
||||
error('option unset when it should be set') |
||||
endif |
@ -0,0 +1 @@ |
||||
option('opt', type : 'boolean', value : true) |
@ -0,0 +1,5 @@ |
||||
project('subproject', 'c') |
||||
|
||||
if get_option('opt') |
||||
error('option unset when it should be set.') |
||||
endif |
@ -0,0 +1 @@ |
||||
option('opt', type : 'boolean', value : false) |
Loading…
Reference in new issue