Boost logo

Boost-Build :

From: Robert Ramey (ramey_at_[hidden])
Date: 2007-08-05 23:35:53

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

The config library has a test for exactly this. Soo I would hope that I
condition the building of this library (and later the running of tests) on
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
 : <toolset>msvc:<cxxflags>/Gy
          # note - we can't use <inlcude>$(SPIRIT_ROOT) because
          # it puts -I$(SPIRIT_ROOT) AFTER the "../../.." in the command
          # so use these instead
          # usage requirmentsonly environments which support wchar_t should
use this

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at