Files
OpenCL-CTS/test_extensions/media_sharing/CMakeLists.txt
Grzegorz Wawiorko bcf994c3a3 Fix building media sharing tests (#389)
* Add media_sharing to cmakes

* Adjust cases to ADD_TEST macro

* Review fixes
2019-07-29 16:07:52 +01:00

37 lines
1.1 KiB
CMake

if(WIN32)
list(APPEND CLConform_LIBRARIES d3d9.lib dxva2.lib )
set (MEDIA_SOURCES
main.cpp
wrappers.cpp
utils.cpp
test_create_context.cpp
test_functions_api.cpp
test_functions_kernel.cpp
test_get_device_ids.cpp
test_interop_sync.cpp
test_memory_access.cpp
test_other_data_types.cpp
../../test_common/harness/errorHelpers.c
../../test_common/harness/kernelHelpers.c
../../test_common/harness/testHarness.c
../../test_common/harness/rounding_mode.c
../../test_common/harness/typeWrappers.cpp
../../test_common/harness/mt19937.c
../../test_common/harness/parseParameters.cpp
../../test_common/harness/crc32.c
../../test_common/harness/msvc9.c
)
add_executable(conformance_test_media_surface_sharing
${MEDIA_SOURCES})
set_source_files_properties(
${MEDIA_SOURCES}
PROPERTIES LANGUAGE CXX)
TARGET_LINK_LIBRARIES(conformance_test_media_surface_sharing
${CLConform_LIBRARIES})
endif(WIN32)