ab92e78a3b24483633a9a817900c034cf9ae7731
[platform/upstream/dldt.git] / inference-engine / tests / CMakeLists.txt
1 # Copyright (C) 2018-2019 Intel Corporation
2 # SPDX-License-Identifier: Apache-2.0
3 #
4
5 ####################################
6 ## All next project will use C++11
7 set (CMAKE_CXX_STANDARD 11)
8 set (CMAKE_CXX_STANDARD_REQUIRED ON)
9 ####################################
10
11
12 set (gtest_force_shared_crt ON CACHE BOOL "disable static CRT for google test")
13
14 add_subdirectory(mock_engine)
15
16 #####################################################################################################
17 #                                     SETUP GOOGLE TESTS                                            #
18 #####################################################################################################
19
20 add_subdirectory(libs/gtest)
21
22 #####################################################################################################
23 #                                     SETUP GOOGLE TESTS                                            #
24 #####################################################################################################
25 enable_testing()
26
27
28 add_subdirectory(helpers)
29
30 disable_deprecated_warnings()
31
32 if(ENABLE_TESTS)
33   add_subdirectory(unit)
34 endif()