Boost logo

Boost-Build :

From: Robert Ramey (ramey_at_[hidden])
Date: 2007-08-06 01:03:42


Found <dependency> - seems to work.

Robert Ramey

Robert Ramey wrote:
> I would like to express the following idea in bjam.
>
> I would like to restrict the building of the serialization library
> (and dll) to those system
> which support wide character i/o
>
> I would also like to restrict the usage of the libraries to programs
> compiled with
> compilers and libraries which support the wchar type (be it intrinsic
> or not)
>
> The config library has a test for exactly this. Soo I would hope
> that I could
> condition the building of this library (and later the running of
> tests) on the
> corresponding config test passing. The following is what I came up
> with but it doesn't seem to work.
>
> Of course the motivation here is the skip offer builds and tests none
> apriori to yield no useful result.
>
> Any suggestions appreciated.
>
> Robert Ramey
>
> lib boost_wserialization
> : $(WSOURCES).cpp boost_serialization
> ../../config/test//BOOST_NO_STD_WSTREAMBUF
>> <toolset>msvc:<cxxflags>/Gy
> # note - we can't use <inlcude>$(SPIRIT_ROOT) because
> # it puts -I$(SPIRIT_ROOT) AFTER the "../../.." in the
> command line.
> # so use these instead
> <toolset>msvc-6.5:<cxxflags>-I$(SPIRIT_ROOT)
> <toolset>msvc-7.0:<cxxflags>-I$(SPIRIT_ROOT)
> <toolset>borland:<cxxflags>-I$(SPIRIT_ROOT)
> :
> # usage requirmentsonly environments which support wchar_t
> should use this
> ../../config/test//BOOST_NO_CWCHAR
> ;
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build


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