DO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a7716...
[platform/upstream/VK-GL-CTS.git] / modules / egl / CMakeLists.txt
1 # dEQP-EGL
2
3 set(DEQP_EGL_SRCS
4         teglAndroidUtil.cpp
5         teglAndroidUtil.hpp
6         teglApiCase.cpp
7         teglApiCase.hpp
8         teglBufferAgeTests.hpp
9         teglBufferAgeTests.cpp
10         teglChooseConfigReference.cpp
11         teglChooseConfigReference.hpp
12         teglChooseConfigTests.cpp
13         teglChooseConfigTests.hpp
14         teglQueryConfigTests.cpp
15         teglQueryConfigTests.hpp
16         teglColorClearCase.cpp
17         teglColorClearCase.hpp
18         teglColorClearTests.cpp
19         teglColorClearTests.hpp
20         teglConfigList.cpp
21         teglConfigList.hpp
22         teglCreateContextTests.cpp
23         teglCreateContextTests.hpp
24         teglQueryContextTests.cpp
25         teglQueryContextTests.hpp
26         teglCreateSurfaceTests.cpp
27         teglCreateSurfaceTests.hpp
28         teglQuerySurfaceTests.cpp
29         teglQuerySurfaceTests.hpp
30         teglGetProcAddressTests.cpp
31         teglGetProcAddressTests.hpp
32         teglGLES1RenderUtil.cpp
33         teglGLES1RenderUtil.hpp
34         teglGLES2RenderUtil.cpp
35         teglGLES2RenderUtil.hpp
36         teglImageUtil.cpp
37         teglImageUtil.hpp
38         teglImageTests.cpp
39         teglImageTests.hpp
40         teglInfoTests.cpp
41         teglInfoTests.hpp
42         teglNegativeApiTests.cpp
43         teglNegativeApiTests.hpp
44         teglPartialUpdateTests.cpp
45         teglPartialUpdateTests.hpp
46         teglNegativePartialUpdateTests.cpp
47         teglNegativePartialUpdateTests.hpp
48         teglRenderCase.cpp
49         teglRenderCase.hpp
50         teglRenderTests.cpp
51         teglRenderTests.hpp
52         teglSimpleConfigCase.cpp
53         teglSimpleConfigCase.hpp
54         teglTestCase.cpp
55         teglTestCase.hpp
56         teglTestPackage.cpp
57         teglTestPackage.hpp
58         teglVGRenderUtil.cpp
59         teglVGRenderUtil.hpp
60         teglImageFormatTests.hpp
61         teglImageFormatTests.cpp
62         teglGLES2SharingTests.hpp
63         teglGLES2SharingTests.cpp
64         teglGLES2SharingThreadedTests.hpp
65         teglGLES2SharingThreadedTests.cpp
66         teglSyncTests.hpp
67         teglSyncTests.cpp
68         teglMultiThreadTests.hpp
69         teglMultiThreadTests.cpp
70         teglMemoryStressTests.hpp
71         teglMemoryStressTests.cpp
72         teglMakeCurrentPerfTests.hpp
73         teglMakeCurrentPerfTests.cpp
74         teglGLES2SharedRenderingPerfTests.hpp
75         teglGLES2SharedRenderingPerfTests.cpp
76         teglPreservingSwapTests.hpp
77         teglPreservingSwapTests.cpp
78         teglClientExtensionTests.hpp
79         teglClientExtensionTests.cpp
80         teglCreateContextExtTests.hpp
81         teglCreateContextExtTests.cpp
82         teglSurfacelessContextTests.hpp
83         teglSurfacelessContextTests.cpp
84         teglSwapBuffersTests.hpp
85         teglSwapBuffersTests.cpp
86         teglNativeColorMappingTests.hpp
87         teglNativeColorMappingTests.cpp
88         teglNativeCoordMappingTests.hpp
89         teglNativeCoordMappingTests.cpp
90         teglResizeTests.hpp
91         teglResizeTests.cpp
92         teglSwapBuffersWithDamageTests.hpp
93         teglSwapBuffersWithDamageTests.cpp
94         )
95
96 set(DEQP_EGL_LIBS
97         tcutil
98         eglutil
99         referencerenderer
100         ${DEQP_EGL_LIBRARIES}
101         )
102
103 if (DE_OS_IS_ANDROID)
104         # EGL tests require headers from Android port directory
105         include_directories(${CMAKE_SOURCE_DIR}/framework/platform/android)
106         set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} tcutil-platform)
107 endif ()
108
109 if (DEQP_SUPPORT_GLES2)
110         set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} glutil glutil-sglr ${DEQP_GLES2_LIBRARIES})
111 endif ()
112
113 if (DEQP_SUPPORT_GLES1)
114         set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_GLES1_LIBRARIES})
115 endif ()
116
117 if (DEQP_SUPPORT_VG)
118         set(DEQP_EGL_LIBS ${DEQP_EGL_LIBS} ${DEQP_VG_LIBRARIES})
119 endif ()
120
121 add_deqp_module(deqp-egl "${DEQP_EGL_SRCS}" "${DEQP_EGL_LIBS}" teglTestPackageEntry.cpp)