From e6bb0d21f1865a389b82296823cf2ea555580a92 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 7 Jun 2019 09:43:21 +0200 Subject: Complete and normalize paths in cxx.importable_headers Also add more header unit include/import tests. --- tests/cc/modules/common.testscript | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/cc/modules/common.testscript') diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript index 4f043c9..b7501c1 100644 --- a/tests/cc/modules/common.testscript +++ b/tests/cc/modules/common.testscript @@ -12,12 +12,12 @@ using test EOI +cat <=build/root.build -cxx.std = experimental - -cxx.features.symexport = true +using in # Force modules. # +cxx.std = experimental +cxx.features.symexport = true cxx.features.modules = true using cxx @@ -32,6 +32,8 @@ hxx{*}: extension = hxx mxx{*}: extension = mxx cxx{*}: extension = cxx +cxx.poptions =+ "-I$out_root" "-I$src_root" + if ($cxx.target.class == 'windows') bmis{*}: cxx.poptions += '-DLIBFOO_EXPORT=__declspec(dllexport)' -- cgit v1.1