At 01:17 AM 8/11/2006, Laurent Montel wrote: >On Friday 11 August 2006 02:15, William A. Hoffman wrote: >> At 01:07 PM 8/10/2006, Laurent Montel wrote: >> >Hi, >> >What is the command if I want to install a file with specific group/user ? >> >> See the INSTALL command: >> >> http://www.cmake.org/HTML/Documentation.html >> >> .... >> PERMISSIONS arguments specify permissions for installed files. Valid >> permissions are OWNER_READ, OWNER_WRITE, OWNER_EXECUTE, GROUP_READ, >> GROUP_WRITE, GROUP_EXECUTE, WORLD_READ, WORLD_WRITE, WORLD_EXECUTE, SETUID, >> and SETGID. Permissions that do not make sense on certain platforms are >> ignored on those platforms. .... > >Yes I used it for changing properties of files but how change owner of files. >For example if I want to install a binary for group "sounds" ?
Your right, you can not do that with the command. I guess you would have to use a POST_INSTALL_SCRIPT, and put a feature request into the cmake bug tracker for this ability to be added to the INSTALL command. See SET_TARGET_PROPERTIES for information on POST_INSTALL_SCRIPT. -Bill _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
