1 2 message("*** Using GLES3 Wrapper") 3 4 set(DEQP_TARGET_NAME "GLES3 Wrapper") 5 set(DEQP_SUPPORT_GLES2 OFF) 6 set(DEQP_SUPPORT_EGL OFF) 7 set(DEQP_SUPPORT_GLES3 ON) 8 9 add_definitions(-DKHRONOS_STATIC_LIB) 10 add_definitions(-DDEQP_USE_GLES3_WRAPPER) 11 include_directories( 12 wrappers/gles3/inc 13 wrappers/gles3 # Required by platform integration 14 ) 15 add_subdirectory(wrappers/gles3) 16 set(DEQP_GLES3_LIBRARIES GLESv3) 17 set(DEQP_PLATFORM_LIBRARIES GLESv3) # \note Always link to GLESv3 since platform integration requires it. 18 19 if (DE_OS_IS_WIN32) 20 set(TCUTIL_PLATFORM_SRCS 21 win32/tcuWGL.cpp 22 win32/tcuWGL.hpp 23 win32/tcuWin32API.h 24 win32/tcuWin32Window.cpp 25 win32/tcuWin32Window.hpp 26 win32/tcuWin32GLES3Platform.cpp 27 win32/tcuWin32GLES3Platform.hpp 28 tcuMain.cpp 29 ) 30 else () 31 message(FATAL_ERROR "GLES3 Wrapper is not supported on this OS") 32 endif () 33