diff options
author | David Robillard <d@drobilla.net> | 2012-03-30 02:19:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-30 02:19:52 +0000 |
commit | ff3c6fc88657d2e94847ceb00adea7597894d897 (patch) | |
tree | 95931a641722a75fb3ed306e7960f3f179680eaf /wscript | |
parent | 43ee05bf7402c47e7034490bfebf08d3f57900e7 (diff) | |
download | sord-ff3c6fc88657d2e94847ceb00adea7597894d897.tar.gz sord-ff3c6fc88657d2e94847ceb00adea7597894d897.tar.bz2 sord-ff3c6fc88657d2e94847ceb00adea7597894d897.zip |
Add convenient sord_search(), sord_ask(), and sord_count().
Add sord_validate tool for validating data against RDF/OWL schemas.
git-svn-id: http://svn.drobilla.net/sord/trunk@211 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -51,6 +51,7 @@ def configure(conf): autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD', atleast_version='0.14.0', mandatory=True) + autowaf.check_pkg(conf, 'libpcre', uselib_store='PCRE', mandatory=False) conf.env['BUILD_TESTS'] = Options.options.build_tests conf.env['BUILD_UTILS'] = True @@ -198,16 +199,17 @@ def build(bld): defines = defines) autowaf.use_lib(bld, obj, 'SERD') - # Command line utility + # Command line utilities if bld.env['BUILD_UTILS']: - obj = bld(features = 'c cprogram', - source = 'src/sordi.c', - includes = ['.', './src'], - use = 'libsord', - target = 'sordi', - install_path = '${BINDIR}', - defines = defines) - autowaf.use_lib(bld, obj, 'SERD') + for i in ['sordi', 'sord_validate']: + obj = bld(features = 'c cprogram', + source = 'src/%s.c' % i, + includes = ['.', './src'], + use = 'libsord', + target = i, + install_path = '${BINDIR}', + defines = defines) + autowaf.use_lib(bld, obj, 'SERD PCRE') # Documentation autowaf.build_dox(bld, 'SORD', SORD_VERSION, top, out) |