1# Common test utilities and framework (tcutil)
2
3set(TCUTIL_SRCS
4	tcuApp.cpp
5	tcuApp.hpp
6	tcuArray.hpp
7	tcuArray.cpp
8	tcuBilinearImageCompare.cpp
9	tcuBilinearImageCompare.hpp
10	tcuCommandLine.cpp
11	tcuCommandLine.hpp
12	tcuCompressedTexture.cpp
13	tcuCompressedTexture.hpp
14	tcuDefs.cpp
15	tcuDefs.hpp
16	tcuFloat.hpp
17	tcuFloat.cpp
18	tcuFloatFormat.hpp
19	tcuFloatFormat.cpp
20	tcuFormatUtil.hpp
21	tcuFuzzyImageCompare.cpp
22	tcuFuzzyImageCompare.hpp
23	tcuImageCompare.cpp
24	tcuImageCompare.hpp
25	tcuImageIO.cpp
26	tcuImageIO.hpp
27	tcuInterval.cpp
28	tcuInterval.hpp
29	tcuMatrix.hpp
30	tcuMatrix.cpp
31	tcuMatrixUtil.hpp
32	tcuPixelFormat.hpp
33	tcuPlatform.cpp
34	tcuPlatform.hpp
35	tcuRGBA.cpp
36	tcuRGBA.hpp
37	tcuRandomValueIterator.cpp
38	tcuRandomValueIterator.hpp
39	tcuRenderTarget.cpp
40	tcuRenderTarget.hpp
41	tcuResource.cpp
42	tcuResource.hpp
43	tcuResultCollector.cpp
44	tcuResultCollector.hpp
45	tcuSurface.cpp
46	tcuSurface.hpp
47	tcuSurfaceAccess.cpp
48	tcuSurfaceAccess.hpp
49	tcuTestCase.cpp
50	tcuTestCase.hpp
51	tcuTestContext.cpp
52	tcuTestContext.hpp
53	tcuTestSessionExecutor.cpp
54	tcuTestSessionExecutor.hpp
55	tcuTestLog.cpp
56	tcuTestLog.hpp
57	tcuTestPackage.cpp
58	tcuTestPackage.hpp
59	tcuTexture.cpp
60	tcuTexture.hpp
61	tcuTextureUtil.cpp
62	tcuTextureUtil.hpp
63	tcuVector.hpp
64	tcuVectorType.hpp
65	tcuVectorUtil.hpp
66	tcuFunctionLibrary.hpp
67	tcuFunctionLibrary.cpp
68	tcuThreadUtil.hpp
69	tcuThreadUtil.cpp
70	tcuStringTemplate.hpp
71	tcuStringTemplate.cpp
72	tcuTexLookupVerifier.cpp
73	tcuTexLookupVerifier.hpp
74	tcuTexCompareVerifier.cpp
75	tcuTexCompareVerifier.hpp
76	tcuTexVerifierUtil.cpp
77	tcuTexVerifierUtil.hpp
78	tcuCPUWarmup.cpp
79	tcuCPUWarmup.hpp
80	tcuFactoryRegistry.hpp
81	tcuFactoryRegistry.cpp
82	tcuSeedBuilder.hpp
83	tcuSeedBuilder.cpp
84	tcuMaybe.hpp
85	tcuMaybe.cpp
86	tcuEither.hpp
87	tcuEither.cpp
88	tcuTestHierarchyIterator.cpp
89	tcuTestHierarchyIterator.hpp
90	tcuTestHierarchyUtil.cpp
91	tcuTestHierarchyUtil.hpp
92	tcuAstcUtil.cpp
93	tcuAstcUtil.hpp
94	tcuRasterizationVerifier.cpp
95	tcuRasterizationVerifier.hpp
96	tcuWaiverUtil.cpp
97	tcuWaiverUtil.hpp
98	)
99
100set(TCUTIL_LIBS
101	decpp
102	qphelper
103	dethread
104	xexml
105	${PNG_LIBRARY}
106	)
107
108PCH(TCUTIL_SRCS ../pch.cpp)
109
110add_library(tcutil STATIC ${TCUTIL_SRCS})
111target_link_libraries(tcutil ${TCUTIL_LIBS} ${DEQP_PLATFORM_LIBRARIES})
112