llvm-project/libcxx/cmake/Modules
Eric Fiselier 1cd196e7b4 Improve CMake and LIT support for Windows
This patch contains multiple cleanups and fixes to better support building on
Windows.

* [Test] Fix handling of library runtime search paths by correctly adding them
  to the PATH variable when running the tests.

* [Test] Don't explicitly force "--target=i686-pc-windows" when running the
  test suite. Clang++ seems to deduce the correct target.

* [Test] Fix `.sh.cpp` tests on Windows by properly escaping flags used in
  shell commands. Specifically windows style paths which included spaces
  were causing these tests to fail.

* [CMake] Add "vcruntime" to the list of supported C++ ABI libraries in CMake, and
  teach the test suite how to handle it. For now libc++ defaults to using
  "vcruntime" on Windows except when libc++abi is in tree; That is probably
  a bug and should be changed to always use vcruntime, at least for now.

* [Misc] Move the "c++-build" include directory to the libc++ binary dir
  instead of the top level project dir and rename it "c++build". This is just
  misc cleanup. Libc++ shouldn't be creating internal build files and directories
  at the top-level projects root.

* [Misc] Build type_info's destructor when building for MSVC. This is a temporary
  work around to prevent link errors until we have a proper type_info
  implementation.

llvm-svn: 292157
2017-01-16 20:47:35 +00:00
..
CheckLibcxxAtomic.cmake Fix libc++ configuration with -fsanitize-coverage 2016-09-01 01:38:32 +00:00
CodeCoverage.cmake [libcxx] Add code coverage configuration to CMake and LIT. 2015-03-31 04:15:45 +00:00
HandleLibCXXABI.cmake Improve CMake and LIT support for Windows 2017-01-16 20:47:35 +00:00
HandleLibcxxFlags.cmake Fix copy-paste errors in r292001 2017-01-14 10:22:21 +00:00
HandleOutOfTreeLLVM.cmake Reland "[CMake][libcxx] Move Python check to main CMake file" 2017-01-16 00:33:07 +00:00
MacroEnsureOutOfSourceBuild.cmake