xref: /aosp_15_r20/external/deqp/framework/common/CMakeLists.txt (revision 35238bce31c2a825756842865a792f8cf7f89930)
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	tcuLibDrm.cpp
30	tcuLibDrm.hpp
31	tcuMatrix.hpp
32	tcuMatrix.cpp
33	tcuMatrixUtil.hpp
34	tcuPixelFormat.hpp
35	tcuPlatform.cpp
36	tcuPlatform.hpp
37	tcuRGBA.cpp
38	tcuRGBA.hpp
39	tcuRandomValueIterator.cpp
40	tcuRandomValueIterator.hpp
41	tcuRenderTarget.cpp
42	tcuRenderTarget.hpp
43	tcuResource.cpp
44	tcuResource.hpp
45	tcuResultCollector.cpp
46	tcuResultCollector.hpp
47	tcuSurface.cpp
48	tcuSurface.hpp
49	tcuSurfaceAccess.cpp
50	tcuSurfaceAccess.hpp
51	tcuTestCase.cpp
52	tcuTestCase.hpp
53	tcuTestContext.cpp
54	tcuTestContext.hpp
55	tcuTestSessionExecutor.cpp
56	tcuTestSessionExecutor.hpp
57	tcuTestLog.cpp
58	tcuTestLog.hpp
59	tcuTestPackage.cpp
60	tcuTestPackage.hpp
61	tcuTexture.cpp
62	tcuTexture.hpp
63	tcuTextureUtil.cpp
64	tcuTextureUtil.hpp
65	tcuVector.hpp
66	tcuVectorType.hpp
67	tcuVectorUtil.hpp
68	tcuFunctionLibrary.hpp
69	tcuFunctionLibrary.cpp
70	tcuThreadUtil.hpp
71	tcuThreadUtil.cpp
72	tcuStringTemplate.hpp
73	tcuStringTemplate.cpp
74	tcuTexLookupVerifier.cpp
75	tcuTexLookupVerifier.hpp
76	tcuTexCompareVerifier.cpp
77	tcuTexCompareVerifier.hpp
78	tcuTexVerifierUtil.cpp
79	tcuTexVerifierUtil.hpp
80	tcuCPUWarmup.cpp
81	tcuCPUWarmup.hpp
82	tcuFactoryRegistry.hpp
83	tcuFactoryRegistry.cpp
84	tcuSeedBuilder.hpp
85	tcuSeedBuilder.cpp
86	tcuMaybe.hpp
87	tcuMaybe.cpp
88	tcuEither.hpp
89	tcuEither.cpp
90	tcuTestHierarchyIterator.cpp
91	tcuTestHierarchyIterator.hpp
92	tcuTestHierarchyUtil.cpp
93	tcuTestHierarchyUtil.hpp
94	tcuAstcUtil.cpp
95	tcuAstcUtil.hpp
96	tcuRasterizationVerifier.cpp
97	tcuRasterizationVerifier.hpp
98	tcuWaiverUtil.cpp
99	tcuWaiverUtil.hpp
100	)
101
102set(TCUTIL_LIBS
103	decpp
104	qphelper
105	dethread
106	xexml
107	${PNG_LIBRARY}
108	)
109
110PCH(TCUTIL_SRCS ../pch.cpp)
111
112add_library(tcutil STATIC ${TCUTIL_SRCS})
113target_link_libraries(tcutil ${TCUTIL_LIBS} ${DEQP_PLATFORM_LIBRARIES})
114