Boost logo

Boost-Build :

From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-12-07 14:48:17


Hi,

I have noticed a small bug - toolset condition wasn't displayed
correctly when '--debug-configuration' was specified.

Best regards/Venlig hilsen,
   Alexey Pakhunov.

Index: msvc.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/msvc.jam,v
retrieving revision 1.70
diff -u -r1.70 msvc.jam
--- msvc.jam 7 Dec 2005 08:30:12 -0000 1.70
+++ msvc.jam 7 Dec 2005 19:44:14 -0000
@@ -340,15 +340,15 @@
 
             if $(c)
             {
+ local cond = $(condition)/$(cpu-arch-$(c)) ;
+
                 if $(.debug-configuration)
                 {
                     ECHO "msvc: condition:"
- "'$(condition)/$(cond-$(c))',"
+ "'$(cond)',"
                         "command: '$(command[$(i)])'" ;
                 }
         
- local cond = $(condition)/$(cpu-arch-$(c)) ;
-
                 flags msvc.compile .CC $(cond) : $(command[$(i)])$(compiler) ;
                 flags msvc.compile .RC $(cond) : $(command[$(i)])$(resource-compiler) ;
                 flags msvc.compile .ASM $(cond) : $(command[$(i)])$(assembler) ;


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk