mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
meson build support
This commit is contained in:
parent
fb85fdec5c
commit
db16a0a853
57 changed files with 1787 additions and 46 deletions
19
tests/fe-common/core/meson.build
Normal file
19
tests/fe-common/core/meson.build
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
test_test_formats = executable('test-formats',
|
||||
files(
|
||||
'test-formats.c',
|
||||
),
|
||||
link_with : [
|
||||
libconfig_a,
|
||||
libcore_a,
|
||||
libfe_common_core_a,
|
||||
],
|
||||
c_args : [
|
||||
'-D' + 'PACKAGE_STRING' + '="' + 'fe-common/core' + '"',
|
||||
],
|
||||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
dependencies : dep
|
||||
)
|
||||
test('test-formats test', test_test_formats,
|
||||
args : ['--tap'],
|
||||
protocol : 'tap')
|
||||
1
tests/fe-common/meson.build
Normal file
1
tests/fe-common/meson.build
Normal file
|
|
@ -0,0 +1 @@
|
|||
subdir('core')
|
||||
30
tests/fe-text/meson.build
Normal file
30
tests/fe-text/meson.build
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
test_test_paste_join_multiline = executable('test-paste-join-multiline',
|
||||
files(
|
||||
'../../src/fe-text/gui-entry.c',
|
||||
'../../src/fe-text/gui-printtext.c',
|
||||
'../../src/fe-text/gui-windows.c',
|
||||
'../../src/fe-text/mainwindows.c',
|
||||
'../../src/fe-text/term-terminfo.c',
|
||||
'../../src/fe-text/term.c',
|
||||
'../../src/fe-text/terminfo-core.c',
|
||||
'../../src/fe-text/textbuffer-view.c',
|
||||
'../../src/fe-text/textbuffer.c',
|
||||
'mock-irssi.c',
|
||||
'test-paste-join-multiline.c',
|
||||
),
|
||||
link_with : [
|
||||
libconfig_a,
|
||||
libcore_a,
|
||||
libfe_common_core_a,
|
||||
],
|
||||
c_args : [
|
||||
'-D' + 'PACKAGE_STRING' + '="' + 'fe-text' + '"',
|
||||
],
|
||||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
dependencies : dep + textui_dep,
|
||||
)
|
||||
test('test-paste-join-multiline test', test_test_paste_join_multiline,
|
||||
args : ['--tap'],
|
||||
protocol : 'tap')
|
||||
|
||||
45
tests/irc/core/meson.build
Normal file
45
tests/irc/core/meson.build
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
test_test_irc = executable('test-irc',
|
||||
files(
|
||||
'test-irc.c',
|
||||
),
|
||||
link_with : [
|
||||
libconfig_a,
|
||||
libcore_a,
|
||||
libfe_common_core_a,
|
||||
libirc_core_a,
|
||||
],
|
||||
c_args : [
|
||||
'-D' + 'PACKAGE_STRING' + '="' + 'irc/core' + '"',
|
||||
],
|
||||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
dependencies : dep
|
||||
)
|
||||
test('test-irc test', test_test_irc,
|
||||
args : [
|
||||
'--tap',
|
||||
],
|
||||
protocol : 'tap')
|
||||
|
||||
test_test_channel_events = executable('test-channel-events',
|
||||
files(
|
||||
'test-channel-events.c',
|
||||
),
|
||||
link_with : [
|
||||
libconfig_a,
|
||||
libcore_a,
|
||||
libfe_common_core_a,
|
||||
libirc_core_a,
|
||||
],
|
||||
c_args : [
|
||||
'-D' + 'PACKAGE_STRING' + '="' + 'irc/core' + '"',
|
||||
],
|
||||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
dependencies : dep
|
||||
)
|
||||
test('test-channel-events test', test_test_channel_events,
|
||||
args : [
|
||||
'--tap',
|
||||
],
|
||||
protocol : 'tap')
|
||||
25
tests/irc/flood/meson.build
Normal file
25
tests/irc/flood/meson.build
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
test_test_796 = executable('test-796',
|
||||
files(
|
||||
'test-796.c',
|
||||
),
|
||||
link_with : [
|
||||
libconfig_a,
|
||||
libcore_a,
|
||||
libfe_common_core_a,
|
||||
libirc_a,
|
||||
libfe_common_irc_a,
|
||||
libfe_irc_dcc_a,
|
||||
libfe_irc_notifylist_a,
|
||||
],
|
||||
c_args : [
|
||||
'-D' + 'PACKAGE_STRING' + '="' + 'irc/flood' + '"',
|
||||
],
|
||||
include_directories : rootinc,
|
||||
implicit_include_directories : false,
|
||||
dependencies : dep
|
||||
)
|
||||
test('test-796 test', test_test_796,
|
||||
args : [
|
||||
'--tap',
|
||||
],
|
||||
protocol : 'tap')
|
||||
2
tests/irc/meson.build
Normal file
2
tests/irc/meson.build
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
subdir('core')
|
||||
subdir('flood')
|
||||
5
tests/meson.build
Normal file
5
tests/meson.build
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
subdir('fe-common')
|
||||
subdir('irc')
|
||||
if want_textui
|
||||
subdir('fe-text')
|
||||
endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue