]> granicus.if.org Git - clang/commitdiff
Adds a CMake target for the Basic lib's unit tests. Reviewed by
authorZhanyong Wan <wan@google.com>
Wed, 16 Feb 2011 05:45:20 +0000 (05:45 +0000)
committerZhanyong Wan <wan@google.com>
Wed, 16 Feb 2011 05:45:20 +0000 (05:45 +0000)
jyasskin and chapuni.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125657 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/CMakeLists.txt

index b001d15bcb2f162937ba0134ccd7577e226f6388..0c91450e048f75c1e2d2cb07d548db7b9f0bccee 100644 (file)
@@ -36,6 +36,12 @@ if(SUPPORTS_NO_VARIADIC_MACROS_FLAG)
   add_definitions("-Wno-variadic-macros")
 endif()
 
+add_clang_unittest(Basic
+  "Core"
+  "gtest gtest_main clangBasic"
+  Basic/FileManagerTest.cpp
+ )
+
 add_clang_unittest(Frontend
   "Core"
   "gtest gtest_main clangFrontend"