mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Only disable `-Wunused-but-set-variable` for tests that do not compile cleanly with this warning enabled. This re-enables the warning for most other tests, so that it can catch any new occurrences. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
22 lines
438 B
CMake
22 lines
438 B
CMake
set(MODULE_NAME CL_COPY_IMAGES)
|
|
|
|
set(${MODULE_NAME}_SOURCES
|
|
main.cpp
|
|
test_copy_1D.cpp
|
|
test_copy_1D_array.cpp
|
|
test_copy_2D.cpp
|
|
test_copy_2D_2D_array.cpp
|
|
test_copy_2D_3D.cpp
|
|
test_copy_2D_array.cpp
|
|
test_copy_3D.cpp
|
|
test_copy_3D_2D_array.cpp
|
|
test_copy_generic.cpp
|
|
test_loops.cpp
|
|
../common.cpp
|
|
)
|
|
|
|
set_gnulike_module_compile_flags("-Wno-unused-but-set-variable")
|
|
|
|
include(../../CMakeCommon.txt)
|
|
|