Merge upstream-vulkan-cts-1.0-dev into master am: c641c2e631 am: ff17828d24 am: cac26...
[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         gluES3PlusWrapperContext.cpp
18         gluES3PlusWrapperContext.hpp
19         gluFboRenderContext.cpp
20         gluFboRenderContext.hpp
21         gluPixelTransfer.cpp
22         gluPixelTransfer.hpp
23         gluProgramInterfaceQuery.cpp
24         gluProgramInterfaceQuery.hpp
25         gluRenderConfig.cpp
26         gluRenderConfig.hpp
27         gluRenderContext.cpp
28         gluRenderContext.hpp
29         gluShaderProgram.cpp
30         gluShaderProgram.hpp
31         gluShaderUtil.cpp
32         gluShaderUtil.hpp
33         gluStateReset.cpp
34         gluStateReset.hpp
35         gluTexture.cpp
36         gluTexture.hpp
37         gluTextureUtil.cpp
38         gluTextureUtil.hpp
39         gluTextureTestUtil.cpp
40         gluTextureTestUtil.hpp
41         gluVarType.cpp
42         gluVarType.hpp
43         gluVarTypeUtil.cpp
44         gluVarTypeUtil.hpp
45         gluStrUtil.cpp
46         gluStrUtil.hpp
47         gluCallLogWrapper.cpp
48         gluCallLogWrapper.hpp
49         gluObjectWrapper.cpp
50         gluObjectWrapper.hpp
51         gluContextFactory.hpp
52         gluContextFactory.cpp
53         gluDummyRenderContext.cpp
54         gluDummyRenderContext.hpp
55         gluPlatform.cpp
56         gluPlatform.hpp
57         gluShaderLibrary.cpp
58         gluShaderLibrary.hpp
59         )
60
61 set(GLUTIL_LIBS
62         tcutil
63         glwrapper
64         )
65
66 add_library(glutil STATIC ${GLUTIL_SRCS})
67 target_link_libraries(glutil ${GLUTIL_LIBS})