Boost logo

Boost :

Subject: Re: [boost] [build] Little help required
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-12-06 10:06:52


AMDG

On 12/05/2011 08:04 PM, Antony Polukhin wrote:
> I need to create Jamfile.v2 where one of the tests must be compiled on
> MSVC compilers with additional flag /Zc:wchar_t-
> How shall I change the following lines:
>
> test-suite conversion
> : # A lot of [ run ... ] lines
> [ run lexical_cast_typedefed_wchar_test.cpp
> ../../test/build//boost_unit_test_framework/<link>static ] # Requires
> /Zc:wchar_t-
> ;
>

Add <toolset>msvc:<cxxflags>/Zc:wchar_t- to the
requirements.

The signature of run is

rule run ( sources + : args * : input-files * :
    requirements * : target-name ? : default-build * )

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk