Jeffrey, thank you to work on!

I can build and run FrontendTests to add some libs.

--- a/unittests/CMakeLists.txt
+++ b/unittests/CMakeLists.txt
@@ -46,10 +46,11 @@ set(LLVM_LINK_COMPONENTS
 set(LLVM_USED_LIBS
   gtest
   gtest_main
-  LLVMSupport # gtest needs it for raw_ostream.
-  clangAST
   clangFrontend
   clangSerialization
+  clangAST
+  clangLex
+  clangBasic
   )

 add_clang_unittest(Frontend

I have confirmed on CentOS5, msys-mingw and msvs10.

A matter. With this patch, "standalone clang with cmake" cannot be built.
gtest headers would be needed. Any idea? For now disabling unittests
on standalone clang?

...Takumi
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to