Am Donnerstag, 14. Juli 2011, 10:51:27 schrieb Mathias Tausig:
> Hy!
> 
> My CMakeLists.txt in the top directory looks like this:
> 
> ADD_SUBDIRECTORY(dir1)
> ADD_SUBDIRECTORY(dir2)
> INSTALL (SCRIPT setpermissions.cmake)
> 
> setpermissions.cmake changes some file-owner permissions of the stuff
> that has been installed from dir1 and dir2.

Did you know that you can pass a PERMISSIONS option to install(targets|files|
directories ...)?

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
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