Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Stockner <lukas.stockner@freenet.de>2016-09-15 00:47:54 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2016-10-09 16:49:50 +0300
commit9ea71bc674130289d4f647c12f60ef51838665d9 (patch)
treea489f689540839f1706c0fc4f956e24e8fe55ad0 /intern/cycles/device/CMakeLists.txt
parent1fad269d07d49619303bd61fcd3166376e8f66b4 (diff)
Cycles: Split device_opencl.cpp into multiple files for easier maintenance
There are no user-visible changes, just some internal restructuring. Differential Revision: https://developer.blender.org/D2231
Diffstat (limited to 'intern/cycles/device/CMakeLists.txt')
-rw-r--r--intern/cycles/device/CMakeLists.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt
index c34677e1b78..966ff5e52ba 100644
--- a/intern/cycles/device/CMakeLists.txt
+++ b/intern/cycles/device/CMakeLists.txt
@@ -36,6 +36,15 @@ set(SRC
device_task.cpp
)
+set(SRC_OPENCL
+ opencl/opencl.h
+
+ opencl/opencl_base.cpp
+ opencl/opencl_mega.cpp
+ opencl/opencl_split.cpp
+ opencl/opencl_util.cpp
+)
+
if(WITH_CYCLES_NETWORK)
list(APPEND SRC
device_network.cpp
@@ -67,4 +76,4 @@ endif()
include_directories(${INC})
include_directories(SYSTEM ${INC_SYS})
-add_library(cycles_device ${SRC} ${SRC_HEADERS})
+add_library(cycles_device ${SRC} ${SRC_OPENCL} ${SRC_HEADERS})