diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-10-01 03:26:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-10-01 03:26:36 +0200 |
commit | 55c24924dd108bc4fc020fbd875839e9c692ffc1 (patch) | |
tree | 91da6dc823457ea3ca010399d7cf5c077515bbc1 /buildfile | |
parent | 45041f708eb9660f14b9735883b600b6ba16b585 (diff) |
Additional includes in std.core, new std.regex and std.threading
Diffstat (limited to 'buildfile')
-rw-r--r-- | buildfile | 32 |
1 files changed, 20 insertions, 12 deletions
@@ -39,10 +39,12 @@ else # Use the naming scheme expected by -fprebuilt-module-path=. Can also be # specified with -fmodule-file=. # - core = std.core.pcm - io = std.io.pcm + core = std.core.pcm + io = std.io.pcm + regex = std.regex.pcm + threading = std.threading.pcm - liba{std-modules}: bmia{$core $io} + liba{std-modules}: bmia{$core $io $regex $threading} export_target = $out_root/liba{std-modules} } @@ -53,17 +55,19 @@ else # # @@ Currently VC looks in Release regardless of /MD or /MDd. # - dir = release/ - core = $dir/std.core.ifc - io = $dir/std.io.ifc + dir = release/ + core = $dir/std.core.ifc + io = $dir/std.io.ifc + regex = $dir/std.regex.ifc + threading = $dir/std.threading.ifc - bmia{$core $io}: fsdir{$dir} + bmia{$core $io $regex $threading}: fsdir{$dir} # VC expects to find std.lib next to the .ifc's. Make it the real one # while std-modules -- a dummy. # ./: $dir/liba{std} - $dir/liba{std}: bmia{$core $io} + $dir/liba{std}: bmia{$core $io $regex $threading} liba{std-modules}: cxx{dummy.cxx} # @@ Doesn't work if installed so we don't bother installing it. But we @@ -87,11 +91,15 @@ else if ($cxx.target.class != "windows") cxx.libs += -lpthread - bmia{$core}: mxx{std-core} - bmia{$io}: mxx{std-io} bmia{$core} + bmia{$core}: mxx{std-core} + bmia{$io}: mxx{std-io} bmia{$core} + bmia{$regex}: mxx{std-regex} bmia{$core} bmia{$io} + bmia{$threading}: mxx{std-threading} bmia{$core} - mxx{std-core}@./: cc.module_name = std.core - mxx{std-io}@./: cc.module_name = std.io + mxx{std-core}@./: cc.module_name = std.core + mxx{std-io}@./: cc.module_name = std.io + mxx{std-regex}@./: cc.module_name = std.regex + mxx{std-threading}@./: cc.module_name = std.threading # Install into the libstd-modules/ subdirectory of, say, /usr/include/. # |