Removed samples installation (#8675)

This commit is contained in:
Ilya Lavrenov 2021-11-18 18:42:45 +03:00 committed by GitHub
parent be786ee7af
commit 71c28b3f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,18 +3,9 @@
#
add_subdirectory(cpp)
add_subdirectory(c)
# TODO: remove this
foreach(sample benchmark_app classification_sample_async hello_classification
hello_nv12_input_classification hello_query_device hello_reshape_ssd
ngraph_function_creation_sample object_detection_sample_ssd
speech_sample style_transfer_sample)
if(TARGET ${sample})
install(TARGETS ${sample}
RUNTIME DESTINATION tests COMPONENT tests EXCLUDE_FROM_ALL)
endif()
endforeach()
# used by tests_deprecated
if(TARGET format_reader)
install(TARGETS format_reader
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT tests EXCLUDE_FROM_ALL
@ -23,22 +14,6 @@ endif()
openvino_developer_export_targets(COMPONENT openvino_common TARGETS format_reader ie_samples_utils)
add_subdirectory(c)
# TODO: remove this
foreach(sample hello_classification_c
object_detection_sample_ssd_c hello_nv12_input_classification_c)
if(TARGET ${sample})
install(TARGETS ${sample}
RUNTIME DESTINATION tests COMPONENT tests EXCLUDE_FROM_ALL)
endif()
endforeach()
if(TARGET opencv_c_wrapper)
install(TARGETS opencv_c_wrapper
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT tests EXCLUDE_FROM_ALL
LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT tests EXCLUDE_FROM_ALL)
endif()
#
# Install
#