From c0f567d3232cbe165e56cb2684cda52df7cfb90f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Aug 2020 22:41:11 +0200 Subject: 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. --- src/server/wscript | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/server/wscript') 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/', -- cgit v1.2.1