mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
Cmake refactor part 6
Add macro to add all subdirectories Add macro to create project source tree based on target sources Small cleanup runtime/CMakeLists.txt Change-Id: I9b99145c544f648c4c3fe7421752d0c5d9504edf
This commit is contained in:
committed by
sys_ocldev
parent
bb58c9fc2f
commit
d1aa5f978d
@@ -25,7 +25,6 @@ set(RUNTIME_SRCS_GMM_HELPER_BASE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/gmm_lib.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/resource_info.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/gmm_utils.cpp
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(RUNTIME_SRCS_GMM_HELPER_WINDOWS
|
||||
@@ -34,3 +33,8 @@ set(RUNTIME_SRCS_GMM_HELPER_WINDOWS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/gmm_memory_base.h
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_GMM_HELPER_BASE})
|
||||
if(WIN32)
|
||||
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_GMM_HELPER_WINDOWS})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user