Block/non-block uniforms match
[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         glcInternalformatTests.cpp
38         glcInternalformatTests.hpp
39         glcMultipleContextsTests.cpp
40         glcMultipleContextsTests.hpp
41         glcNoErrorTests.cpp
42         glcNoErrorTests.hpp
43         glcRobustnessTests.cpp
44         glcRobustnessTests.hpp
45         glcPolygonOffsetClampTests.cpp
46         glcPolygonOffsetClampTests.hpp
47         glcParallelShaderCompileTests.cpp
48         glcParallelShaderCompileTests.hpp
49         glcRobustBufferAccessBehaviorTests.cpp
50         glcRobustBufferAccessBehaviorTests.hpp
51         glcSeparableProgramsTransformFeedbackTests.cpp
52         glcSeparableProgramsTransformFeedbackTests.hpp
53         glcShaderConstExprTests.hpp
54         glcShaderConstExprTests.cpp
55         glcShaderGroupVoteTests.cpp
56         glcShaderGroupVoteTests.hpp
57         glcShaderIndexingTests.cpp
58         glcShaderIndexingTests.hpp
59         glcShaderIntegerMixTests.cpp
60         glcShaderIntegerMixTests.hpp
61         glcShaderLibrary.cpp
62         glcShaderLibrary.hpp
63         glcShaderLibraryCase.cpp
64         glcShaderLibraryCase.hpp
65         glcShaderLoopTests.cpp
66         glcShaderLoopTests.hpp
67         glcShaderNegativeTests.hpp
68         glcShaderNegativeTests.cpp
69         glcShaderMacroTests.cpp
70         glcShaderMacroTests.hpp
71         glcShaderMultisampleInterpolationTests.cpp
72         glcShaderMultisampleInterpolationTests.hpp
73         glcShaderRenderCase.cpp
74         glcShaderRenderCase.hpp
75         glcShaderStructTests.cpp
76         glcShaderStructTests.hpp
77         glcShaderSwitchTests.cpp
78         glcShaderSwitchTests.hpp
79         glcSampleVariablesTests.cpp
80         glcSampleVariablesTests.hpp
81         glcTestCase.cpp
82         glcTestCase.hpp
83         glcTestCaseWrapper.cpp
84         glcTestCaseWrapper.hpp
85         glcTestPackage.cpp
86         glcTestPackage.hpp
87         glcTextureFilterAnisotropicTests.cpp
88         glcTextureFilterAnisotropicTests.hpp
89         glcTextureRepeatModeTests.cpp
90         glcTextureRepeatModeTests.hpp
91         glcUniformBlockCase.cpp
92         glcUniformBlockCase.hpp
93         glcUniformBlockTests.cpp
94         glcUniformBlockTests.hpp
95         glcViewportArrayTests.cpp
96         glcViewportArrayTests.hpp
97         glcTestSubcase.cpp
98         glcTestSubcase.hpp
99         glcExtTokens.cpp
100         glcExtTokens.hpp
101         glcLimitTest.inl
102         glcLimitTest.hpp
103         glcWaiver.hpp
104         )
105
106 set(GLCTS_COMMON_LIBS
107         glutil
108         tcutil
109         eglutil
110         )
111
112 add_library(glcts-common STATIC ${GLCTS_COMMON_SRCS})
113 target_link_libraries(glcts-common ${GLCTS_COMMON_LIBS})
114
115 set(GLCTS_COMMON_NOCONTEXTPACKAGE_SRCS
116         glcNoDefaultContextPackage.cpp
117         glcNoDefaultContextPackage.hpp
118         )
119 add_library(glcts-common-nocontext-package STATIC ${GLCTS_COMMON_NOCONTEXTPACKAGE_SRCS})