diff --git a/docs/articles_en/documentation/openvino-extensibility.rst b/docs/articles_en/documentation/openvino-extensibility.rst index 40dac8bccbc3b5..216135009b1806 100644 --- a/docs/articles_en/documentation/openvino-extensibility.rst +++ b/docs/articles_en/documentation/openvino-extensibility.rst @@ -166,6 +166,15 @@ This CMake script finds OpenVINO, using the ``find_package`` CMake command. $ cmake -DOpenVINO_DIR= ../ $ cmake --build . +The OpenVINO python distribution could be also used. The following code snippet demonstrates how to get the OpenVINO_DIR: + +.. code-block:: sh + + $ cd src/core/template_extension/new + $ mkdir build + $ cd build + $ cmake -DOpenVINO_DIR=$(python3 -c "from openvino.utils import get_cmake_path; print(get_cmake_path(), end='')") ../ + $ cmake --build . 4. After the build, you may use the path to your extension library to load your extensions to OpenVINO Runtime: diff --git a/docs/articles_en/get-started/install-openvino/install-openvino-pip.rst b/docs/articles_en/get-started/install-openvino/install-openvino-pip.rst index be94336cb11c72..522817a2cec2be 100644 --- a/docs/articles_en/get-started/install-openvino/install-openvino-pip.rst +++ b/docs/articles_en/get-started/install-openvino/install-openvino-pip.rst @@ -16,6 +16,19 @@ Install Intel® Distribution of OpenVINO™ Toolkit from PyPI Repository (all x86_64 / arm64 architectures) * macOS offers support only for CPU inference +| **Simplified Build and Integration** +| The package includes CMake configurations, precompiled static libraries, and headers, which + can be easily accessed through the Python API. You can use the `get_cmake_path()` method to + retrieve the paths to the CMake configurations and libraries: + +.. code-block:: python + + from openvino import get_cmake_path + cmake_path = get_cmake_path() + +For detailed instructions on how to use these configurations in your build setup, check out the +:ref:`Create a library with extensions ` section. + .. tab-set:: .. tab-item:: System Requirements diff --git a/docs/articles_en/openvino-workflow/running-inference/integrate-openvino-with-your-application.rst b/docs/articles_en/openvino-workflow/running-inference/integrate-openvino-with-your-application.rst index 152d8bd8f48e56..4c720f9f5dd0bc 100644 --- a/docs/articles_en/openvino-workflow/running-inference/integrate-openvino-with-your-application.rst +++ b/docs/articles_en/openvino-workflow/running-inference/integrate-openvino-with-your-application.rst @@ -416,6 +416,12 @@ For details on additional CMake build options, refer to the `CMake page