|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-09-07 12:39:01
"tonygeek" <tonygeek_at_[hidden]> writes:
> Options for single and multithreaded static library and DLL linking
> have changed. For example, /ML is not recognized as valid option
> anymore.
>
> Correct options would be:
>
> flags msvc CFLAGS <runtime-build>release/<runtime-
> link>dynamic : /LD ;
> flags msvc CFLAGS <runtime-build>debug/<runtime-link>dynamic : /LDd ;
>
> flags msvc CFLAGS <runtime-build>release/<runtime-
> link>static/<threading>single : /MD ;
> flags msvc CFLAGS <runtime-build>debug/<runtime-
> link>static/<threading>single : /MDd ;
> flags msvc CFLAGS <runtime-build>release/<runtime-
> link>static/<threading>multi : /MT ;
> flags msvc CFLAGS <runtime-build>debug/<runtime-
> link>static/<threading>multi : /MTd ;
>
> However, I put these statements in vc8.0-tools.jam and they didn't
> override those in msvc-tools.jam. What should I do?
Use the "difference" rule to remove the invalid flags. See
borland-5.6.4-tools.jam for an example.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.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