mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
* gles: Fix compile warnings. For 32 and 64-bit Visual Studio and the Android Q NDK. * Fix formatting violations Co-authored-by: spauls <spauls@qti.qualcomm.com>
28 lines
734 B
CMake
28 lines
734 B
CMake
set (MODULE_NAME GLES)
|
|
|
|
set (${MODULE_NAME}_SOURCES
|
|
main.cpp
|
|
test_buffers.cpp
|
|
test_images_2D.cpp
|
|
test_images_3D.cpp
|
|
test_renderbuffer.cpp
|
|
test_images_2D_info.cpp
|
|
test_images_3D_info.cpp
|
|
test_renderbuffer_info.cpp
|
|
test_fence_sync.cpp
|
|
helpers.cpp
|
|
setup_egl.cpp
|
|
../../test_common/gles/helpers.cpp
|
|
)
|
|
|
|
list(APPEND CLConform_LIBRARIES EGL GLESv2)
|
|
|
|
include(../CMakeCommon.txt)
|
|
|
|
if(DEFINED USE_GLES3)
|
|
target_compile_definitions(${${MODULE_NAME}_OUT} PRIVATE GLES3)
|
|
endif()
|
|
if(MSVC)
|
|
# Don't warn about using the portable "strdup" function.
|
|
target_compile_definitions(${${MODULE_NAME}_OUT} PRIVATE _CRT_NONSTDC_NO_DEPRECATE)
|
|
endif() |