lite-xl/src/meson.build

39 lines
859 B
Meson
Raw Permalink Normal View History

lite_sources = [
'api/api.c',
'api/cp_replace.c',
'api/renderer.c',
'api/renderer_font.c',
'api/regex.c',
'api/system.c',
2021-06-18 20:19:09 +02:00
'api/process.c',
'dirmonitor.c',
'renderer.c',
2021-04-29 14:15:24 +02:00
'renwindow.c',
'fontdesc.c',
'rencache.c',
'main.c',
]
lite_rc = []
if host_machine.system() == 'windows'
windows = import('windows')
lite_rc += windows.compile_resources('../resources/icons/icon.rc')
elif host_machine.system() == 'darwin'
lite_sources += 'bundle_open.m'
endif
2021-10-08 22:10:17 +02:00
lite_includes += include_directories('.')
executable('lite-xl',
2020-06-03 12:22:17 +02:00
lite_sources + lite_rc,
2021-10-08 22:10:17 +02:00
include_directories: lite_includes,
2021-06-18 20:19:09 +02:00
dependencies: lite_deps,
c_args: lite_cargs,
objc_args: lite_cargs,
link_with: libfontrenderer,
link_args: lite_link_args,
install_dir: lite_bindir,
install: true,
gui_app: true,
)