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:
Mateusz Jablonski
2018-02-27 14:47:36 +01:00
committed by sys_ocldev
parent bb58c9fc2f
commit d1aa5f978d
40 changed files with 282 additions and 348 deletions

View File

@@ -42,5 +42,6 @@ set(RUNTIME_SRCS_PROGRAM
${CMAKE_CURRENT_SOURCE_DIR}/process_spir_binary.cpp
${CMAKE_CURRENT_SOURCE_DIR}/program.cpp
${CMAKE_CURRENT_SOURCE_DIR}/program.h
PARENT_SCOPE
)
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_PROGRAM})