[CMake] Setting the installation order of a script

Rolf Eike Beer eike at sf-mail.de
Fri Jul 15 13:12:50 EDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110715/e5ec67cf/attachment.pgp>


More information about the CMake mailing list