Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
[platform/upstream/VK-GL-CTS.git] / framework / opengl / CMakeLists.txt
1 # glu - Generic OpenGL (ES 2.0/3.0) test utilities
2
3 if (IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/simplereference)
4         add_subdirectory(simplereference)
5 endif ()
6
7 add_subdirectory(wrapper)
8
9 set(GLUTIL_SRCS
10         gluCallLogWrapper.hpp
11         gluContextInfo.cpp
12         gluContextInfo.hpp
13         gluDefs.cpp
14         gluDefs.hpp
15         gluDrawUtil.cpp
16         gluDrawUtil.hpp
17         gluFboRenderContext.cpp
18         gluFboRenderContext.hpp
19         gluPixelTransfer.cpp
20         gluPixelTransfer.hpp
21         gluProgramInterfaceQuery.cpp
22         gluProgramInterfaceQuery.hpp
23         gluRenderConfig.cpp
24         gluRenderConfig.hpp
25         gluRenderContext.cpp
26         gluRenderContext.hpp
27         gluShaderProgram.cpp
28         gluShaderProgram.hpp
29         gluShaderUtil.cpp
30         gluShaderUtil.hpp
31         gluStateReset.cpp
32         gluStateReset.hpp
33         gluTexture.cpp
34         gluTexture.hpp
35         gluTextureUtil.cpp
36         gluTextureUtil.hpp
37         gluTextureTestUtil.cpp
38         gluTextureTestUtil.hpp
39         gluVarType.cpp
40         gluVarType.hpp
41         gluVarTypeUtil.cpp
42         gluVarTypeUtil.hpp
43         gluStrUtil.cpp
44         gluStrUtil.hpp
45         gluCallLogWrapper.cpp
46         gluCallLogWrapper.hpp
47         gluObjectWrapper.cpp
48         gluObjectWrapper.hpp
49         gluContextFactory.hpp
50         gluContextFactory.cpp
51         gluDummyRenderContext.cpp
52         gluDummyRenderContext.hpp
53         gluPlatform.cpp
54         gluPlatform.hpp
55         gluShaderLibrary.cpp
56         gluShaderLibrary.hpp
57         )
58
59 set(GLUTIL_LIBS
60         tcutil
61         glwrapper
62         )
63
64 add_library(glutil STATIC ${GLUTIL_SRCS})
65 target_link_libraries(glutil ${GLUTIL_LIBS})