[cmake-developers] [CMake 0012646]: install() overwrites existing destination file

Mantis Bug Tracker mantis at public.kitware.com
Sun Jan 1 04:10:00 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12646 
====================================================================== 
Reported By:                Hugo Leisink
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12646
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-01-01 04:10 EST
Last Modified:              2012-01-01 04:10 EST
====================================================================== 
Summary:                    install() overwrites existing destination file
Description: 
The install() function overwrites the destination file if it exists. This
behaviour is not desirable for configuration files. I would like to have an
install_config() function which does not overwrite an existing destination file.


Optionally, it saves the destination file as <filename>.dist, so users can see
what has changed in the new default configuration file.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-01-01 04:10 Hugo Leisink   New Issue                                    
======================================================================




More information about the cmake-developers mailing list