Files
openvino/inference-engine/tests/unit/CMakeLists.txt
T
Ilya Churaev d502208f6e Remove ngraph options (#9016)
* Renamed options

* Fixed configs

* Renamed unit tests

* Fixed cmake generation

* Fixed comments

* Fixed comments
2021-12-08 08:17:31 +03:00

34 lines
732 B
CMake

# Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# RPATH is always enabled for unit tests
set(CMAKE_SKIP_RPATH OFF)
# because unit tests use plugins object files compiled with LTO
if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 9.0)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ${ENABLE_LTO})
endif()
add_subdirectory(inference_engine)
if (ENABLE_MKL_DNN)
add_subdirectory(cpu)
endif ()
if (ENABLE_INTEL_GNA)
add_subdirectory(gna)
endif ()
if (ENABLE_MYRIAD)
add_subdirectory(vpu)
endif ()
if(ENABLE_OV_ONNX_FRONTEND)
add_subdirectory(frontends/onnx_import)
endif()
if (ENABLE_AUTO OR ENABLE_MULTI)
add_subdirectory(auto)
endif()