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

@ -24,5 +24,6 @@ set(RUNTIME_SRCS_SAMPLER
${CMAKE_CURRENT_SOURCE_DIR}/sampler.h
${CMAKE_CURRENT_SOURCE_DIR}/sampler.inl
${CMAKE_CURRENT_SOURCE_DIR}/sampler_factory_init.inl
PARENT_SCOPE
)
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_SAMPLER})