[cmake-developers] Instructions for regenerating CMake flex files?

Hickel, Kelly Kelly_Hickel at bmc.com
Mon Nov 1 12:08:06 EDT 2010



> -----Original Message-----
> From: cmake-developers-bounces at cmake.org [mailto:cmake-developers-
> bounces at cmake.org] On Behalf Of Michael Wild
> Sent: Monday, November 01, 2010 10:22 AM
> To: cmake-developers at cmake.org
> Subject: Re: [cmake-developers] Instructions for regenerating CMake
> flex files?
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 11/01/2010 04:07 PM, Hickel, Kelly wrote:
> > Hi,
> >   I'm looking at porting CMake to z/OS and it seems as though I have
> a need to regenerate all flex/yacc/bison generated files because the
> system's character set is EBCDIC.  I've been googling a lot and haven't
> been able to find any information on how to do this, the bootstrap
> command doesn't do it and I haven't found anything in any of the files
> in the 2.8.2 source tarball that really give me any hints, except lines
> like this in the generated files:
> > 	Run flex like this:
> > 	  flex --prefix=cmListFileLexer_yy -ocmListFileLexer.c
> cmListFileLexer.in.l
> >
> > But, I haven't found any files matching *yy* in the source tarball,
> or in a cloned copy of the git archive.
> >
> > Any tips?
> >
> > Thanks,
> >
> >
> > Kelly Hickel
> > Product Development Architect
> > BMC Software
> 
> That's because flex files have a .l suffix (in your example it would be
> cmListFileLexer.in.l). So, go ahead and run the command as the comment
> says (and post-process the output manually, as is also stated in the
> comments).
> 
> HTH
> 
> Michael
> 

Ahh, the power that Monday doth posses to make one feel an idiot.....

You mean I actually have to READ what's in the file?   AND follow directions?

Yikes!   ;-}

Thanks Michael,
Kelly




More information about the cmake-developers mailing list