The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

88 lines
1.4 KiB

project(
'indentation',
default_options : {
'buildtype' : 'release',
'default_library' : 'shared',
'prefer_static' : false,
'unity' : 'off',
},
meson_version : '>= 1.5.0',
version : '1.2.3',
)
a = [
1,
2,
3,
[
4,
5,
6,
[
7,
8,
9,
[
10, # 10
11, # 11
12, # 12
],
13,
14,
15,
],
],
]
d = {}
if meson.project_version().version_compare('>1.2')
if meson.version().version_compare('>1.0')
foreach i : a
e = {
'a' : 'a',
'b' : 'b',
'c' : 'c',
'd' : [
1,
2,
3,
{
'e' : 'e',
'f' : 'f',
'g' : 'g',
'h' : {
'i' : (
# a
1
# b
+
# c
2
),
'j' : [
1, # 1
2, # 2
3, # 3
],
},
},
],
}
endforeach
endif
endif
subproject(
'@0@-@1@-@2@-@3@'.format(
meson.project_name(),
meson.project_version(),
meson.project_build_root(),
meson.project_source_root(),
),
default_options : [
'aaaaaaaa=bbbbbbbbbb',
'cccccccccccc=ddddddddddddd',
'eeeeeeeeeeeeeee=fffffffffffff',
'gggggggggggggggggggggg=hhhhhhhhhhhhhhhhhhhh',
],
)