* OV new package structure * Fixes * More fixes * Fixed code style in ngraph tests * Fixes * Paths to setupvars inside demo scripts * Fixed demo_security_barrier_camera.sh * Added setupvars.sh to old location as well * Fixed path * Fixed MO install path in .co * Fixed install of public headers * Fixed frontends installation * Updated DM config files * Keep opencv in the root * Improvements * Fixes for demo scripts * Added path to TBB * Fix for MO unit-tests * Fixed tests on Windows * Reverted arch * Removed arch * Reverted arch back: second attemp * System type * Fix for Windows * Resolve merge conflicts * Fixed path * Path for Windows * Added debug for Windows * Added requirements_dev.txt to install * Fixed wheel's setup.py * Fixed lin build * Fixes after merge * Fix 2 * Fixes * Frontends path * Fixed deployment manager * Fixed Windows * Added cldnn unit tests installation * Install samples * Fix samples * Fix path for samples * Proper path * Try to fix MO hardcodes * samples binary location * MO print * Added install for libopencv_c_wrapper.so * Added library destination * Fixed install rule for samples * Updated demo scripts readme.md * Samples * Keep source permissions for Python samples * Fixed python * Updated path to fast run scripts * Fixed C samples tests * Removed debug output * Small fixes * Try to unify prefix
69 lines
2.1 KiB
CMake
69 lines
2.1 KiB
CMake
# Copyright (C) 2018-2021 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
#
|
|
# Shellcheck
|
|
#
|
|
|
|
ie_shellcheck_process(DIRECTORY "${OpenVINO_SOURCE_DIR}"
|
|
SKIP "${OpenVINO_SOURCE_DIR}/bin"
|
|
"${OpenVINO_SOURCE_DIR}/build"
|
|
"${OpenVINO_SOURCE_DIR}/thirdparty"
|
|
"${OpenVINO_SOURCE_DIR}/runtime/bindings/python/thirdparty/pybind11"
|
|
"${IE_MAIN_SOURCE_DIR}/thirdparty"
|
|
"${TEMP}"
|
|
# TODO fix and enable back:
|
|
"${OpenVINO_SOURCE_DIR}/inference-engine/scripts/dependencies.sh"
|
|
"${OpenVINO_SOURCE_DIR}/scripts/install_dependencies/install_NEO_OCL_driver.sh"
|
|
"${OpenVINO_SOURCE_DIR}/scripts/install_dependencies/install_openvino_dependencies.sh"
|
|
"${OpenVINO_SOURCE_DIR}/runtime/bindings/python/tests/test_onnx/model_zoo_preprocess.sh"
|
|
)
|
|
|
|
#
|
|
# cpack
|
|
#
|
|
|
|
# install setupvars
|
|
|
|
ie_cpack_add_component(setupvars REQUIRED)
|
|
|
|
if(UNIX)
|
|
install(PROGRAMS setupvars/setupvars.sh
|
|
DESTINATION .
|
|
COMPONENT setupvars)
|
|
elseif(WIN32)
|
|
install(PROGRAMS setupvars/setupvars.bat
|
|
DESTINATION .
|
|
COMPONENT setupvars)
|
|
endif()
|
|
|
|
# install install_dependencies
|
|
|
|
if(UNIX)
|
|
ie_cpack_add_component(install_dependencies REQUIRED)
|
|
install(DIRECTORY install_dependencies/
|
|
DESTINATION install_dependencies
|
|
COMPONENT install_dependencies)
|
|
endif()
|
|
|
|
# install files for demo
|
|
|
|
ie_cpack_add_component(demo_scripts DEPENDS core)
|
|
|
|
if(UNIX)
|
|
install(DIRECTORY demo/
|
|
DESTINATION samples/scripts
|
|
COMPONENT demo_scripts
|
|
USE_SOURCE_PERMISSIONS
|
|
PATTERN demo_security_barrier_camera.* EXCLUDE
|
|
PATTERN *.bat EXCLUDE)
|
|
elseif(WIN32)
|
|
install(DIRECTORY demo/
|
|
DESTINATION samples/scripts
|
|
COMPONENT demo_scripts
|
|
USE_SOURCE_PERMISSIONS
|
|
PATTERN demo_security_barrier_camera.* EXCLUDE
|
|
PATTERN *.sh EXCLUDE)
|
|
endif()
|