mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
- new feature, enabled with PRELIM build - implementation of debug session for linux - move ResourceClass enum from Drm to drm_debug.h Resolves: NEO-6814 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
28 lines
711 B
CMake
28 lines
711 B
CMake
#
|
|
# Copyright (C) 2021-2022 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
if(UNIX)
|
|
target_sources(${L0_STATIC_LIB_NAME}
|
|
PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
)
|
|
|
|
if(NEO_ENABLE_i915_PRELIM_DETECTION)
|
|
target_sources(${L0_STATIC_LIB_NAME}
|
|
PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/prelim/debug_session.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/prelim/debug_session.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/prelim/drm_helper.cpp
|
|
)
|
|
else()
|
|
target_sources(${L0_STATIC_LIB_NAME}
|
|
PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/debug_session.cpp
|
|
)
|
|
endif()
|
|
|
|
endif()
|