mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +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 @@ else()
|
||||
endif()
|
||||
|
||||
set(RUNTIME_SRCS_OS_INTERFACE_WINDOWS
|
||||
${RUNTIME_SRCS_OS_INTERFACE_WINDOWS}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/api.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/d3d10_11_sharing_functions.cpp
|
||||
@@ -70,5 +69,10 @@ set(RUNTIME_SRCS_OS_INTERFACE_WINDOWS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/windows_defs.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/windows_inc.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/windows_wrapper.h
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_OS_INTERFACE_WINDOWS})
|
||||
endif()
|
||||
|
||||
add_subdirectories()
|
||||
|
||||
Reference in New Issue
Block a user