292c37d6b6174f180c8c0033a2564163a9b97831
[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         ../../mikktspace
11         ../../../source/blender/makesdna
12         ../../../source/blender/makesrna
13         ../../../source/blender/blenloader
14         ${CMAKE_BINARY_DIR}/source/blender/makesrna/intern
15 )
16
17 set(INC_SYS
18         ${PYTHON_INCLUDE_DIRS}
19         ${GLEW_INCLUDE_PATH}
20 )
21
22 set(SRC
23         blender_camera.cpp
24         blender_mesh.cpp
25         blender_object.cpp
26         blender_particles.cpp
27         blender_python.cpp
28         blender_session.cpp
29         blender_shader.cpp
30         blender_sync.cpp
31
32         CCL_api.h
33         blender_sync.h
34         blender_session.h
35         blender_util.h
36 )
37
38 set(ADDON_FILES
39         addon/__init__.py
40         addon/engine.py 
41         addon/enums.py
42         addon/osl.py
43         addon/presets.py
44         addon/properties.py
45         addon/ui.py
46 )
47
48 blender_add_lib(bf_intern_cycles "${SRC}" "${INC}" "${INC_SYS}")
49
50 add_dependencies(bf_intern_cycles bf_rna)
51
52 delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "${ADDON_FILES}" ${CYCLES_INSTALL_PATH})
53