* [ci-skip][IE TESTS] move beh_test_plugin * [ci-skip][IE TESTS] move BehaviorHolderTest * [ci-skip][IE TESTS] fix GNA layout test * [ci-skip][IE TESTS] fix cmake * [ci-skip][IE TESTS] fix lib in IEBehaviorTest * [ci-skip][IE TESTS] separate layout and cpp_wrapers test and fix namespace * [ci-skip][IE TESTS] fix holders test * [ci-skip][IE TESTS] fix namespace * [ci-skip][IE TESTS] fix codestyle * [ci-skip][IE TESTS] fix test_plugin * [ci-skip][IE TESTS] fix test_plugin v2 * [ci-skip][IE TESTS] disabled gpu instance for test_plugin * [ci-skip][IE TESTS] fix
37 lines
782 B
CMake
37 lines
782 B
CMake
# Copyright (C) 2018 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# [cmake:main]
|
|
if (APPLE)
|
|
# due to https://cmake.org/cmake/help/v3.12/policy/CMP0068.html
|
|
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
|
else()
|
|
cmake_minimum_required(VERSION 3.7.2 FATAL_ERROR)
|
|
endif()
|
|
|
|
project(InferenceEngineTemplatePlugin)
|
|
|
|
set(IE_MAIN_TEMPLATE_PLUGIN_SOURCE_DIR ${InferenceEngineTemplatePlugin_SOURCE_DIR})
|
|
|
|
find_package(InferenceEngineDeveloperPackage REQUIRED)
|
|
|
|
add_subdirectory(src)
|
|
|
|
if(ENABLE_TESTS)
|
|
include(CTest)
|
|
enable_testing()
|
|
|
|
if(ENABLE_FUNCTIONAL_TESTS)
|
|
add_subdirectory(tests_deprecated/functional)
|
|
add_subdirectory(tests/functional)
|
|
endif()
|
|
|
|
endif()
|
|
# [cmake:main]
|
|
|
|
# install
|
|
|
|
# ATTENTION: uncomment to install component
|
|
# ie_cpack(template)
|