CMakeLists.txt revision 53365959f2740e7b9ed59c51adbb73372f908a09
1# dEQP-EGL
2
3set(DEQP_EGL_SRCS
4	teglApiCase.cpp
5	teglApiCase.hpp
6	teglChooseConfigReference.cpp
7	teglChooseConfigReference.hpp
8	teglChooseConfigTests.cpp
9	teglChooseConfigTests.hpp
10	teglQueryConfigTests.cpp
11	teglQueryConfigTests.hpp
12	teglColorClearCase.cpp
13	teglColorClearCase.hpp
14	teglColorClearTests.cpp
15	teglColorClearTests.hpp
16	teglConfigList.cpp
17	teglConfigList.hpp
18	teglCreateContextTests.cpp
19	teglCreateContextTests.hpp
20	teglQueryContextTests.cpp
21	teglQueryContextTests.hpp
22	teglCreateSurfaceTests.cpp
23	teglCreateSurfaceTests.hpp
24	teglQuerySurfaceTests.cpp
25	teglQuerySurfaceTests.hpp
26	teglGetProcAddressTests.cpp
27	teglGetProcAddressTests.hpp
28	teglGLES1RenderUtil.cpp
29	teglGLES1RenderUtil.hpp
30	teglGLES2RenderUtil.cpp
31	teglGLES2RenderUtil.hpp
32	teglImageUtil.cpp
33	teglImageUtil.hpp
34	teglImageTests.cpp
35	teglImageTests.hpp
36	teglInfoTests.cpp
37	teglInfoTests.hpp
38	teglNegativeApiTests.cpp
39	teglNegativeApiTests.hpp
40	teglRenderCase.cpp
41	teglRenderCase.hpp
42	teglRenderTests.cpp
43	teglRenderTests.hpp
44	teglSimpleConfigCase.cpp
45	teglSimpleConfigCase.hpp
46	teglTestCase.cpp
47	teglTestCase.hpp
48	teglTestPackage.cpp
49	teglTestPackage.hpp
50	teglVGRenderUtil.cpp
51	teglVGRenderUtil.hpp
52	teglImageFormatTests.hpp
53	teglImageFormatTests.cpp
54	teglGLES2SharingTests.hpp
55	teglGLES2SharingTests.cpp
56	teglGLES2SharingThreadedTests.hpp
57	teglGLES2SharingThreadedTests.cpp
58	teglSyncTests.hpp
59	teglSyncTests.cpp
60	teglMultiThreadTests.hpp
61	teglMultiThreadTests.cpp
62	teglMemoryStressTests.hpp
63	teglMemoryStressTests.cpp
64	teglMakeCurrentPerfTests.hpp
65	teglMakeCurrentPerfTests.cpp
66	teglGLES2SharedRenderingPerfTests.hpp
67	teglGLES2SharedRenderingPerfTests.cpp
68	teglPreservingSwapTests.hpp
69	teglPreservingSwapTests.cpp
70	teglClientExtensionTests.hpp
71	teglClientExtensionTests.cpp
72	teglCreateContextExtTests.hpp
73	teglCreateContextExtTests.cpp
74	teglSurfacelessContextTests.hpp
75	teglSurfacelessContextTests.cpp
76	teglSwapBuffersTests.hpp
77	teglSwapBuffersTests.cpp
78	teglNativeColorMappingTests.hpp
79	teglNativeColorMappingTests.cpp
80	teglNativeCoordMappingTests.hpp
81	teglNativeCoordMappingTests.cpp
82	teglResizeTests.hpp
83	teglResizeTests.cpp
84	)
85
86set(DEQP_EGL_LIBS
87	tcutil
88	eglutil
89	referencerenderer
90	${DEQP_EGL_LIBRARIES}
91	)
92
93
94if (DEQP_SUPPORT_GLES2)
95	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} glutil glutil-sglr ${DEQP_GLES2_LIBRARIES})
96endif ()
97
98if (DEQP_SUPPORT_GLES1)
99	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_GLES1_LIBRARIES})
100endif ()
101
102if (DEQP_SUPPORT_VG)
103	set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_VG_LIBRARIES})
104endif ()
105
106add_deqp_module(deqp-egl "${DEQP_EGL_SRCS}" "${DEQP_EGL_LIBS}" teglTestPackageEntry.cpp)
107