diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-07 09:43:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-07 09:43:21 +0200 |
commit | e6bb0d21f1865a389b82296823cf2ea555580a92 (patch) | |
tree | 15db9398743d83fb4f7e5dd1fa772c5c8a647334 /tests/cc/modules/common.testscript | |
parent | daa35c9e4b592f055b42e482fe1398527cfdf90b (diff) |
Complete and normalize paths in cxx.importable_headers
Also add more header unit include/import tests.
Diffstat (limited to 'tests/cc/modules/common.testscript')
-rw-r--r-- | tests/cc/modules/common.testscript | 8 |
1 files changed, 5 insertions, 3 deletions
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 <<EOI >=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)' |