Benefits are blazing fast builds and more user friendly configuration. This is promised by meson and I would agree in the case of Geany. Autotools is supported and still the default. Meson builds might have rough edges but should generally work OK. Time will tell if it superseeds autotools builds completely.
29 lines
667 B
Meson
29 lines
667 B
Meson
plugin_inc = [include_directories('..', '../src', '../src/tagmanager')]
|
|
plugin_inc += iscintilla
|
|
|
|
plugins = [
|
|
'Demoplugin',
|
|
'Demoproxy',
|
|
'Classbuilder',
|
|
'HTMLChars',
|
|
'Export',
|
|
'SaveActions',
|
|
'FileBrowser',
|
|
'SplitWindow'
|
|
]
|
|
|
|
foreach plugin : plugins
|
|
id = plugin.to_lower()
|
|
skip_install = id.startswith('demo')
|
|
shared_module(id,
|
|
id + '.c',
|
|
name_prefix: '', # "lib" seems to be the default prefix
|
|
link_with: libgeany,
|
|
include_directories: plugin_inc,
|
|
c_args: [def_cflags, '-DG_LOG_DOMAIN="'+plugin+'"'],
|
|
dependencies: [deps, dep_libgeany],
|
|
install_dir: join_paths(prefix, get_option('libdir'), 'geany'),
|
|
install: not skip_install
|
|
)
|
|
endforeach
|