Add missing gen specific headers to solution

Change-Id: I2d733db057e265efa4493597927d7f9baeb94e2b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski 2020-01-21 17:02:55 +01:00 committed by sys_ocldev
parent 6464fda1b2
commit 257275fa26
1 changed files with 6 additions and 10 deletions

View File

@ -20,6 +20,7 @@ set(RUNTIME_SRCS_GENX_H_BASE
set(CORE_SRCS_GENX_H_BASE
hw_cmds.h
hw_info.h
hw_cmds_base.h
)
set(RUNTIME_SRCS_GENX_CPP_BASE
@ -81,18 +82,13 @@ macro(macro_for_each_gen)
endforeach()
foreach(SRC_IT "state_compute_mode_helper_${GEN_TYPE_LOWER}.cpp")
if(EXISTS ${GENX_PREFIX}/${SRC_IT})
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE ${GENX_PREFIX}/${SRC_IT})
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_CPP_BASE ${GENX_PREFIX}/${SRC_IT})
endif()
endforeach()
if(EXISTS "${GENERATED_GENX_PREFIX}/hw_cmds_generated_${GEN_TYPE_LOWER}.inl")
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE "${GENERATED_GENX_PREFIX}/hw_cmds_generated_${GEN_TYPE_LOWER}.inl")
endif()
if(EXISTS "${GENX_PREFIX}/hw_cmds_base.h")
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE "${GENX_PREFIX}/hw_cmds_base.h")
endif()
if(EXISTS "${GENX_PREFIX}/hw_info_${GEN_TYPE_LOWER}.h")
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE "${GENX_PREFIX}/hw_info_${GEN_TYPE_LOWER}.h")
endif()
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE "${GENERATED_GENX_PREFIX}/hw_cmds_generated_${GEN_TYPE_LOWER}.inl")
list(APPEND RUNTIME_SRCS_${GEN_TYPE}_H_BASE "${CORE_GENX_PREFIX}/hw_info_${GEN_TYPE_LOWER}.h")
if(EXISTS "${GENX_PREFIX}/additional_files_${GEN_TYPE_LOWER}.cmake")
include("${GENX_PREFIX}/additional_files_${GEN_TYPE_LOWER}.cmake")
endif()