Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-06-10 15:08:16

On 06/10/2005 01:07 PM, David Abrahams wrote:
> Larry Evans <cppljevans_at_[hidden]> writes:
>>authors. What I need to do is change:
>> vectorX_c< T,C0 >
>> vectorX_c< T,T(C0) >
>>for each X=1...
> In libs/mpl/preprocessed/ do
> python
> And it should tell you everything you need to know.
Thanks David. This gave me:
<----- cut here -----

Usage: <mode> <boost_root> [<source_file>]

         updates preprocessed version(s) of the header(s) in
"boost\mpl\aux_\preprocessed" directory

         the following command will re-generate and update all 'apply.hpp' headers:

        all f:\cvs\boost apply.cpp

>----- cut here -----

However, despite what the subject line says, what I really need
is some way to do what's describe in the part of my post
quoted up above. The code in doesn't help much.
It includes:

     os.system( "preprocess %s %s %s %s" % ( boost_root, mode, file,
       file_path ) )

which, I assume, invokes the:


in that directory. I'm assuming the extension, 'cmd' is some windows
convention indicating an executable file since the above os.system call
above didn't include the extension. Since I'm on linux, this wouldn't
work, AFAICT. I did try:

<---- cut here ------

python msvc70 /home/evansl/prog_dev/boost-cvs/ro/boost
sh: line 1: preprocess: command not found
Traceback (most recent call last):
   File "", line 78, in ?
     , "boost\\mpl\\aux_\\preprocessed"
   File "", line 68, in main

>---- cut here ------

I've also searched the file for clues by searching for 'template';
however, that wasn't much help either.

I'd appreciate any other suggestions for a linux user ;)



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