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:
Diffstat (limited to 'intern/cycles/device/CMakeLists.txt')
-rw-r--r--intern/cycles/device/CMakeLists.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt
new file mode 100644
index 00000000000..e1fb44b92b4
--- /dev/null
+++ b/intern/cycles/device/CMakeLists.txt
@@ -0,0 +1,32 @@
+
+set(INC
+ .
+ ../kernel
+ ../kernel/svm
+ ../kernel/osl
+ ../util
+ ../render
+ ${OPENGL_INCLUDE_DIR}
+ ${GLEW_INCLUDE_PATH}
+)
+
+set(SRC
+ device.cpp
+ device_cpu.cpp
+ device_cuda.cpp
+ device_multi.cpp
+ device_network.cpp
+ device_opencl.cpp
+)
+
+set(SRC_HEADERS
+ device.h
+ device_intern.h
+ device_network.h
+)
+
+add_definitions(-DGLEW_STATIC)
+
+include_directories(${INC})
+
+add_library(cycles_device ${SRC} ${SRC_HEADERS})