1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/cmake
Shoaib Meenai a983a79960 [cmake] Fix clang-cl cross-compilation on macOS
macOS paths usually start with /Users, which clang-cl interprets as a
macro undefine, leading to pretty much everything failing to compile.

CMake should be taught to put a -- in its compilation rules for clang-cl
(and I've been meaning to submit that upstream for a while). In the
meantime, however, and to support older CMake versions, we can just
create a custom make rules override to fix the compilation rules.

Differential Revision: https://reviews.llvm.org/D41219

llvm-svn: 320785
2017-12-15 01:05:48 +00:00
..
modules [CMake] Pass LLVM_HAVE_LINK_VERSION_SCRIPT to external projects 2017-12-13 23:49:51 +00:00
platforms [cmake] Fix clang-cl cross-compilation on macOS 2017-12-15 01:05:48 +00:00
config-ix.cmake Re-commit "[cmake] Enable zlib support on windows" 2017-12-05 10:24:15 +00:00
config.guess Remove Bitrig: LLVM Changes 2017-07-21 22:48:47 +00:00
dummy.cpp [CMake] Fix Xcode build with LLVM_ENABLE_OBJLIB. 2015-09-10 17:18:51 +00:00
nsis_icon.ico Win installer: provide a pretty icon 2014-03-27 20:48:37 +00:00
nsis_logo.bmp
README

See docs/CMake.html for instructions on how to build LLVM with CMake.