On 5/5/06, Jürgen Hunold <hunold@ive-mbh.de> wrote:
> lib PortingLayer : <platform>Win32:<include>Win32
>                           <platform>PocketPC:<include>PocketPC
        <memory-check>off:<define>BOOST_SP_USE_QUICK_ALLOCATOR

Ok, this seems to work (like Vladimir pointed out, my custom feature has to be non-free. I can live with that.).


Two follow-up questions:
1. Can a single condition affect more than one requirement? Meaning, instead of writing:
<platform>win32:<include>Win32 <platform>win32:<define>WIN32_BUILD

can I use something like:
<platform>win32:(<include>Win32 <define>WIN32_BUILD)

? This syntax doesn't seem to work, but maybe you have something else that does.

2. How can I conditionally glob for files? I want something like:
<platform>win32:<source>[ glob Win32/*.cpp ]

However this does not work.


Thanks again,
Noam.