[cmake-developers] Cross compiling toolchain variables
Stephen Kelly
steveire at gmail.com
Tue Nov 12 22:05:30 EST 2013
Brad King wrote:
> IMO it should probably be transformed to the full SDK path in CMake
> code, using the logical name only in CMakeCache.txt and for the Xcode
> generator. I think we can do this with no attempt at compatibility
> because projects must always deal with users setting the value to
> a path already (and this variable is undocumented anyway).
>
> Would this change your conclusion?
My general lack of familiarity with OSX/Xcode/Mac sdks remains, and that is
what makes me continue to prefer option 3.
> Since none of us seems to understand how to properly merge these
> features, perhaps it is simplest to keep them separate. Once both
> have been around for a while perhaps their relationship will be
> more clear. In my understanding, the distinction can simply be
> that CMAKE_OSX_SYSROOT is for OS X -> OS X builds, and CMAKE_SYSROOT
> is for cross compiling.
Yes. If we can consider that decided, then the remaining issue relates to
CMAKE_INSTALL_PREFIX. If I can implement that as I wrote previously, this
topic is done.
Thanks,
Steve.
More information about the cmake-developers
mailing list