mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

- Add new macro to define custom name - Add handling for custom name - Remove gen from generic name Resolves: NEO-5251 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
26 lines
842 B
CMake
26 lines
842 B
CMake
#
|
|
# Copyright (C) 2017-2020 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
set(IGDRCL_SRCS_tests_device
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
${CMAKE_CURRENT_SOURCE_DIR}/device_caps_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/device_get_engine_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/device_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/device_timers_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/get_device_info_size_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/get_device_info_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/sub_device_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/get_device_name_tests.cpp
|
|
)
|
|
|
|
if(WIN32)
|
|
list(APPEND IGDRCL_SRCS_tests_device
|
|
${CMAKE_CURRENT_SOURCE_DIR}/device_win_timers_tests.cpp
|
|
)
|
|
endif()
|
|
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_device})
|
|
add_subdirectories()
|