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 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 ) 56 57 set(GLUTIL_LIBS 58 tcutil 59 glwrapper 60 ) 61 62 add_library(glutil STATIC ${GLUTIL_SRCS}) 63 target_link_libraries(glutil ${GLUTIL_LIBS}) 64