mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
29 lines
881 B
CMake
29 lines
881 B
CMake
#
|
|
# Copyright (C) 2018-2022 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}/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}/windows/device_windows_tests.cpp
|
|
)
|
|
else()
|
|
list(APPEND IGDRCL_SRCS_tests_device
|
|
${CMAKE_CURRENT_SOURCE_DIR}/linux/device_linux_tests.cpp
|
|
)
|
|
endif()
|
|
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_device})
|
|
add_subdirectories()
|