mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
The maintenance of the conformance tests is moving to Github. This commit contains all the changes that have been done in Gitlab since the first public release of the conformance tests. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
42 lines
1.1 KiB
CMake
42 lines
1.1 KiB
CMake
set(MODULE_NAME CONVERSIONS)
|
|
|
|
# VS2005 AMD64 WAR (basic_test_conversions.c causes internal compiler error)
|
|
if(MSVC)
|
|
set(CMAKE_C_FLAGS_RELEASE "/Od /Ob0")
|
|
set(CMAKE_CXX_FLAGS_RELEASE "/Od /Ob0")
|
|
else(MSVC)
|
|
set(CMAKE_C_FLAGS_RELEASE "-O0")
|
|
set(CMAKE_CXX_FLAGS_RELEASE "-O0")
|
|
endif(MSVC)
|
|
|
|
set (${MODULE_NAME}_SOURCES
|
|
Sleep.c test_conversions.c basic_test_conversions.c
|
|
../../test_common/harness/ThreadPool.c
|
|
../../test_common/harness/rounding_mode.c
|
|
../../test_common/harness/mt19937.c
|
|
../../test_common/harness/msvc9.c
|
|
../../test_common/harness/mingw_compat.c
|
|
../../test_common/harness/errorHelpers.c
|
|
../../test_common/harness/kernelHelpers.c
|
|
../../test_common/harness/testHarness.c
|
|
../../test_common/harness/parseParameters.cpp
|
|
)
|
|
|
|
if(ANDROID)
|
|
list(APPEND CONVERSIONS_SOURCES fplib.c)
|
|
endif(ANDROID)
|
|
|
|
if(WIN32)
|
|
set_source_files_properties(
|
|
${MODULE_NAME}_SOURCES
|
|
PROPERTIES LANGUAGE CXX)
|
|
endif(WIN32)
|
|
|
|
if(NOT ANDROID)
|
|
set_source_files_properties(
|
|
Sleep.c test_conversions.c basic_test_conversions.c
|
|
COMPILE_FLAGS -msse2)
|
|
endif(NOT ANDROID)
|
|
|
|
include(../CMakeCommon.txt)
|