Enable tests, fixing the existing ones to use the current API

This also involved building a static library for the application for
tests to link to. The main application executable also links to it.
This commit is contained in:
David Boddie
2019-07-22 15:22:17 +02:00
committed by Guido Günther
parent 7495ec9bbb
commit e903150971
6 changed files with 87 additions and 11 deletions

View File

@ -1 +1,8 @@
option('depdatadir', type : 'string', value : '', description : 'System data path. Will be searched for definitions instead of datadir when provided')
option('depdatadir',
type : 'string',
value : '',
description : 'System data path. Will be searched for definitions instead of datadir when provided')
option('tests',
type: 'boolean', value: true,
description: 'Whether to compile unit tests')