[CMake] how to execute install target from XCode ?
Alexander Neundorf
a.neundorf-work at gmx.net
Thu Nov 16 10:45:02 EST 2006
-------- Original-Nachricht --------
Datum: Thu, 16 Nov 2006 10:09:00 -0500
Von: "David Cole" <david.cole at kitware.com>
An: "Alexander Neundorf" <a.neundorf-work at gmx.net>
Betreff: Re: [CMake] how to execute install target from XCode ?
> Can the user run Xcode with elevated privileges? (sudo, ?)
> Can you force the destination to be somewhere that the user will have
> sufficient privileges via DESTDIR or CMAKE_INSTALL_PREFIX?
>
> Why isn't this a problem with make? (If "sudo make install" is the
> answer,
Yes.
> then "sudo open MyProject.xcodeproj" as an Xcode launching
> mechanism is the logical counterpart.)
Hmm, then the developer runs XCode the whole day as root :-/
IMO not ideal. I wouldn't like it. Then all the files will belong to root etc.
Maybe the install target could do "sudo cmake -P cmake_install.cmake" ?
Maybe there is already a variable which we can set to this ?
Alex
--
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
More information about the CMake
mailing list