forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
25 lines (21 loc) · 838 Bytes
/
CMakeLists.txt
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
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
add_subdirectory(unit)
if(ENABLE_FUNCTIONAL_TESTS)
function(ov_cpu_func_tests)
if(CMAKE_COMPILER_IS_GNUCXX)
ov_add_compiler_flags(-Wno-unused-function)
ov_add_compiler_flags(-Wno-parentheses)
ov_add_compiler_flags(-Wno-unused-local-typedefs)
ov_add_compiler_flags(-Wno-reorder)
ov_add_compiler_flags(-Wno-comment)
ov_add_compiler_flags(-Wno-unused-local-typedefs)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR OV_COMPILER_IS_CLANG AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13.0)
ov_add_compiler_flags(-Wno-unused-but-set-variable)
endif()
add_subdirectory(functional)
endfunction()
ov_cpu_func_tests()
endif()