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