mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
CMake: define enable core files only once
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
84a1ccb991
commit
aae7858ed9
@@ -40,7 +40,7 @@ macro(macro_for_each_core_type)
|
||||
if(EXISTS ${SRC_FILE})
|
||||
list(APPEND neo_libult_common_SRCS_ENABLE_TESTED_HW ${SRC_FILE})
|
||||
endif()
|
||||
foreach(SRC_IT "enable_" "enable_family_full_core_" "implicit_scaling_")
|
||||
foreach(SRC_IT "enable_family_full_core_" "implicit_scaling_")
|
||||
set(SRC_FILE ${NEO_SHARED_DIRECTORY}${BRANCH}${CORE_TYPE_LOWER}${BRANCH_DIR}${SRC_IT}${CORE_TYPE_LOWER}.cpp)
|
||||
if(EXISTS ${SRC_FILE})
|
||||
list(APPEND neo_libult_common_SRCS_ENABLE_TESTED_HW ${SRC_FILE})
|
||||
@@ -58,6 +58,8 @@ endmacro()
|
||||
|
||||
apply_macro_for_each_core_type("TESTED")
|
||||
|
||||
append_sources_from_properties(neo_libult_common_SRCS_ENABLE_TESTED_HW NEO_SRCS_ENABLE_CORE)
|
||||
|
||||
set(neo_libult_common_SRCS_LIB_ULT
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/fixtures/aub_command_stream_receiver_fixture.h
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/fixtures/device_fixture.cpp
|
||||
|
||||
Reference in New Issue
Block a user