Merged changes in the trunk up to revision 42116.
[blender.git] / intern / cycles / blender / CMakeLists.txt
1
2 set(INC
3         ../render
4         ../device
5         ../kernel
6         ../kernel/svm
7         ../util
8         ../subd
9         ../../guardedalloc
10         ../../../source/blender/makesdna
11         ../../../source/blender/makesrna
12         ../../../source/blender/blenloader
13         ${CMAKE_BINARY_DIR}/source/blender/makesrna/intern
14 )
15
16 set(INC_SYS
17         ${PYTHON_INCLUDE_DIRS}
18         ${GLEW_INCLUDE_PATH}
19 )
20
21 set(SRC
22         blender_camera.cpp
23         blender_mesh.cpp
24         blender_object.cpp
25         blender_python.cpp
26         blender_session.cpp
27         blender_shader.cpp
28         blender_sync.cpp
29
30         blender_sync.h
31         blender_session.h
32         blender_util.h
33 )
34
35 set(ADDON_FILES
36         addon/__init__.py
37         addon/engine.py 
38         addon/enums.py
39         addon/presets.py
40         addon/properties.py
41         addon/ui.py
42         addon/xml.py
43 )
44
45 blender_add_lib(bf_intern_cycles "${SRC}" "${INC}" "${INC_SYS}")
46
47 add_dependencies(bf_intern_cycles bf_rna)
48
49 delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "${ADDON_FILES}" ${CYCLES_INSTALL_PATH})
50