OSDN Git Service

Disable all warning for AlignOfTest.cpp.
[android-x86/external-llvm.git] / unittests / Support / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Support
3   )
4
5 add_llvm_unittest(SupportTests
6   AlignOfTest.cpp
7   AllocatorTest.cpp
8   ARMAttributeParser.cpp
9   ArrayRecyclerTest.cpp
10   BinaryStreamTest.cpp
11   BlockFrequencyTest.cpp
12   BranchProbabilityTest.cpp
13   CachePruningTest.cpp
14   CrashRecoveryTest.cpp
15   Casting.cpp
16   Chrono.cpp
17   CommandLineTest.cpp
18   CompressionTest.cpp
19   ConvertUTFTest.cpp
20   DataExtractorTest.cpp
21   DebugTest.cpp
22   EndianStreamTest.cpp
23   EndianTest.cpp
24   ErrorOrTest.cpp
25   ErrorTest.cpp
26   FileOutputBufferTest.cpp
27   FormatVariadicTest.cpp
28   GlobPatternTest.cpp
29   Host.cpp
30   LEB128Test.cpp
31   LineIteratorTest.cpp
32   LockFileManagerTest.cpp
33   MD5Test.cpp
34   ManagedStatic.cpp
35   MathExtrasTest.cpp
36   MemoryBufferTest.cpp
37   MemoryTest.cpp
38   NativeFormatTests.cpp
39   ParallelTest.cpp
40   Path.cpp
41   ProcessTest.cpp
42   ProgramTest.cpp
43   RegexTest.cpp
44   ReplaceFileTest.cpp
45   ScaledNumberTest.cpp
46   SourceMgrTest.cpp
47   SpecialCaseListTest.cpp
48   StringPool.cpp
49   SwapByteOrderTest.cpp
50   TarWriterTest.cpp
51   TargetParserTest.cpp
52   ThreadLocalTest.cpp
53   ThreadPool.cpp
54   Threading.cpp
55   TimerTest.cpp
56   TypeNameTest.cpp
57   TrailingObjectsTest.cpp
58   TrigramIndexTest.cpp
59   UnicodeTest.cpp
60   YAMLIOTest.cpp
61   YAMLParserTest.cpp
62   formatted_raw_ostream_test.cpp
63   raw_ostream_test.cpp
64   raw_pwrite_stream_test.cpp
65   raw_sha1_ostream_test.cpp
66   xxhashTest.cpp
67   )
68
69 # Disable all warning for AlignOfTest.cpp,
70 # as it does things intentionally, and there is no reliable way of
71 # disabling all warnings for all the compilers by using pragmas.
72 set_source_files_properties(AlignOfTest.cpp PROPERTIES COMPILE_FLAGS -w)
73
74 # ManagedStatic.cpp uses <pthread>.
75 target_link_libraries(SupportTests ${LLVM_PTHREAD_LIB})
76
77 add_subdirectory(DynamicLibrary)