From 5fc2fd4d63310ed344b6bdb16d1c8b3ec278287a Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 18 Nov 2006 18:47:22 +0000 Subject: [PATCH] Add toolset requirements that specify that shared runtime is multithreaded, for most windows toolsets. [SVN r36077] --- v2/tools/cw.jam | 2 ++ v2/tools/intel-win.jam | 2 ++ v2/tools/msvc.jam | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/v2/tools/cw.jam b/v2/tools/cw.jam index 4c3a2f03a..07eec5a52 100644 --- a/v2/tools/cw.jam +++ b/v2/tools/cw.jam @@ -23,6 +23,8 @@ if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ] feature.extend toolset : cw ; +toolset.add-requirements cw,shared:multi ; + nl = " " ; diff --git a/v2/tools/intel-win.jam b/v2/tools/intel-win.jam index 68d707298..8b8f110bc 100644 --- a/v2/tools/intel-win.jam +++ b/v2/tools/intel-win.jam @@ -22,6 +22,8 @@ toolset.inherit-generators intel-win intel win toolset.inherit-flags intel-win : msvc ; toolset.inherit-rules intel-win : msvc ; +toolset.add-requirements intel-win,shared:multi ; + # Initializes the intel toolset for windows rule init ( version ? : # the compiler version command * : # the command to invoke the compiler itself diff --git a/v2/tools/msvc.jam b/v2/tools/msvc.jam index 30d8843ef..1b7935380 100644 --- a/v2/tools/msvc.jam +++ b/v2/tools/msvc.jam @@ -47,6 +47,10 @@ toolset.inherit-flags msvc : midl ; # Inherit MC flags toolset.inherit-flags msvc : mc ; +# Dynamic runtime comes only in MT flavour. +toolset.add-requirements msvc,shared:multi ; + + RM = [ common.rm-command ] ; nl = " " ;