Files
OpenCL-CTS/test_conformance/gles/CMakeLists.txt
Sreelakshmi Haridas Maruthur 6c8045911a gles: Fix compile warnings. (#1070)
* 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>
2021-05-18 18:10:24 +01:00

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()