blob: cabd78b102bfa06bd66dc74cd2355909a75d04aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright (C) 2018 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
####################################
## All next project will use C++11
set (CMAKE_CXX_STANDARD 11)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
####################################
add_subdirectory(inference_engine)
if(ENABLE_MKL_DNN)
add_subdirectory(mkldnn_plugin)
endif()
if(ENABLE_CLDNN)
add_subdirectory(cldnn_engine)
endif()
if (ENABLE_GNA)
add_subdirectory(gna_plugin)
endif()
add_subdirectory(hetero_plugin)
set(InferenceEngine_LIBRARIES inference_engine)
set(InferenceEngine_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/include)
set(InferenceEngine_SRC_DIRS ${CMAKE_SOURCE_DIR}/src)
# Fake set_target_cpu_flags() function. Currently it is used only for sample build.
# When IE will provide architecture optimized binary for each platform it will be switched on.
function(set_target_cpu_flags TARGET_NAME)
endfunction()
add_subdirectory(extension EXCLUDE_FROM_ALL)
add_library(IE::ie_cpu_extension ALIAS ie_cpu_extension)
|