2020-05-25 12:21:43 +02:00
|
|
|
lite_sources = [
|
|
|
|
'api/api.c',
|
2021-03-31 17:33:35 +02:00
|
|
|
'api/cp_replace.c',
|
2020-05-25 12:21:43 +02:00
|
|
|
'api/renderer.c',
|
|
|
|
'api/renderer_font.c',
|
2021-06-02 21:27:00 +02:00
|
|
|
'api/regex.c',
|
2020-05-25 12:21:43 +02:00
|
|
|
'api/system.c',
|
2021-06-18 20:19:09 +02:00
|
|
|
'api/process.c',
|
2020-05-25 12:21:43 +02:00
|
|
|
'renderer.c',
|
2021-04-29 14:15:24 +02:00
|
|
|
'renwindow.c',
|
2021-04-24 10:21:34 +02:00
|
|
|
'fontdesc.c',
|
2020-05-25 12:21:43 +02:00
|
|
|
'rencache.c',
|
|
|
|
'main.c',
|
|
|
|
]
|
|
|
|
|
2021-04-18 17:08:35 +02:00
|
|
|
if host_machine.system() == 'darwin'
|
|
|
|
lite_sources += 'bundle_open.m'
|
|
|
|
endif
|
|
|
|
|
2021-06-24 14:49:18 +02:00
|
|
|
executable('lite-xl',
|
2020-06-03 12:22:17 +02:00
|
|
|
lite_sources + lite_rc,
|
2020-06-04 18:52:01 +02:00
|
|
|
include_directories: [lite_include, font_renderer_include],
|
2021-06-18 20:19:09 +02:00
|
|
|
dependencies: lite_deps,
|
2020-12-02 00:23:15 +01:00
|
|
|
c_args: lite_cargs,
|
2020-06-04 18:52:01 +02:00
|
|
|
link_with: libfontrenderer,
|
2020-06-02 23:20:22 +02:00
|
|
|
link_args: lite_link_args,
|
2020-05-25 12:21:43 +02:00
|
|
|
install: true,
|
2020-05-25 16:18:06 +02:00
|
|
|
gui_app: true,
|
2020-05-25 12:21:43 +02:00
|
|
|
)
|