aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-01 14:15:49 +0100
committerDavid Robillard <d@drobilla.net>2021-01-01 17:48:20 +0100
commit4a54d784af0bec03fdc1f9889157a8c653969db9 (patch)
tree2c94dec6c4369a9a341cf9da4f4dbcce28cd77cf /wscript
parentd101d926946a5e8067a90d157b6553aae7bddc19 (diff)
downloadserd-4a54d784af0bec03fdc1f9889157a8c653969db9.tar.gz
serd-4a54d784af0bec03fdc1f9889157a8c653969db9.tar.bz2
serd-4a54d784af0bec03fdc1f9889157a8c653969db9.zip
Remove the need for a generated configuration header
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index fa2d2479..397278c2 100644
--- a/wscript
+++ b/wscript
@@ -155,7 +155,7 @@ def configure(conf):
conf.env.SERDI = [serdi_node.abspath()]
- conf.write_config_header('serd_config.h', remove=False)
+ conf.define('SERD_NO_DEFAULT_CONFIG', 1)
autowaf.display_summary(
conf,
@@ -190,7 +190,7 @@ def build(bld):
defines = []
lib_args = {'export_includes': ['include'],
- 'includes': ['.', 'include', './src'],
+ 'includes': ['include'],
'cflags': ['-fvisibility=hidden'],
'lib': ['m'],
'vnum': SERD_VERSION,
@@ -220,7 +220,7 @@ def build(bld):
if bld.env.BUILD_TESTS:
coverage_flags = [''] if bld.env.NO_COVERAGE else ['--coverage']
- test_args = {'includes': ['.', 'include', './src'],
+ test_args = {'includes': ['include'],
'cflags': coverage_flags,
'linkflags': coverage_flags,
'lib': lib_args['lib'],
@@ -255,7 +255,7 @@ def build(bld):
obj = bld(features = 'c cprogram',
source = 'src/serdi.c',
target = 'serdi',
- includes = ['.', 'include', './src'],
+ includes = ['include'],
use = 'libserd',
lib = lib_args['lib'],
install_path = '${BINDIR}')