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