summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-11 21:05:30 +0100
committerDavid Robillard <d@drobilla.net>2020-11-11 21:05:30 +0100
commit71ddd9e33df93c94ce6d3fe89c057d87952e3536 (patch)
tree09f3ff126fda7ff5c16c05689ae7dd6864b5cc69
parent272eb488547638125f1ccce47f6273dc8309bcc7 (diff)
downloadsord-71ddd9e33df93c94ce6d3fe89c057d87952e3536.tar.gz
sord-71ddd9e33df93c94ce6d3fe89c057d87952e3536.tar.bz2
sord-71ddd9e33df93c94ce6d3fe89c057d87952e3536.zip
Set up environment for using serd_validate as a subproject
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index 7a9a3b6..259ba4e 100644
--- a/wscript
+++ b/wscript
@@ -147,7 +147,12 @@ def configure(conf):
if all or 'write' in dump:
conf.define('SORD_DEBUG_WRITE', 1)
+ # Set up environment for building/using as a subproject
autowaf.set_lib_env(conf, 'sord', SORD_VERSION)
+ conf.env.SORD_VALIDATE = [
+ os.path.abspath(str(conf.path.get_bld().make_node('sord_validate')))
+ ]
+
conf.write_config_header('sord_config.h', remove=False)
autowaf.display_summary(