mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Remove compute_runtime_mockable_extra lib
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
32ae9555f1
commit
ae610ea602
@@ -10,7 +10,31 @@ set(NEO_SHARED_aub_tests_configurations
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/aub_tests_configuration.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/aub_tests_configuration.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test_mode.h
|
||||
${NEO_SOURCE_DIR}/shared/source/aub/aub_stream_interface.cpp
|
||||
${NEO_SHARED_DIRECTORY}/gmm_helper/resource_info.cpp
|
||||
)
|
||||
|
||||
if(UNIX)
|
||||
list(APPEND NEO_SHARED_aub_tests_configurations
|
||||
${NEO_SHARED_DIRECTORY}/os_interface/linux/gmm_interface_linux.cpp
|
||||
)
|
||||
else()
|
||||
list(APPEND NEO_SHARED_aub_tests_configurations
|
||||
${NEO_SHARED_DIRECTORY}/os_interface/windows/gmm_interface_win.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
add_subdirectories()
|
||||
set_property(GLOBAL PROPERTY NEO_SHARED_aub_tests_configurations ${NEO_SHARED_aub_tests_configurations})
|
||||
add_library(neo_aub_tests_config OBJECT EXCLUDE_FROM_ALL ${NEO_SHARED_aub_tests_configurations})
|
||||
|
||||
set_target_properties(neo_aub_tests_config PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
set_target_properties(neo_aub_tests_config PROPERTIES FOLDER ${SHARED_TEST_PROJECTS_FOLDER})
|
||||
set_property(TARGET neo_aub_tests_config APPEND_STRING PROPERTY COMPILE_FLAGS ${ASAN_FLAGS} ${TSAN_FLAGS})
|
||||
target_include_directories(neo_aub_tests_config PUBLIC
|
||||
$<TARGET_PROPERTY:${NEO_SHARED_MOCKABLE_LIB_NAME},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
$<TARGET_PROPERTY:gmock-gtest,INTERFACE_INCLUDE_DIRECTORIES>
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/test_macros/header${BRANCH_DIR_SUFFIX}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
target_compile_definitions(neo_aub_tests_config PRIVATE $<TARGET_PROPERTY:${NEO_SHARED_MOCKABLE_LIB_NAME},INTERFACE_COMPILE_DEFINITIONS>)
|
||||
create_project_source_tree(neo_aub_tests_config)
|
||||
|
||||
Reference in New Issue
Block a user