diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-06 17:46:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-06 17:46:02 +0200 |
commit | 4d96bb9086b8f426a62804b3e36fb74853e5c839 (patch) | |
tree | 5b85c3fdc042baf0aa1883d929b211f38e58f87a /buildfile | |
parent | e42ca0d65ddfb9df7ab7ed67b8db5247d4cea732 (diff) |
Don't bother installing anything for VC
There is no way we can arrange everything as expected so we will just
fall back onto standard ifc's.
Diffstat (limited to 'buildfile')
-rw-r--r-- | buildfile | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -40,6 +40,10 @@ else # core = std.core.pcm io = std.io.pcm + + liba{std-modules}: bmia{$core $io} + + export_target = $out_root/liba{std-modules} } elif ($cxx.id.type == 'msvc') { @@ -54,14 +58,20 @@ else bmia{$core $io}: fsdir{$dir} - # VC expects to find std.lib next to the .ifc's. Make it a dummy one. + # VC expects to find std.lib next to the .ifc's. Make it the real one + # while std-modules -- a dummy. # - liba{std-modules}: $dir/liba{std} - $dir/liba{std}: cxx{dummy.cxx} + ./: $dir/liba{std} + $dir/liba{std}: bmia{$core $io} + liba{std-modules}: cxx{dummy.cxx} - # @@ Doesn't work if installed so we don't bother installing it. + # @@ Doesn't work if installed so we don't bother installing it. But we + # still install dummy std-modules; the idea is to link a dummy and + # (try) to use Microsoft-shipped .ifc's. # $dir/liba{std}: install = false + + export_target = $out_root/$dir/liba{std} } # @@ TMP: use utility library instead? @@ -74,8 +84,6 @@ else if ($cxx.target.class != "windows") cxx.libs += -lpthread - liba{std-modules}: bmia{$core $io} - bmia{$core}: mxx{std-core} bmia{$io}: mxx{std-io} bmia{$core} |