Make base class for gmm_memory

Change-Id: I307f616be27d5fed126f0e36bff0d182ab7a8b53
This commit is contained in:
Zdanowicz, Zbigniew
2018-01-23 21:42:40 +01:00
committed by sys_ocldev
parent 377fc8d20b
commit 4ad96b75f5
16 changed files with 97 additions and 55 deletions

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2017, Intel Corporation
# Copyright (c) 2017 - 2018, Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
@@ -37,11 +37,14 @@ target_compile_definitions(igdrcl_tbx_tests PRIVATE MOCKABLE_VIRTUAL=virtual)
if(UNIX)
target_link_libraries(igdrcl_tbx_tests dl pthread)
elseif(WIN32)
target_include_directories(igdrcl_tbx_tests PRIVATE
${IGDRCL_SOURCE_DIR}/unit_tests/mocks${BRANCH_DIR_SUFFIX}
)
target_sources(igdrcl_tbx_tests PUBLIC
${IGDRCL_SOURCE_DIR}/unit_tests/os_interface/windows/wddm_create.cpp
${IGDRCL_SOURCE_DIR}/unit_tests/os_interface/windows/ult_dxgi_factory.cpp
${IGDRCL_SOURCE_DIR}/unit_tests/mocks/mock_gmm_page_table_mngr.cpp
${IGDRCL_SOURCE_DIR}/unit_tests/mocks/mock_gmm_memory.cpp
${IGDRCL_SOURCE_DIR}/unit_tests/mocks${BRANCH_DIR_SUFFIX}/mock_gmm_memory.cpp
)
target_link_libraries(igdrcl_tbx_tests Ws2_32)
endif(UNIX)