mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
feat(meson): add indents.scm
This commit is contained in:
parent
d198a75e2c
commit
6548bb64c1
10 changed files with 172 additions and 0 deletions
34
tests/indent/meson/meson.build
Normal file
34
tests/indent/meson/meson.build
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
project('simple', 'c')
|
||||
|
||||
src = [
|
||||
'source1.c',
|
||||
'source2.c',
|
||||
]
|
||||
|
||||
if 1 == 2
|
||||
if meson.is_cross_build()
|
||||
src += [
|
||||
'src1.c',
|
||||
'src2.c']
|
||||
endif
|
||||
endif
|
||||
|
||||
inc = include_directories([
|
||||
'dir1/',
|
||||
])
|
||||
|
||||
|
||||
dep = declare_dependency(
|
||||
sources : src,
|
||||
include_directories : inc,
|
||||
)
|
||||
|
||||
executable('myexe', src,
|
||||
include_directories : [
|
||||
'd1',
|
||||
[
|
||||
'd2',
|
||||
'd3',
|
||||
]
|
||||
],
|
||||
dependencies: dep)
|
||||
Loading…
Add table
Add a link
Reference in a new issue