Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-10-04 03:47:19

Larry Evans writes:
> OTOH, I was thinking that maybe preprocess.cmd could just contain:
> gcc -E -C -P -I%(boost_root) "-D
> BOOST_USER_CONFIG=<%(boost_root)/libs/mpl/preprocessed/include/%(mode)/u
> ser.hpp>"
> -D BOOST_MPL_CFG_NO_OWN_PP_PRIMITIVES %(file) >%(file_path)
> which could be read into a variable, compile_cmd, which would then be
> used as:
> os.system( compile_cmd % { 'boost_root':boost_root, 'mode':mode,
> 'file':file, 'file_path':file_path } )
> does that sound OK?

It would have to be '... -I%(boost_root)s' and similarly for other
arguments, but otherwise that's an excellent idea! It eliminates the
need for having two different 'preprocess' files.

OK, the above is in the CVS now. Thank you!

Aleksey Gurtovoy
MetaCommunications Engineering

Boost list run by bdawes at, gregod at, cpdaniel at, john at