* Renamed options * Fixed configs * Renamed unit tests * Fixed cmake generation * Fixed comments * Fixed comments
34 lines
732 B
CMake
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()
|