aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-27 22:26:16 +0000
committerDavid Robillard <d@drobilla.net>2011-09-27 22:26:16 +0000
commitde5aa9e275107f59cdf12f76fe55895605ee7dc6 (patch)
tree8c627f450f59e6e6d7c840e2a3ad3b2a472b1f21 /wscript
parent3f3b0c4087b7125d1ddb62c2a0c455346a038094 (diff)
downloadserd-de5aa9e275107f59cdf12f76fe55895605ee7dc6.tar.gz
serd-de5aa9e275107f59cdf12f76fe55895605ee7dc6.tar.bz2
serd-de5aa9e275107f59cdf12f76fe55895605ee7dc6.zip
Add serd_env_set_prefix_from_strings for convenience.
Fix configure --debug. git-svn-id: http://svn.drobilla.net/serd/trunk@217 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index d7d064e5..fd813323 100644
--- a/wscript
+++ b/wscript
@@ -9,7 +9,7 @@ from waflib.extras import autowaf as autowaf
import waflib.Logs as Logs, waflib.Options as Options
# Version of this package (even if built as a child)
-SERD_VERSION = '0.4.5'
+SERD_VERSION = '0.5.0'
SERD_MAJOR_VERSION = '0'
# Library version (UNIX style major, minor, micro)
@@ -40,12 +40,12 @@ def options(opt):
help="Build static library")
def configure(conf):
+ conf.load('compiler_c')
+
autowaf.configure(conf)
- conf.line_just = 13
autowaf.display_header('Serd Configuration')
- conf.load('compiler_c')
- conf.env.append_value('CFLAGS', '-std=c99')
+ conf.env.append_unique('CFLAGS', '-std=c99')
conf.env['BUILD_TESTS'] = Options.options.build_tests
conf.env['BUILD_UTILS'] = not Options.options.no_utils