forked from Skrylar/skjack-vcv
-
Notifications
You must be signed in to change notification settings - Fork 2
/
meson.build
28 lines (20 loc) · 881 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
project('SkJack', 'c', 'cpp', version: '0.6.0')
slug = 'SkJack'
jack = dependency('jack', required: true)
add_project_arguments(['-DSLUG=' + slug, '-DVERSION=' + meson.project_version(), '-DARCH_LIN=1'], language: 'cpp')
add_project_arguments(['-Wall', '-Wextra', '-std=c++11', '-pedantic', '-g'], language: 'c')
add_project_arguments(['-Wall', '-Wextra', '-std=c++11', '-pedantic', '-g'], language: 'cpp')
add_project_link_arguments(['-ldl'], language: 'cpp')
# TODO: swap this with a subproject reference once we subordinate rack to a workspace
rack_include = include_directories('/opt/rack/include')
shared_module('plugin', [
'src/jack-audio-module.cc',
'src/jack-audio-module-widget.cc',
'src/skjack.cc',
'src/jaq.cc'],
name_prefix: '',
install: true,
install_dir: '.',
include_directories: [rack_include],
dependencies: [jack])
install_subdir('res', install_dir: '.')