1message("*** Using nullws target") 2set(DEQP_TARGET_NAME "nullws") 3 4add_definitions(-DNULLWS) 5 6find_library(GLES2_LIBRARY NAMES libGLESv2 GLESv2) 7find_library(GLES3_LIBRARY NAMES libGLESv3 GLESv3) 8find_library(EGL_LIBRARY NAMES libEGL EGL) 9 10if (NOT GLES3_LIBRARY) 11 find_library(GLES3_LIBRARY NAMES libGLESv2 GLESv2) 12endif() 13 14find_path(GLES2_INCLUDE_PATH GLES2/gl2.h) 15find_path(GLES3_INCLUDE_PATH GLES3/gl3.h) 16find_path(GLES31_INCLUDE_PATH GLES3/gl31.h) 17find_path(GLES32_INCLUDE_PATH GLES3/gl32.h) 18find_path(EGL_INCLUDE_PATH EGL/egl.h) 19 20if (GLES2_LIBRARY AND GLES2_INCLUDE_PATH) 21 set(DEQP_SUPPORT_GLES2 ON) 22 set(DEQP_GLES2_LIBRARIES ${GLES2_LIBRARY}) 23 include_directories(BEFORE ${GLES2_INCLUDE_PATH}) 24endif () 25 26if (GLES3_LIBRARY AND GLES3_INCLUDE_PATH) 27 set(DEQP_SUPPORT_GLES3 ON) 28 set(DEQP_GLES3_LIBRARIES ${GLES3_LIBRARY}) 29 include_directories(BEFORE ${GLES3_INCLUDE_PATH}) 30endif () 31 32if (GLES3_LIBRARY AND GLES31_INCLUDE_PATH) 33 set(DEQP_SUPPORT_GLES31 ON) 34 set(DEQP_GLES31_LIBRARIES ${GLES3_LIBRARY}) 35 include_directories(${GLES31_INCLUDE_PATH}) 36endif () 37 38if (GLES3_LIBRARY AND GLES32_INCLUDE_PATH) 39 set(DEQP_SUPPORT_GLES32 ON) 40 set(DEQP_GLES32_LIBRARIES ${GLES3_LIBRARY}) 41 include_directories(${GLES32_INCLUDE_PATH}) 42endif () 43 44if (EGL_LIBRARY AND EGL_INCLUDE_PATH) 45 set(DEQP_SUPPORT_EGL ON) 46 set(DEQP_EGL_LIBRARIES ${EGL_LIBRARY}) 47 include_directories(BEFORE ${EGL_INCLUDE_PATH}) 48endif () 49 50set(TCUTIL_PLATFORM_SRCS 51 nullws/tcuNullWSPlatform.cpp 52 nullws/tcuNullWSPlatform.hpp 53) 54