On 7/3/2013 11:43 AM, Stephen Kelly wrote:
> To choose an SDK, you use the -isysroot option with the compiler and the -
> syslibroot option with the linker.
[snip]
> Modules/Platform/Darwin-Clang.cmake: set(CMAKE_${lang}_SYSROOT_FLAG
> "-isysroot")
[snip]
> I'm not familiar enough with OSX to know if the pre-existing OSX related
> sysroot features have any bearing on the new CMAKE_SYSROOT feature. Is it
> something to be concerned about? Should the features be unified? Should the
> new CMAKE_SYSROOT related variables be renamed to clarify difference?
Clinton, can you comment on this?
They do appear to be very similar. Both are about the toolchain's
system headers/libs and platform SDK location.
On 7/3/2013 11:43 AM, Stephen Kelly wrote:
> and I used CMAKE_SYSROOT_FLAG as the --sysroot= variable
Oops, I should have noticed that while reviewing the CMAKE_SYSROOT topic.
This will need to be a per-language flag. Please replace that with
something like
CMAKE_<lang>_COMPILE_OPTIONS_SYSROOT
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