Boost logo

Boost-Build :

From: William Marié (william.marie_at_[hidden])
Date: 2008-07-04 06:32:37


Hi,

There is something i don't understand about the threading using msvc, it
seems that it's not possible to build a single threading target if i use :

using msvc ;

if i don't define it ( and leave boost-build using his default parameters )
everything is ok.

Some examples :

.1 -------------------------
My Jamroot :
     using msvc ;
     use-project /testthreading : testthreading ;
     build-project testthreading ;

My Jamfile
     project
         : requirements <threading>single ;
     lib testthreading : [ glob *.cpp ] ;

The code above always builds into : debug/threading-multi

.2 -------------------------
My Jamroot :
     #using msvc ;
     use-project /testthreading : testthreading ;
     build-project testthreading ;

My Jamfile
     project
         : requirements <threading>single ;
     lib testthreading : [ glob *.cpp ] ;

This one is built into : debug

.3 -------------------------
My Jamroot :
     #using msvc ;
     use-project /testthreading : testthreading ;
     build-project testthreading ;

My Jamfile
     project
         : requirements <threading>multi ;
     lib testthreading : [ glob *.cpp ] ;

This one is built into : debug/threading-multi

???? I don't understand :p
Someone could tell me why it does that and how can i use the "using msvc"
with single threading ?
Thanks

-- 
View this message in context: http://www.nabble.com/Multi-threading-weird-behavior-using-MSVC-tp18276935p18276935.html
Sent from the Boost - Build mailing list archive at Nabble.com.

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