aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-10-28 14:00:47 +0100
committerDavid Robillard <d@drobilla.net>2019-12-19 20:55:37 -0500
commit65ca6a47c9b9da509ba96fb01874b81ebe3c3c26 (patch)
tree5829bd40fea62f97f433848dd250d6943bb1d24e /wscript
parent321f6b9bd838dcf882b20865ca3df6e44b42c0cb (diff)
downloadserd-65ca6a47c9b9da509ba96fb01874b81ebe3c3c26.tar.gz
serd-65ca6a47c9b9da509ba96fb01874b81ebe3c3c26.tar.bz2
serd-65ca6a47c9b9da509ba96fb01874b81ebe3c3c26.zip
Add SerdNodes class for storing a cache of nodes
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 7 insertions, 2 deletions
diff --git a/wscript b/wscript
index e15df257..42b809ee 100644
--- a/wscript
+++ b/wscript
@@ -87,6 +87,7 @@ lib_source = ['src/base64.c',
'src/env.c',
'src/n3.c',
'src/node.c',
+ 'src/nodes.c',
'src/reader.c',
'src/sink.c',
'src/statement.c',
@@ -95,7 +96,9 @@ lib_source = ['src/base64.c',
'src/system.c',
'src/uri.c',
'src/world.c',
- 'src/writer.c']
+ 'src/writer.c',
+ 'src/zix/digest.c',
+ 'src/zix/hash.c']
def build(bld):
# C Headers
@@ -155,7 +158,8 @@ def build(bld):
for prog in [('serdi_static', 'src/serdi.c'),
('cursor_test', 'tests/cursor_test.c'),
('serd_test', 'tests/serd_test.c'),
- ('read_chunk_test', 'tests/read_chunk_test.c')]:
+ ('read_chunk_test', 'tests/read_chunk_test.c'),
+ ('nodes_test', 'tests/nodes_test.c')]:
bld(features = 'c cprogram',
source = prog[1],
use = 'libserd_profiled',
@@ -431,6 +435,7 @@ def test(tst):
with tst.group('Unit') as check:
check(['./cursor_test'])
+ check(['./nodes_test'])
check(['./serd_test'])
check(['./read_chunk_test'])