On 07/14/2013 10:13 AM, Samuel Martin wrote:
> I'd like to give a point of view of a user.

Great, thanks for your input.

> To stick back to this thread, I have not used the CMAKE_SYSROOT variable yet.
> But imho, it should only affect the compiler flags, not the install
> rules because the given sysroot may be read-only for whatever reason.

Yes, I agree.  FYI for now we've reverted CMAKE_SYSROOT so we can
re-introduce it later properly integrated with CMAKE_OSX_SYSROOT.

> IMHO, the only install locations that matter are the staging area and
> the target one, which should
> be defined by the combination of the DESTDIR and CMAKE_INSTALL_PREFIX 
> variables.
> 
> If someone wants to install somewhere else for development purpose
> (say, nfs or chroot), then
> he/she can rerun the install phase with a new DESTDIR.

The simplicity of this does make sense.

On 07/04/2013 04:29 AM, Stephen Kelly wrote:
> Goals:
> * Install to /opt/kf5 on the target
> * Install to $HOME/dev/kf5 on the host

Steve, why do we need to have the host location not end in the
target's install prefix?

Thanks,
-Brad
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to