blob: de26a4704a8f3ccd9f457c74cdf1c8d11c822ddc [file] [log] [blame]
Daniel Jasperf7935112012-12-03 18:12:45 +00001set(LLVM_LINK_COMPONENTS
NAKAMURA Takumiac8517922013-12-10 12:40:37 +00002 Support
Daniel Jasperf7935112012-12-03 18:12:45 +00003 )
4
5add_clang_unittest(FormatTests
6 FormatTest.cpp
Daniel Jasperc58c70e2014-09-15 11:21:46 +00007 FormatTestJava.cpp
Alexander Kornienkoa48a12c2013-12-03 10:50:16 +00008 FormatTestJS.cpp
Daniel Jasper7052ce62014-01-19 09:04:08 +00009 FormatTestProto.cpp
Daniel Jasperd246a5a2015-06-15 15:25:11 +000010 FormatTestSelective.cpp
Daniel Jasperd89ae9d2015-09-23 08:30:47 +000011 SortIncludesTest.cpp
Daniel Jasperf7935112012-12-03 18:12:45 +000012 )
13
14target_link_libraries(FormatTests
Daniel Jasperf7935112012-12-03 18:12:45 +000015 clangFormat
Manuel Klimekb12e5a52016-03-01 12:37:30 +000016 clangFrontend
Daniel Jaspercb3e6182014-10-29 18:55:09 +000017 clangToolingCore
Daniel Jasperf7935112012-12-03 18:12:45 +000018 )