1set (MODULE_NAME GLES) 2 3set (${MODULE_NAME}_SOURCES 4 main.cpp 5 test_buffers.cpp 6 test_images_2D.cpp 7 test_images_3D.cpp 8 test_renderbuffer.cpp 9 test_images_2D_info.cpp 10 test_images_3D_info.cpp 11 test_renderbuffer_info.cpp 12 test_fence_sync.cpp 13 helpers.cpp 14 setup_egl.cpp 15 ../../test_common/gles/helpers.cpp 16 ) 17 18list(APPEND CLConform_LIBRARIES EGL GLESv2) 19 20include(../CMakeCommon.txt) 21 22if(DEFINED USE_GLES3) 23 target_compile_definitions(${${MODULE_NAME}_OUT} PRIVATE GLES3) 24endif() 25if(MSVC) 26 # Don't warn about using the portable "strdup" function. 27 target_compile_definitions(${${MODULE_NAME}_OUT} PRIVATE _CRT_NONSTDC_NO_DEPRECATE) 28endif()