From cb0677b05c76927febcc1e58c33f7c2b008e5614 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 11 Sep 2017 07:11:19 +1000 Subject: Add Windows includes so the rtemstoolkit builds. Closes #3128. --- tester/covoar/wscript | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tester/covoar/wscript b/tester/covoar/wscript index 4d85562..392acd1 100644 --- a/tester/covoar/wscript +++ b/tester/covoar/wscript @@ -49,11 +49,6 @@ out = 'build' def init(ctx): pass -rtl_includes = ['../../rtemstoolkit', - '../../rtemstoolkit/elftoolchain/common', - '../../rtemstoolkit/elftoolchain/libelf', - '../../rtemstoolkit/libiberty'] - def options(opt): opt.load('compiler_cxx') @@ -66,6 +61,14 @@ def configure(conf): conf.env.STLIB_RLD = ['rld','iberty','elf'] def build(bld): + rtemstoolkit = '../../rtemstoolkit' + rtl_includes = [rtemstoolkit, + rtemstoolkit + '/elftoolchain/libelf', + rtemstoolkit + '/elftoolchain/common', + rtemstoolkit + '/libiberty'] + if bld.env.DEST_OS == 'win32': + rtl_includes += [rtemstoolkit + '/win32'] + bld.stlib(target = 'ccovoar', source = ['app_common.cc', 'CoverageFactory.cc', -- cgit v1.2.3