llvm-project/libcxx
Eric Fiselier cc1f65ca30 [libc++] [CMake] Link with /nodefaultlibs on Windows
Summary:
This patch attempts to fix the libc++ build/link so that it doesn't use an default C++ libraries on Windows.  This is needed to prevent linking to MSVC's STL library.

Additionally this patch changes libc++ so that it is always linked with the non-debug DLL's (e.g. `/MD`). This is needed so that the test suite can correctly link the same libraries without needing to know which configuration `c++.dll` was linked with.


Reviewers: compnerd, rnk, majnemer, kimgr, awson, halyavin, smeenai

Subscribers: cfe-commits, mgorny

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

llvm-svn: 292001
2017-01-14 06:06:47 +00:00
..
benchmarks improve performance of string::find 2016-12-30 18:01:36 +00:00
cmake [libc++] [CMake] Link with /nodefaultlibs on Windows 2017-01-14 06:06:47 +00:00
docs Add _LIBCPP_DIAGNOSE_WARNING and _LIBCPP_DIAGNOSE_ERROR macros. 2017-01-13 22:02:08 +00:00
include Use __is_identifier to detect Clang extensions instead of __has_extension. 2017-01-14 04:27:58 +00:00
lib [libc++] [CMake] Link with /nodefaultlibs on Windows 2017-01-14 06:06:47 +00:00
src [libc++] Pair _aligned_malloc with _aligned_free 2017-01-12 06:22:36 +00:00
test [libc++] [CMake] Link with /nodefaultlibs on Windows 2017-01-14 06:06:47 +00:00
utils Fix creating __generated_config on Windows 2017-01-03 03:55:29 +00:00
www Mark 'constexpr char_traits' as complete. 2017-01-14 05:55:17 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.clang-format Tweak .clang-format configuration. 2017-01-14 05:43:02 +00:00
.gitignore Implement N4606 optional 2016-10-12 07:46:20 +00:00
CMakeLists.txt [libc++] [CMake] Link with /nodefaultlibs on Windows 2017-01-14 06:06:47 +00:00
CREDITS.TXT Added "Michael Park" to `CREDITS.TXT`. 2017-01-07 10:19:24 +00:00
LICENSE.TXT Update year to 2017 2017-01-03 11:20:43 +00:00
NOTES.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00
TODO.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00