Hello fellow CMakers,

 

Is there any way to make the install step fail if the destination file
that is being overwritten is read-only?

 

I need to copy the built target from the off-source folder to a folder
under source control. And one of my options is to have the developer
build the INSTALL target, which will copy the file to the directory
where it needs to be checked-in from.

 

If this is not possible, I'd appreciate any suggestions. My plan B is to
have a python script that will copy the file.

 

Thanks,

Daniel

_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to