I've actually had to deal with this problem too, and although it does
require a lot of cvs check-in/outs I would vote for changing the
filenames. It's really easy to write a little script like the one below to
do the job, so it shouldn't be too painful.
The only little detail is that the source code actually does #include of
.c++ files in some places. These of course also have to be change, but a
quick perl script can take care of that too.
Rasmus
On Thu, 8 Feb 2001, Alexandre Naaman wrote:
> On Thu, 8 Feb 2001, Connolly, Steven V. wrote:
>
> >
> > I dont think the file suffixes should determine what environment is used
> > (g++, etc.) and temporary copies can cause problems when an error stops the
> > Makefile. Links are ok with me but I would have difficulty trying to update
> > the GNUMakefile's that come with OpenInventor to do that. It might be easier
> > to write some scripts that change the names. They only have to be executed
> > once.
>
> find . -name \*.c++ -exec renameFiles {} \;
>
> where renameFiles is:
>
> #/bin/sh
> mv $1 `echo $1|cut -f1 -d.`.cc
>
> or something along those lines.
>
> A+,
>
> Alex.
>
>
-----------------------------------------------------------------------------
Rasmus.Tamstorf@xxxxxxxxxx "A problem worthy of attack,
Walt Disney Feature Animation proves its worth by hitting back" Kumbel
-----------------------------------------------------------------------------
|