mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
unify ioctl helper xe logic Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
27 lines
782 B
CMake
27 lines
782 B
CMake
#
|
|
# Copyright (C) 2023-2024 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
set(NEO_CORE_OS_INTERFACE_LINUX_XE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
${CMAKE_CURRENT_SOURCE_DIR}/create_ioctl_helper_xe.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/drm_version_xe.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ioctl_helper_xe.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ioctl_helper_xe.h
|
|
)
|
|
|
|
if(NEO_ENABLE_XE_EU_DEBUG_SUPPORT)
|
|
list(APPEND NEO_CORE_OS_INTERFACE_LINUX_XE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ioctl_helper_xe_debugger.cpp
|
|
)
|
|
else()
|
|
list(APPEND NEO_CORE_OS_INTERFACE_LINUX_XE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ioctl_helper_xe_debugger_stubs.cpp
|
|
)
|
|
endif()
|
|
|
|
set_property(GLOBAL APPEND PROPERTY NEO_CORE_OS_INTERFACE_LINUX ${NEO_CORE_OS_INTERFACE_LINUX_XE})
|
|
add_subdirectories()
|