diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index ab1e43ddc12..ec80e6c12ce 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -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 #