[CMake] CONFIGURE_FILE with read-only template

Dekeyser, Kris Kris.Dekeyser at lms.be
Wed Sep 29 08:28:54 EDT 2004


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?
 
- Kris
+-+-+- 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20040929/f6d1002c/attachment.html


More information about the CMake mailing list