* Generate openvino.pc pkg-config file * Added libva-dev as a dependency * Fixed typo in install_build_dependencies.sh * samples on CI * Revert changes in samples; use pkg-config in tests * Debug print * Revert changes in fuzz tests * Fixed TBB usage * Fixed pkg-config usage for cross-compilation * Fixed pkg_config_tbb_lib_dir * Don't use PKG_CONFIG_EXECUTABLE unconditionally * Fixed copy-patse * Fixe * Generate pkg-config file for Apple as well * Fixes for ubuntu 22.04 * Disable apple
30 lines
1.1 KiB
CMake
30 lines
1.1 KiB
CMake
# Copyright (C) 2018-2022 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
set (CMAKE_CXX_STANDARD 11)
|
|
set (CMAKE_CXX_EXTENSIONS OFF)
|
|
set (CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|
set (CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
|
|
endif()
|
|
|
|
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "CMake build type")
|
|
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Release" "Debug" "RelWithDebInfo" "MinSizeRel")
|
|
|
|
project(memory_tests)
|
|
|
|
# Define directory where artifacts will be placed
|
|
set(OUTPUT_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
set(OpenVINO_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../")
|
|
|
|
add_subdirectory(src)
|
|
|
|
install(DIRECTORY test_runner/ DESTINATION tests/memory_tests/test_runner COMPONENT tests EXCLUDE_FROM_ALL)
|
|
install(DIRECTORY .automation/ DESTINATION tests/memory_tests/test_runner/.automation COMPONENT tests EXCLUDE_FROM_ALL)
|
|
install(DIRECTORY scripts/ DESTINATION tests/memory_tests/scripts COMPONENT tests EXCLUDE_FROM_ALL)
|
|
install(DIRECTORY ../utils/ DESTINATION tests/utils COMPONENT tests EXCLUDE_FROM_ALL)
|