[cmake-developers] [CMake 0015591]: CMAKE_OSX_SYSROOT and CMAKE_OSX_ARCHITECTURES variables are actually clang-specific not osx-specific
Mantis Bug Tracker
mantis at public.kitware.com
Thu May 28 10:56:32 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15591
======================================================================
Reported By: Chris Bieneman
Assigned To:
======================================================================
Project: CMake
Issue ID: 15591
Category: CMake
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-05-28 10:56 EDT
Last Modified: 2015-05-28 10:56 EDT
======================================================================
Summary: CMAKE_OSX_SYSROOT and CMAKE_OSX_ARCHITECTURES
variables are actually clang-specific not osx-specific
Description:
The CMAKE_OSX_SYSROOT and CMAKE_OSX_ARCHITECTURES flags are currently the best
supported way to set the -isysroot and -arch flags used by clang for
cross-compiling, but they only function fully if you are on Darwin. Clang
supports these flags on all platforms, so they should really be
CMAKE_CLANG_SYSROOT and CMAKE_CLANG_ARCHITECTURES.
Having platform-agnostic CMAKE_CLANG_ARCHITECTURES and CMAKE_CLANG_SYSROOT flags
would significantly improve cross-compiling support with clang. It would also
greatly help the LLVM project in our efforts to replace our autoconf build
system with CMake.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-05-28 10:56 Chris Bieneman New Issue
======================================================================
More information about the cmake-developers
mailing list