X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=unittests%2FSupport%2FCMakeLists.txt;h=9bd685759ed0b829439c2ec0d5dc9d0ffb836b66;hb=517dd66ae37425460a7743737c2d27fa66f47eb8;hp=88596787dd0cc5f9ce2402539131a04f8da9ce67;hpb=411afbe321a7a3705a390d405e9e71ab21f71657;p=oota-llvm.git diff --git a/unittests/Support/CMakeLists.txt b/unittests/Support/CMakeLists.txt index 88596787dd0..9bd685759ed 100644 --- a/unittests/Support/CMakeLists.txt +++ b/unittests/Support/CMakeLists.txt @@ -1,26 +1,58 @@ set(LLVM_LINK_COMPONENTS + ${LLVM_TARGETS_TO_BUILD} Support - Core ) add_llvm_unittest(SupportTests AlignOfTest.cpp AllocatorTest.cpp + ArrayRecyclerTest.cpp BlockFrequencyTest.cpp + BranchProbabilityTest.cpp Casting.cpp CommandLineTest.cpp - ConstantRangeTest.cpp + CompressionTest.cpp + ConvertUTFTest.cpp DataExtractorTest.cpp + DwarfTest.cpp + EndianStreamTest.cpp EndianTest.cpp - IntegersSubsetTest.cpp - LeakDetectorTest.cpp + ErrorOrTest.cpp + FileOutputBufferTest.cpp + IteratorTest.cpp + LEB128Test.cpp + LineIteratorTest.cpp + LockFileManagerTest.cpp + MD5Test.cpp ManagedStatic.cpp MathExtrasTest.cpp + MemoryBufferTest.cpp + MemoryTest.cpp Path.cpp - raw_ostream_test.cpp + ProcessTest.cpp + ProgramTest.cpp RegexTest.cpp + ReplaceFileTest.cpp + ScaledNumberTest.cpp + SourceMgrTest.cpp + SpecialCaseListTest.cpp + StreamingMemoryObject.cpp + StringPool.cpp SwapByteOrderTest.cpp - TimeValue.cpp - ValueHandleTest.cpp + TargetRegistry.cpp + ThreadLocalTest.cpp + ThreadPool.cpp + TimeValueTest.cpp + TrailingObjectsTest.cpp + UnicodeTest.cpp + YAMLIOTest.cpp YAMLParserTest.cpp + formatted_raw_ostream_test.cpp + raw_ostream_test.cpp + raw_pwrite_stream_test.cpp ) + +# ManagedStatic.cpp uses . +if(LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD) + target_link_libraries(SupportTests pthread) +endif()