Boost logo

Boost-Build :

From: Michael Stevens (Michael.Stevens_at_[hidden])
Date: 2003-06-11 06:29:55


Hi Vladimir,

>BTW, does anyone know how to force C++ compile or C compile for MSVC?
>V1 toolset does not explicitly say that and I don't have MSVC handy at the
>moment.

>From the VC7 using "cl /help"

/Tc<source file> compile file as .c
/Tp<source file> compile file as .cpp
/TC compile all files as .c
/TP compile all files as .cpp

Hope this helps,
Michael

 


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