1 # Simple GLESx reference 2 3 set(SGLR_SRCS 4 sglrContext.cpp 5 sglrContext.hpp 6 sglrContextUtil.hpp 7 sglrContextUtil.cpp 8 sglrContextWrapper.cpp 9 sglrContextWrapper.hpp 10 sglrReferenceContext.cpp 11 sglrReferenceContext.hpp 12 sglrReferenceUtils.cpp 13 sglrReferenceUtils.hpp 14 sglrShaderProgram.cpp 15 sglrShaderProgram.hpp 16 ) 17 18 if (DEQP_SUPPORT_GLES2 OR DEQP_SUPPORT_GLES3 OR DEQP_SUPPORT_OPENGL) 19 set(SGLR_SRCS 20 ${SGLR_SRCS} 21 sglrGLContext.cpp 22 sglrGLContext.hpp 23 ) 24 endif () 25 26 add_library(glutil-sglr STATIC ${SGLR_SRCS}) 27 target_link_libraries(glutil-sglr glutil tcutil referencerenderer ${DEQP_GLES2_LIBRARIES}) 28