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,18 +1,21 @@
add_executable(conformance_Test_half
cl_utils.c Test_vLoadHalf.c Test_roundTrip.c
Test_vStoreHalf.c main.c
../../test_common/harness/msvc9.c
../../test_common/harness/mingw_compat.c
../../test_common/harness/errorHelpers.c
)
if(MSVC)
set_source_files_properties(
cl_utils.c Test_vLoadHalf.c Test_roundTrip.c
Test_vStoreHalf.c main.c
../../test_common/harness/mingw_compat.c
../../test_common/harness/msvc9.c
PROPERTIES LANGUAGE CXX)
endif(MSVC)
TARGET_LINK_LIBRARIES(conformance_Test_half
${CLConform_LIBRARIES})
add_executable(conformance_test_half
cl_utils.c Test_vLoadHalf.c Test_roundTrip.c
Test_vStoreHalf.c main.c
../../test_common/harness/msvc9.c
../../test_common/harness/mingw_compat.c
../../test_common/harness/errorHelpers.c
)
if(MSVC)
set_source_files_properties(
cl_utils.c Test_vLoadHalf.c Test_roundTrip.c
Test_vStoreHalf.c main.c
../../test_common/harness/mingw_compat.c
../../test_common/harness/msvc9.c
PROPERTIES LANGUAGE CXX)
endif(MSVC)
TARGET_LINK_LIBRARIES(conformance_test_half
${CLConform_LIBRARIES})
install(TARGETS conformance_test_half
DESTINATION "${CLConf_OUT_DIR}")