llvm-project/libcxx/test
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
..
libcxx [libc++] [CMake] Link with /nodefaultlibs on Windows 2017-01-14 06:06:47 +00:00
std Implement P0426: Constexpr for std::char_traits 2017-01-12 04:37:14 +00:00
support Use __is_identifier to detect Clang extensions instead of __has_extension. 2017-01-14 04:27:58 +00:00
CMakeLists.txt [libc++] Cleanup and document <__threading_support> 2017-01-06 20:05:40 +00:00
lit.cfg Add mork workarounds for running the test suite against libstdc++ 2016-10-12 00:28:14 +00:00
lit.site.cfg.in [libc++] Cleanup and document <__threading_support> 2017-01-06 20:05:40 +00:00
nothing_to_do.pass.cpp Test commit: Reverting whitespace changes 2014-07-17 05:10:03 +00:00
testit Add 'nostdinc++' to the flags used by testit. Makes the tests run better on Mac OS X with the new depr.c headers change 2015-11-01 21:14:22 +00:00