Adds a CMake target for the Basic lib's unit tests. Reviewed by

jyasskin and chapuni.

llvm-svn: 125657
This commit is contained in:
Zhanyong Wan 2011-02-16 05:45:20 +00:00
parent 7a86fcdd8f
commit 5201b66530
1 changed files with 6 additions and 0 deletions

View 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"