aboutsummaryrefslogtreecommitdiff
path: root/unittests/CMakeLists.txt
diff options
context:
space:
mode:
authorZhanyong Wan <wan@google.com>2011-02-16 05:45:20 +0000
committerZhanyong Wan <wan@google.com>2011-02-16 05:45:20 +0000
commitc515d18023e952357d5dee645e6e3539b7b3d992 (patch)
tree013defa1895b7ec68eb8245ef4d1f70e6b9871c3 /unittests/CMakeLists.txt
parent05cb9f2d61a0c5efa78ea43bc87685fd85c81c6c (diff)
Adds a CMake target for the Basic lib's unit tests. Reviewed by
jyasskin and chapuni. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/CMakeLists.txt')
-rw-r--r--unittests/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt
index b001d15bcb..0c91450e04 100644
--- a/unittests/CMakeLists.txt
+++ b/unittests/CMakeLists.txt
@@ -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"