[llvm-commits] [llvm] r117352 - /llvm/trunk/CMakeLists.txt

NAKAMURA Takumi geek4civic at gmail.com
Mon Oct 25 22:08:27 PDT 2010


Author: chapuni
Date: Tue Oct 26 00:08:27 2010
New Revision: 117352

URL: http://llvm.org/viewvc/llvm-project?rev=117352&view=rev
Log:
CMake: Build utils/KillTheDoctor only on MSVC for now.

Mingw does not have the header <dbghelp.h>.
Thanks to Daniel Newton, testing it on mingw.

Modified:
    llvm/trunk/CMakeLists.txt

Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=117352&r1=117351&r2=117352&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Tue Oct 26 00:08:27 2010
@@ -392,7 +392,7 @@
   add_subdirectory(test)
   add_subdirectory(utils/unittest)
   add_subdirectory(unittests)
-  if (WIN32)
+  if (MSVC)
     # This utility is used to prevent chrashing tests from calling Dr. Watson on
     # Windows.
     add_subdirectory(utils/KillTheDoctor)





More information about the llvm-commits mailing list