Fixup CMake to work with OpenCL 1.2 branch.

This commit is contained in:
Neil Henning
2018-01-11 17:39:03 +00:00
committed by Kévin Petit
parent 5413bcf52e
commit b4e39211d7
36 changed files with 1716 additions and 1230 deletions

View File

@@ -1,32 +1,35 @@
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_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})
install(TARGETS conformance_test_commonfns
DESTINATION "${CLConf_OUT_DIR}")