Changeset View
Changeset View
Standalone View
Standalone View
autotests/html/meson.build.html
Show All 19 Lines | 19 | <span style="font-weight:bold;">if</span> x<span style="font-weight:bold;">+</span><span style="color:#b08000;">1</span> <span style="font-weight:bold;">==</span> <span style="color:#b08000;">2</span> <span style="font-weight:bold;">and</span> x<span style="font-weight:bold;">-</span><span style="color:#b08000;">1</span> <span style="font-weight:bold;">==</span> <span style="color:#b08000;">0</span> | |||
---|---|---|---|---|---|
20 | <span style="color:#0057ae;">message</span>(<span style="color:#bf0303;">'I can work in this universe!'</span>) | 20 | <span style="color:#0057ae;">message</span>(<span style="color:#bf0303;">'I can work in this universe!'</span>) | ||
21 | <span style="font-weight:bold;">endif</span> | 21 | <span style="font-weight:bold;">endif</span> | ||
22 | 22 | | |||
23 | subprojectresult <span style="font-weight:bold;">=</span> <span style="color:#0057ae;">subproject</span>(<span style="color:#bf0303;">'mysubprojectdir'</span>) | 23 | subprojectresult <span style="font-weight:bold;">=</span> <span style="color:#0057ae;">subproject</span>(<span style="color:#bf0303;">'mysubprojectdir'</span>) | ||
24 | 24 | | |||
25 | mysharedlib <span style="font-weight:bold;">=</span> <span style="color:#0057ae;">shared_library</span>(<span style="color:#bf0303;">'libraryname'</span>, sourcefiles, linkwith: subprojectresult.staticlib) | 25 | mysharedlib <span style="font-weight:bold;">=</span> <span style="color:#0057ae;">shared_library</span>(<span style="color:#bf0303;">'libraryname'</span>, sourcefiles, linkwith: subprojectresult.staticlib) | ||
26 | 26 | | |||
27 | <span style="color:#0057ae;">executable</span>(<span style="color:#bf0303;">'myprogram'</span>, [<span style="color:#bf0303;">'test.cpp'</span>], linkwith: mysharedlib) | 27 | <span style="color:#0057ae;">executable</span>(<span style="color:#bf0303;">'myprogram'</span>, [<span style="color:#bf0303;">'test.cpp'</span>], linkwith: mysharedlib) | ||
28 | | ||||
29 | <span style="color:#0057ae;">message</span>(<span style="color:#0057ae;">meson</span>.<span style="color:#0057ae;">source_root</span>()) | ||||
30 | <span style="color:#0057ae;">message</span>(unknown.source_root()) | ||||
31 | <span style="color:#0057ae;">message</span>(<span style="color:#bf0303;">'str'</span>.<span style="color:#0057ae;">join</span>(l)) | ||||
32 | | ||||
28 | </pre></body></html> | 33 | </pre></body></html> |