mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
These targets should be built on demand when another target requires this or explicitly requested. This applies to STATIC and OBJECT libraries. Change-Id: Ia0eb4e803b09c0ce594fd348ad53c10cdf5b3a9f Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
15 lines
385 B
CMake
15 lines
385 B
CMake
#
|
|
# Copyright (C) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
add_library(gmock-gtest STATIC EXCLUDE_FROM_ALL
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
${CMAKE_CURRENT_SOURCE_DIR}/gmock-gtest-all.cc
|
|
${CMAKE_CURRENT_SOURCE_DIR}/gtest/gtest.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/gmock/gmock.h
|
|
)
|
|
target_include_directories(gmock-gtest PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|