1# glu - Generic OpenGL (ES 2.0/3.0) test utilities 2 3if (IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/simplereference) 4 add_subdirectory(simplereference) 5endif () 6 7add_subdirectory(wrapper) 8 9set(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 59set(GLUTIL_LIBS 60 tcutil 61 glwrapper 62 ) 63 64PCH(GLUTIL_SRCS ../pch.cpp) 65 66add_library(glutil STATIC ${GLUTIL_SRCS}) 67target_link_libraries(glutil ${GLUTIL_LIBS}) 68