Rename test .c sources to .cpp where necessary (#604)

Remove hacks to force language from CMake files.

Closes KhronosGroup/OpenCL-CTS#25
This commit is contained in:
James Price
2020-02-21 12:34:31 -05:00
committed by GitHub
parent b2cb18073c
commit 40f50d77a3
228 changed files with 197 additions and 210 deletions

View File

@@ -1,43 +1,43 @@
set(MODULE_NAME BRUTEFORCE)
set(${MODULE_NAME}_SOURCES
FunctionList.c
Sleep.c
binary.c
binaryOperator.c
Utility.c
binary_i.c
binary_two_results_i.c
i_unary.c
macro_binary.c
macro_unary.c
mad.c
main.c
reference_math.c
ternary.c
unary.c
unary_two_results.c
unary_two_results_i.c
unary_u.c
FunctionList.cpp
Sleep.cpp
binary.cpp
binaryOperator.cpp
Utility.cpp
binary_i.cpp
binary_two_results_i.cpp
i_unary.cpp
macro_binary.cpp
macro_unary.cpp
mad.cpp
main.cpp
reference_math.cpp
ternary.cpp
unary.cpp
unary_two_results.cpp
unary_two_results_i.cpp
unary_u.cpp
)
if (NOT ANDROID)
set_source_files_properties(
FunctionList.c
Sleep.c
binary.c
binaryOperator.c
Utility.c
binary_i.c
binary_two_results_i.c
i_unary.c
macro_binary.c
macro_unary.c
mad.c
main.c reference_math.c
ternary.c unary.c unary_two_results.c
unary_two_results_i.c unary_u.c
FunctionList.cpp
Sleep.cpp
binary.cpp
binaryOperator.cpp
Utility.cpp
binary_i.cpp
binary_two_results_i.cpp
i_unary.cpp
macro_binary.cpp
macro_unary.cpp
mad.cpp
main.cpp reference_math.cpp
ternary.cpp unary.cpp unary_two_results.cpp
unary_two_results_i.cpp unary_u.cpp
COMPILE_FLAGS -msse2 )
endif(NOT ANDROID)