| 1 |
project( |
| 2 |
'indentation', |
| 3 |
default_options: { |
| 4 |
'buildtype': 'release', |
| 5 |
'default_library': 'shared', |
| 6 |
'prefer_static': false, |
| 7 |
'unity': 'off', |
| 8 |
}, |
| 9 |
meson_version: '>= 1.5.0', |
| 10 |
version: '1.2.3', |
| 11 |
) |
| 12 |
|
| 13 |
a = [ |
| 14 |
1, |
| 15 |
2, |
| 16 |
3, |
| 17 |
[ |
| 18 |
4, |
| 19 |
5, |
| 20 |
6, |
| 21 |
[ |
| 22 |
7, |
| 23 |
8, |
| 24 |
9, |
| 25 |
[ |
| 26 |
10, # 10 |
| 27 |
11, # 11 |
| 28 |
12, # 12 |
| 29 |
], |
| 30 |
13, |
| 31 |
14, |
| 32 |
15, |
| 33 |
], |
| 34 |
], |
| 35 |
] |
| 36 |
d = {} |
| 37 |
|
| 38 |
if meson.project_version().version_compare('>1.2') |
| 39 |
if meson.version().version_compare('>1.0') |
| 40 |
foreach i : a |
| 41 |
e = { |
| 42 |
'a': 'a', |
| 43 |
'b': 'b', |
| 44 |
'c': 'c', |
| 45 |
'd': [ |
| 46 |
1, |
| 47 |
2, |
| 48 |
3, |
| 49 |
{ |
| 50 |
'e': 'e', |
| 51 |
'f': 'f', |
| 52 |
'g': 'g', |
| 53 |
'h': { |
| 54 |
'i': ( |
| 55 |
# a |
| 56 |
1 # b |
| 57 |
# c |
| 58 |
+ 2 |
| 59 |
), |
| 60 |
'j': [ |
| 61 |
1, # 1 |
| 62 |
2, # 2 |
| 63 |
3, # 3 |
| 64 |
], |
| 65 |
}, |
| 66 |
}, |
| 67 |
], |
| 68 |
} |
| 69 |
endforeach |
| 70 |
endif |
| 71 |
endif |