mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-20 22:39:03 +00:00
38 lines
1.4 KiB
CMake
38 lines
1.4 KiB
CMake
add_executable(conformance_test_commonfns
|
|
main.c test_clamp.c test_degrees.c
|
|
test_max.c test_maxf.c test_min.c test_minf.c
|
|
test_mix.c test_radians.c test_step.c test_stepf.c
|
|
test_smoothstep.c test_smoothstepf.c test_sign.c
|
|
test_fmax.c test_fmin.c test_fmaxf.c test_fminf.c test_binary_fn.c
|
|
../../test_common/harness/errorHelpers.c
|
|
../../test_common/harness/threadTesting.c
|
|
../../test_common/harness/testHarness.c
|
|
../../test_common/harness/kernelHelpers.c
|
|
../../test_common/harness/mt19937.c
|
|
../../test_common/harness/conversions.c
|
|
../../test_common/harness/msvc9.c
|
|
)
|
|
|
|
set_source_files_properties(
|
|
main.c test_clamp.c test_degrees.c
|
|
test_max.c test_maxf.c test_min.c test_minf.c
|
|
test_mix.c test_radians.c test_step.c test_stepf.c
|
|
test_smoothstep.c test_smoothstepf.c test_sign.c
|
|
test_fmax.c test_fmin.c test_fmaxf.c test_fminf.c test_binary_fn.c
|
|
../../test_common/harness/errorHelpers.c
|
|
../../test_common/harness/threadTesting.c
|
|
../../test_common/harness/testHarness.c
|
|
../../test_common/harness/kernelHelpers.c
|
|
../../test_common/harness/mt19937.c
|
|
../../test_common/harness/conversions.c
|
|
../../test_common/harness/msvc9.c
|
|
PROPERTIES LANGUAGE CXX)
|
|
|
|
TARGET_LINK_LIBRARIES(conformance_test_commonfns
|
|
${CLConform_LIBRARIES})
|
|
|
|
add_dependencies(OpenCLCTS conformance_test_commonfns)
|
|
install(TARGETS conformance_test_commonfns
|
|
DESTINATION "${CLConf_OUT_DIR}"
|
|
COMPONENT OpenCLCTS)
|