openvino/docs/OV_Runtime_UG/Extensibility_DG/Building.md

620 B

Build Extension Library Using CMake*

Inference Engine build infrastructure provides the Inference Engine Package for application development.

To configure the build of your extension library, use the following CMake script:

@snippet template_extension/old/CMakeLists.txt cmake:extension

This CMake script finds the Inference Engine and nGraph using the find_package CMake command.

To build the extension library, run the commands below:

$ cd template_extension/old
$ mkdir build
$ cd build
$ cmake -DOpenVINO_DIR=[OpenVINO_DIR]  ../
$ cmake --build .