Files
OpenCL-CTS/test_conformance/integer_ops/CMakeLists.txt
ellnor01 617e7cb233 Re-enabling narrowing errors (#1144)
Fixes narrowing conversion build errors in test_common

Removing disable of narrowing errors in main CMakeLists.txt
and moving it down to specific test_conformance suite's 
CMakeLists.txt where there are many more build errors revealed
from this fix. 

Fixes a few simple issues under test_conformance in the process.

Contributes #787

Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>

---------

Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
2024-10-08 09:54:32 -07:00

26 lines
659 B
CMake

set(MODULE_NAME INTEGER_OPS)
if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "(Apple)?Clang")
add_cxx_flag_if_supported(-Wno-narrowing)
endif()
set(${MODULE_NAME}_SOURCES
main.cpp
test_int_basic_ops.cpp
test_integers.cpp
test_upsample.cpp
test_intmul24.cpp test_intmad24.cpp
test_sub_sat.cpp test_add_sat.cpp
test_abs.cpp test_absdiff.cpp
test_unary_ops.cpp
verification_and_generation_functions.cpp
test_popcount.cpp
test_integer_dot_product.cpp
test_extended_bit_ops_extract.cpp
test_extended_bit_ops_insert.cpp
test_extended_bit_ops_reverse.cpp
)
include(../CMakeCommon.txt)