diff options
author | David Robillard <d@drobilla.net> | 2024-11-18 17:54:21 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-24 19:11:07 -0500 |
commit | c725fa6fced438fe450df60fd74f050cc3d29ba7 (patch) | |
tree | ae0df93e19afebea92f1b7f364f286410e2dcb23 /meson.build | |
parent | 54918d00fbad75374a11780e081a634ed94a3054 (diff) | |
download | jalv-c725fa6fced438fe450df60fd74f050cc3d29ba7.tar.gz jalv-c725fa6fced438fe450df60fd74f050cc3d29ba7.tar.bz2 jalv-c725fa6fced438fe450df60fd74f050cc3d29ba7.zip |
Remove main() and program support code from Jack internal client
Like the previous commit but the other way around in a sense, this removes some
unused code from the Jack internal client and only builds in what's necessary.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meson.build b/meson.build index 0c9db25..77fde46 100644 --- a/meson.build +++ b/meson.build @@ -420,7 +420,6 @@ common_sources = files( 'src/jalv.c', 'src/log.c', 'src/lv2_evbuf.c', - 'src/main.c', 'src/mapper.c', 'src/nodes.c', 'src/process.c', @@ -433,6 +432,7 @@ common_sources = files( ) sources = backend_sources + common_sources +program_sources = sources + files('src/main.c') common_dependencies = [ backend_dep, @@ -463,7 +463,7 @@ endif # Console version executable( 'jalv', - sources + files('src/jalv_console.c'), + program_sources + files('src/jalv_console.c'), c_args: common_c_args, dependencies: common_dependencies + [suil_dep], install: true, @@ -501,7 +501,7 @@ if not get_option('gtk3').disabled() executable( 'jalv.gtk3', - sources + files('src/jalv_gtk.c'), + program_sources + files('src/jalv_gtk.c'), c_args: common_c_args, dependencies: common_dependencies + [gdk3_dep, gtk3_dep, suil_dep], install: true, @@ -555,7 +555,7 @@ if is_variable('cpp') executable( 'jalv.qt5', - sources + jalv_qt_cpp + [jalv_qt5_meta_cpp], + program_sources + jalv_qt_cpp + [jalv_qt5_meta_cpp], c_args: common_c_args, cpp_args: common_cpp_args + qt_args, dependencies: common_dependencies + [qt5_dep, suil_dep], @@ -599,7 +599,7 @@ if is_variable('cpp') executable( 'jalv.qt6', - sources + jalv_qt_cpp + [jalv_qt6_meta_cpp], + program_sources + jalv_qt_cpp + [jalv_qt6_meta_cpp], c_args: common_c_args, cpp_args: common_cpp_args + qt_args, dependencies: common_dependencies + [qt6_dep, suil_dep], |