[CMake] CONFIGURE_FILE with read-only template

Dekeyser, Kris Kris.Dekeyser at lms.be
Wed Sep 29 11:37:18 EDT 2004


Bug # 1213 added ...

> -----Original Message-----
> From: Andy Cedilnik [mailto:andy.cedilnik at kitware.com]
> Sent: Wednesday, September 29, 2004 17:20
> To: Dekeyser, Kris
> Cc: CMake (E-mail)
> Subject: Re: [CMake] CONFIGURE_FILE with read-only template
> 
> 
> Hi Kris,
> 
> This is a real bug. Could you please submit a bug report in the bug
> tracker?
> 
> Thank you.
> 		
> 			Andy
> 
> On Wed, 2004-09-29 at 08:28, Dekeyser, Kris wrote:
> > CMake 2.0.3, Windows XP:
> >  
> > I issue CONFIGURE_FILE commands using templates that sit in our
> > ClearCase source code repository, This works fine until I checked in
> > the templates. Files that are checked in are marked read-only by
> > ClearCase. On its own this does not cause a problem because 
> CMake only
> > needs read access to the templates.
> >  
> > The issue is that the files in my build tree that are generated from
> > read-only templates are also marked as read-only. If CMake is run a
> > second time to update the local files, it issues a problem ("CMake
> > Error: Error in cmake code at [...]:\nCONFIGURE_FILE Problem
> > configuring file") because the target files cannot be overwritten. I
> > noticed that the project files do not get updated either.
> >  
> > How can we solve this?
> 
> 
+-+-+- Email Confidentiality Footer +-+-+- 
Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery
of the message to such person), you may not print, retain, copy nor
disseminate this message or any part of it to anyone and you should notify
the sender by reply email and destroy this message. Neglecting this clause
could be a breach of confidence. Please advise immediately if you or your
employer does not consent to Internet email for messages of this kind.
Opinions, conclusions and other information in this message that are not
related to the official business of my firm shall be understood as neither
given nor endorsed by it.



More information about the CMake mailing list