2021-11-03 19:54:53 +01:00
|
|
|
project('openmg', 'c')
|
|
|
|
|
|
|
|
inc = include_directories('include')
|
|
|
|
|
|
|
|
openmgdeps = [
|
|
|
|
dependency('libadwaita-1'),
|
|
|
|
dependency('gtk4'),
|
|
|
|
dependency('libsoup-2.4'),
|
|
|
|
dependency('libxml-2.0'),
|
|
|
|
dependency('libpcre2-8'),
|
|
|
|
dependency('gio-2.0')
|
|
|
|
]
|
|
|
|
|
|
|
|
sources = [
|
2021-11-15 22:26:20 +01:00
|
|
|
'src/view/chapter_view.c',
|
2021-11-06 01:36:07 +01:00
|
|
|
'src/view/list_view_chapter.c',
|
2021-11-03 19:54:53 +01:00
|
|
|
'src/view/picture.c',
|
|
|
|
'src/util/gobject_utility_extensions.c',
|
|
|
|
'src/view/detail_manga.c',
|
|
|
|
'src/util/regex.c',
|
|
|
|
'src/util/string.c',
|
|
|
|
'src/util/xml.c',
|
|
|
|
'src/util/soup.c',
|
|
|
|
'src/view/list_view_manga.c',
|
|
|
|
'src/view/main_view.c',
|
|
|
|
'src/manga.c',
|
2021-11-06 01:36:07 +01:00
|
|
|
'src/chapter.c',
|
2021-11-03 19:54:53 +01:00
|
|
|
'src/backend/readmng.c',
|
|
|
|
'src/main.c',
|
|
|
|
]
|
2021-11-22 20:18:56 +01:00
|
|
|
|
|
|
|
link_arguments = [
|
|
|
|
'-ldl'
|
|
|
|
]
|
2021-11-03 19:54:53 +01:00
|
|
|
|
|
|
|
executable('openmg',
|
|
|
|
sources,
|
|
|
|
dependencies : openmgdeps,
|
2021-11-03 20:32:02 +01:00
|
|
|
include_directories : inc,
|
2021-11-22 20:18:56 +01:00
|
|
|
install : true,
|
|
|
|
link_args : link_arguments
|
2021-11-03 19:54:53 +01:00
|
|
|
)
|