summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Format/CMakeLists.txt')
-rw-r--r--clang/unittests/Format/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/clang/unittests/Format/CMakeLists.txt b/clang/unittests/Format/CMakeLists.txt
new file mode 100644
index 00000000000..66dd534d52b
--- /dev/null
+++ b/clang/unittests/Format/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ asmparser
+ support
+ mc
+ )
+
+add_clang_unittest(FormatTests
+ FormatTest.cpp
+ )
+
+target_link_libraries(FormatTests
+ clangAST
+ clangFormat
+ clangTooling
+ clangRewriteCore
+ )
OpenPOWER on IntegriCloud