summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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(