forked from nielszweistein/skjack-vcv2
-
Notifications
You must be signed in to change notification settings - Fork 2
/
meson.build
29 lines (21 loc) · 926 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
29
project('StkJack', 'c', 'cpp', version: '2.7.1')
slug = 'StkJack'
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','/opt/rack/dep/include/')
shared_module('plugin', [
'src/hashids.cc',
'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: '.')