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 ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers