[libc++] Default to vcruntime when targeting MSVC
authorShoaib Meenai <smeenai@fb.com>
Thu, 20 Apr 2017 23:33:49 +0000 (23:33 +0000)
committerShoaib Meenai <smeenai@fb.com>
Thu, 20 Apr 2017 23:33:49 +0000 (23:33 +0000)
commit8048b44a8cc35474b36c873280dcd2fe65f75298
tree8f5939dc9e28b9f350e0cb497b59e7c364020385
parentc41122546238c20729b870b4668c31c24a22f745
[libc++] Default to vcruntime when targeting MSVC

Summary:
libc++abi is never the right option for LIBCXX_TARGETING_MSVC, since it
targets the Itanium ABI, whereas MSVC uses the Microsoft ABI. Make the
default ABI be vcruntime when targeting MSVC even if libc++abi is
present in the tree.

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

llvm-svn: 300921
libcxx/CMakeLists.txt