aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2016-11-08 10:39:11 +0100
committerDaniel Neus <[email protected]>2016-11-08 10:39:11 +0100
commitd4dabe4043f53add62b0ee97ea74b9abee1d31d1 (patch)
treeeb793f012c99cc6cffaba84a23e223d18f22c310
parent523b2a4ca48fa5cf04ea371aabe7167ce2e5cd13 (diff)
fix: bakefile not created when specifying "--with-bakefile"
somehow missed this in PR #360
-rwxr-xr-xconfigure.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 5d2c7f473..b79201f54 100755
--- a/configure.py
+++ b/configure.py
@@ -155,6 +155,9 @@ class BuildConfigurationInformation(object):
self.cli_headers = list(find_headers_in(self.src_dir, 'cli'))
self.test_sources = list(find_sources_in(self.src_dir, 'tests'))
+ if options.with_bakefile:
+ gen_bakefile( self.sources, self.cli_sources, self.cli_headers, self.test_sources, self.external_headers, options )
+
self.python_dir = os.path.join(options.src_dir, 'python')
def build_doc_commands():
@@ -1218,6 +1221,7 @@ def gen_bakefile(lib_sources, cli_sources, cli_headers, test_sources, external_h
if options.with_external_includedir:
external_inc_dir = options.with_external_includedir.replace('\\','/')
+ # Attention: bakefile supports only relative paths
f.write('includedirs += "%s";\n' %external_inc_dir )
if external_headers: