26 Apr
2009
26 Apr
'09
10:32 p.m.
One possible solution would be to use pImpl idiom and use boost in cpp files via the forward declartion. This might work in conjunction by splitting one big project in producing multiple libs or shared objects (dlls) and link against binaries with slim headers.
The problem is that such an approach doesn't work if a project contains a lot of class templates, which in turn use boost. MSVC9 has /MP switch that enables "build with multiple processes", but it's very limited, as it conflicts with /Gm (enable minimal rebuilds) and some other options...