Warning, /frameworks/syntax-highlighting/autotests/input/meson.build is written in an unsupported language. File is not indexed.
0001 # Unit test for Meson syntax highlight. License: LGPL 0002 project('projectname', 'cpp') 0003 0004 0005 0006 sourcefiles = ['a.cpp', 'b.cpp'] 0007 0008 foreach sourcefile : sourcefiles 0009 message('this is a source file: ' + sourcefile) 0010 endforeach 0011 0012 x=1 0013 if x+1 == 2 and x-1 == 0 0014 message('I can work in this universe!') 0015 endif 0016 0017 subprojectresult = subproject('mysubprojectdir') 0018 0019 mysharedlib = shared_library('libraryname', sourcefiles, linkwith: subprojectresult.staticlib) 0020 0021 executable('myprogram', ['test.cpp'], linkwith: mysharedlib) 0022 0023 message(meson.source_root()) 0024 message(unknown.source_root()) 0025 message('str'.join(l)) 0026 0027 message(' 0028 \a 0029 \x2 0030 \x12 0031 \x12 0032 \x123 0033 \1 0034 \12 0035 \123 0036 \1234 0037 ')