cmake and install file + group
William A. Hoffman
billlist at nycap.rr.com
Fri Aug 11 15:10:35 CEST 2006
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:
>> >What is the command if I want to install a file with specific group/user ?
>> See the INSTALL command:
>> 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.
More information about the Kde-buildsystem