Cycles: svn merge -r41225:41232 ^/trunk/blender
[blender.git] / intern / cycles / blender / CMakeLists.txt
1
2 set(sources
3         blender_camera.cpp
4         blender_mesh.cpp
5         blender_object.cpp
6         blender_python.cpp
7         blender_session.cpp
8         blender_shader.cpp
9         blender_sync.cpp
10
11         blender_sync.h
12         blender_session.h
13         blender_util.h)
14
15 set(addonfiles
16         addon/__init__.py
17         addon/engine.py 
18         addon/enums.py
19         addon/presets.py
20         addon/properties.py
21         addon/ui.py
22         addon/xml.py)
23
24 include_directories(
25         ../render
26         ../device
27         ../kernel
28         ../kernel/svm
29         ../util
30         ../subd
31         ${BLENDER_INCLUDE_DIRS}
32         ${PYTHON_INCLUDE_DIRS}
33         ${GLEW_INCLUDE_PATH})
34
35 blender_add_lib(bf_intern_cycles "${sources}" "" "")
36 add_dependencies(bf_intern_cycles bf_rna)
37
38 delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "${addonfiles}" ${CYCLES_INSTALL_PATH})
39