summaryrefslogtreecommitdiffstats
path: root/src/server/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 22:41:11 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commitc0f567d3232cbe165e56cb2684cda52df7cfb90f (patch)
tree3ffbe6df3f2056fd579a954e00f0bea49b47104e /src/server/wscript
parent9eadae8edc7a35f87499f58c3e3b9cec68f74a80 (diff)
downloadingen-c0f567d3232cbe165e56cb2684cda52df7cfb90f.tar.gz
ingen-c0f567d3232cbe165e56cb2684cda52df7cfb90f.tar.bz2
ingen-c0f567d3232cbe165e56cb2684cda52df7cfb90f.zip
Move public headers to a separate include directory
This is more conventional and probably best practice (since it avoids polluting the include path with non-headers), and is supported by the clang-tidy llvm-header-guard check.
Diffstat (limited to 'src/server/wscript')
-rw-r--r--src/server/wscript10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/wscript b/src/server/wscript
index 00588915..7e9ad2d6 100644
--- a/src/server/wscript
+++ b/src/server/wscript
@@ -57,8 +57,8 @@ def build(bld):
bld(features = 'cxx cxxshlib',
source = core_source,
- export_includes = ['../..'],
- includes = ['.', '../..'],
+ export_includes = ['../../include'],
+ includes = ['.', '../../include'],
name = 'libingen_server',
target = 'ingen_server',
install_path = '${LIBDIR}',
@@ -70,7 +70,7 @@ def build(bld):
if bld.env.HAVE_JACK:
bld(features = 'cxx cxxshlib',
source = 'JackDriver.cpp ingen_jack.cpp',
- includes = ['.', '../..'],
+ includes = ['.', '../../include'],
name = 'libingen_jack',
target = 'ingen_jack',
install_path = '${LIBDIR}',
@@ -82,7 +82,7 @@ def build(bld):
if bld.env.HAVE_PORTAUDIO:
bld(features = 'cxx cxxshlib',
source = 'PortAudioDriver.cpp ingen_portaudio.cpp',
- includes = ['.', '../..'],
+ includes = ['.', '../../include'],
name = 'libingen_portaudio',
target = 'ingen_portaudio',
install_path = '${LIBDIR}',
@@ -96,7 +96,7 @@ def build(bld):
bld(features = 'cxx cxxshlib',
source = ' ingen_lv2.cpp ',
cflags = ['-fvisibility=hidden'],
- includes = ['.', '../..'],
+ includes = ['../../include'],
name = 'libingen_lv2',
target = 'ingen_lv2',
install_path = '${LV2DIR}/ingen.lv2/',