Updated Meson configuration
- Added version and license metadata - Configuration data to be used in configured files to set metadata - Portable binary and directories in the main install directory - Binary file installed in correct places for all supported platforms - Freedesktop AppStream support - Added missing files install rules
This commit is contained in:
+8
-1
@@ -13,10 +13,16 @@ lite_sources = [
|
||||
'main.c',
|
||||
]
|
||||
|
||||
if host_machine.system() == 'darwin'
|
||||
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
|
||||
|
||||
lite_include = include_directories('.')
|
||||
|
||||
executable('lite-xl',
|
||||
lite_sources + lite_rc,
|
||||
include_directories: [lite_include, font_renderer_include],
|
||||
@@ -24,6 +30,7 @@ executable('lite-xl',
|
||||
c_args: lite_cargs,
|
||||
link_with: libfontrenderer,
|
||||
link_args: lite_link_args,
|
||||
install_dir: lite_bindir,
|
||||
install: true,
|
||||
gui_app: true,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user