Test if mediump optimizations are not to aggressive
[platform/upstream/VK-GL-CTS.git] / external / openglcts / modules / common / CMakeLists.txt
1 # Common OpenGL CTS Test Code
2
3 if (DEQP_SUPPORT_WGL)
4         include_directories(${PROJECT_SOURCE_DIR}/framework/platform/win32)
5         add_definitions(-DGLCTS_SUPPORT_WGL=1)
6 endif ()
7
8 include_directories(
9         ${PROJECT_SOURCE_DIR}/modules/glshared
10         )
11
12 set(GLCTS_COMMON_SRCS
13         glcAggressiveShaderOptimizationsTests.cpp
14         glcAggressiveShaderOptimizationsTests.hpp
15         glcBlendEquationAdvancedTests.cpp
16         glcBlendEquationAdvancedTests.hpp
17         glcConfigList.hpp
18         glcConfigList.cpp
19         glcConfigListCase.cpp
20         glcConfigListCase.hpp
21         glcConfigListEGL.hpp
22         glcConfigListEGL.cpp
23         glcConfigListWGL.hpp
24         glcConfigListWGL.cpp
25         glcConfigPackage.cpp
26         glcConfigPackage.hpp
27         glcContext.cpp
28         glcContext.hpp
29         glcContextFlagsTests.cpp
30         glcContextFlagsTests.hpp
31         glcExposedExtensionsTests.cpp
32         glcExposedExtensionsTests.hpp
33         glcFragDepthTests.cpp
34         glcFragDepthTests.hpp
35         glcInfoTests.cpp
36         glcInfoTests.hpp
37         glcMultipleContextsTests.cpp
38         glcMultipleContextsTests.hpp
39         glcNoErrorTests.cpp
40         glcNoErrorTests.hpp
41         glcRobustnessTests.cpp
42         glcRobustnessTests.hpp
43         glcPolygonOffsetClampTests.cpp
44         glcPolygonOffsetClampTests.hpp
45         glcParallelShaderCompileTests.cpp
46         glcParallelShaderCompileTests.hpp
47         glcRobustBufferAccessBehaviorTests.cpp
48         glcRobustBufferAccessBehaviorTests.hpp
49         glcSeparableProgramsTransformFeedbackTests.cpp
50         glcSeparableProgramsTransformFeedbackTests.hpp
51         glcShaderConstExprTests.hpp
52         glcShaderConstExprTests.cpp
53         glcShaderGroupVoteTests.cpp
54         glcShaderGroupVoteTests.hpp
55         glcShaderIndexingTests.cpp
56         glcShaderIndexingTests.hpp
57         glcShaderIntegerMixTests.cpp
58         glcShaderIntegerMixTests.hpp
59         glcShaderLibrary.cpp
60         glcShaderLibrary.hpp
61         glcShaderLibraryCase.cpp
62         glcShaderLibraryCase.hpp
63         glcShaderLoopTests.cpp
64         glcShaderLoopTests.hpp
65         glcShaderNegativeTests.hpp
66         glcShaderNegativeTests.cpp
67         glcShaderMacroTests.cpp
68         glcShaderMacroTests.hpp
69         glcShaderMultisampleInterpolationTests.cpp
70         glcShaderMultisampleInterpolationTests.hpp
71         glcShaderRenderCase.cpp
72         glcShaderRenderCase.hpp
73         glcShaderStructTests.cpp
74         glcShaderStructTests.hpp
75         glcShaderSwitchTests.cpp
76         glcShaderSwitchTests.hpp
77         glcSampleVariablesTests.cpp
78         glcSampleVariablesTests.hpp
79         glcTestCase.cpp
80         glcTestCase.hpp
81         glcTestCaseWrapper.cpp
82         glcTestCaseWrapper.hpp
83         glcTestPackage.cpp
84         glcTestPackage.hpp
85         glcTextureFilterAnisotropicTests.cpp
86         glcTextureFilterAnisotropicTests.hpp
87         glcTextureRepeatModeTests.cpp
88         glcTextureRepeatModeTests.hpp
89         glcUniformBlockCase.cpp
90         glcUniformBlockCase.hpp
91         glcUniformBlockTests.cpp
92         glcUniformBlockTests.hpp
93         glcViewportArrayTests.cpp
94         glcViewportArrayTests.hpp
95         glcTestSubcase.cpp
96         glcTestSubcase.hpp
97         glcExtTokens.cpp
98         glcExtTokens.hpp
99         glcLimitTest.inl
100         glcLimitTest.hpp
101         glcWaiver.hpp
102         )
103
104 set(GLCTS_COMMON_LIBS
105         glutil
106         tcutil
107         eglutil
108         )
109
110 add_library(glcts-common STATIC ${GLCTS_COMMON_SRCS})
111 target_link_libraries(glcts-common ${GLCTS_COMMON_LIBS})
112
113 set(GLCTS_COMMON_NOCONTEXTPACKAGE_SRCS
114         glcNoDefaultContextPackage.cpp
115         glcNoDefaultContextPackage.hpp
116         )
117 add_library(glcts-common-nocontext-package STATIC ${GLCTS_COMMON_NOCONTEXTPACKAGE_SRCS})