# Unit test for Meson syntax highlight. License: LGPL
project('projectname', 'cpp')



sourcefiles = <beginfold id='1'>[</beginfold id='1'>'a.cpp', 'b.cpp'<endfold id='1'>]</endfold id='1'>

foreach sourcefile : sourcefiles
    message('this is a source file: ' + sourcefile)
endforeach

x=1
if x+1 == 2 and x-1 == 0
    message('I can work in this universe!')
endif

subprojectresult = subproject('mysubprojectdir')

mysharedlib = shared_library('libraryname', sourcefiles, linkwith: subprojectresult.staticlib)

executable('myprogram', <beginfold id='1'>[</beginfold id='1'>'test.cpp'<endfold id='1'>]</endfold id='1'>, linkwith: mysharedlib)

message(meson.source_root())
message(unknown.source_root())
message('str'.join(l))

message('
\a
\x2
\x12
\x12
\x123
\1
\12
\123
\1234
')
