Re: [boost] [mpl] sequence_wrapper change to handle enums

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

On 10/04/2005 03:47 AM, Aleksey Gurtovoy wrote:
OK, the above is in the CVS now. Thank you!
You're welcome. I guess you decided to upload it to CVS instead of me because of the difficulties I mentioned in a previous post. Does this also mean you will upload the sequence_wrapper.hpp file also? I've checked CVS with the web interface, but apparently the preprocess.cmd and preprocess.py have'nt made it there yet.
participants (2)
-
Aleksey Gurtovoy
-
Larry Evans