Add OpenCLCTS target and install component to CMake

This commit is contained in:
Alastair Murray
2018-03-02 18:32:39 +00:00
committed by Kévin Petit
parent b4e39211d7
commit b67a5f3761
38 changed files with 222 additions and 130 deletions

View File

@@ -48,5 +48,7 @@ set_source_files_properties(
TARGET_LINK_LIBRARIES(conformance_test_cl_copy_images
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_cl_copy_images)
install(TARGETS conformance_test_cl_copy_images
DESTINATION "${CLConf_OUT_DIR}")
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)

View File

@@ -42,5 +42,7 @@ set_source_files_properties(
TARGET_LINK_LIBRARIES(conformance_test_cl_fill_images
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_cl_fill_images)
install(TARGETS conformance_test_cl_fill_images
DESTINATION "${CLConf_OUT_DIR}")
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)

View File

@@ -39,5 +39,7 @@ set_source_files_properties(
TARGET_LINK_LIBRARIES(conformance_test_cl_get_info
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_cl_get_info)
install(TARGETS conformance_test_cl_get_info
DESTINATION "${CLConf_OUT_DIR}")
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)

View File

@@ -41,5 +41,7 @@ set_source_files_properties(
TARGET_LINK_LIBRARIES(conformance_test_cl_read_write_images
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_cl_read_write_images)
install(TARGETS conformance_test_cl_read_write_images
DESTINATION "${CLConf_OUT_DIR}")
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)

View File

@@ -41,5 +41,7 @@ set_source_files_properties(
TARGET_LINK_LIBRARIES(conformance_test_kernel_image_methods
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_kernel_image_methods)
install(TARGETS conformance_test_kernel_image_methods
DESTINATION "${CLConf_OUT_DIR}")
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)

View File

@@ -51,5 +51,7 @@ set_source_files_properties(
TARGET_LINK_LIBRARIES(conformance_test_image_streams
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_image_streams)
install(TARGETS conformance_test_image_streams
DESTINATION "${CLConf_OUT_DIR}")
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)

View File

@@ -43,5 +43,7 @@ set_source_files_properties(
TARGET_LINK_LIBRARIES(conformance_test_samplerless_reads
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_samplerless_reads)
install(TARGETS conformance_test_samplerless_reads
DESTINATION "${CLConf_OUT_DIR}")
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)