diff options
author | David Robillard <d@drobilla.net> | 2021-01-01 14:15:49 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-01 17:48:20 +0100 |
commit | 4a54d784af0bec03fdc1f9889157a8c653969db9 (patch) | |
tree | 2c94dec6c4369a9a341cf9da4f4dbcce28cd77cf /wscript | |
parent | d101d926946a5e8067a90d157b6553aae7bddc19 (diff) | |
download | serd-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-- | wscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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}') |