summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-12 01:11:11 +0100
committerDavid Robillard <d@drobilla.net>2020-11-12 01:47:40 +0100
commitbf9190ef628c1aa04791af1bd7cd4905e9c24658 (patch)
tree56114c93a8ec689cd15497059958dad03a1ee2ce /wscript
parent496e70e420811c7d744a8bcc44a2ac1b51b676b5 (diff)
downloadraul-bf9190ef628c1aa04791af1bd7cd4905e9c24658.tar.gz
raul-bf9190ef628c1aa04791af1bd7cd4905e9c24658.tar.bz2
raul-bf9190ef628c1aa04791af1bd7cd4905e9c24658.zip
Move includes to a conventional include directory
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 5 insertions, 2 deletions
diff --git a/wscript b/wscript
index 7662719..ebddb46 100644
--- a/wscript
+++ b/wscript
@@ -63,7 +63,10 @@ def configure(conf):
conf.check_cxx(header_name='memory')
conf.check_cxx(header_name='atomic')
- autowaf.set_lib_env(conf, 'raul', RAUL_VERSION, has_objects=False)
+ autowaf.set_lib_env(conf, 'raul', RAUL_VERSION,
+ has_objects=False,
+ include_path=str(conf.path.find_node('include')))
+
conf.write_config_header('raul_config.h', remove=False)
autowaf.display_summary(conf,
@@ -119,7 +122,7 @@ def build(bld):
for i in tests:
bld(features = 'cxx cxxprogram',
source = os.path.join('test', i + '.cpp'),
- includes = ['.'],
+ includes = ['include'],
lib = test_libs,
use = 'libraul_static',
uselib = 'GLIB GTHREAD',