Files
OpenCL-CTS/test_conformance/gles/CMakeLists.txt
2017-05-16 18:50:35 +05:30

34 lines
997 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
../../test_common/harness/genericThread.cpp
../../test_common/harness/errorHelpers.c
../../test_common/harness/threadTesting.c
../../test_common/harness/testHarness.c
../../test_common/harness/kernelHelpers.c
../../test_common/harness/mt19937.c
../../test_common/harness/conversions.c
../../test_common/harness/msvc9.c
)
if(ANDROID)
list(APPEND CLConform_LIBRARIES GLESv2)
elseif(WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGLES3")
list(APPEND CLConform_LIBRARIES libEGL libGLESv2 )
endif(ANDROID)
include(../CMakeCommon.txt)