2c6ba6a2c7fd3d4af4a08740eb5ecbb8b9a6bc72
[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 if(ENABLE_TESTS)
31   add_subdirectory(unit)
32 endif()