2 # ***** BEGIN GPL LICENSE BLOCK *****
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 # The Original Code is Copyright (C) 2006, Blender Foundation
19 # All rights reserved.
21 # The Original Code is: all of this file.
23 # Contributor(s): Jacques Beaurain.
25 # ***** END GPL LICENSE BLOCK *****
37 ../../../intern/smoke/extern
38 ../../../intern/mikktspace
39 ../../../intern/guardedalloc
47 intern/raytrace/rayobject.cpp
48 intern/raytrace/rayobject_empty.cpp
49 intern/raytrace/rayobject_octree.cpp
50 intern/raytrace/rayobject_raycounter.cpp
51 intern/raytrace/rayobject_svbvh.cpp
52 intern/raytrace/rayobject_blibvh.cpp
53 intern/raytrace/rayobject_instance.cpp
54 intern/raytrace/rayobject_qbvh.cpp
55 intern/raytrace/rayobject_rtbuild.cpp
56 intern/raytrace/rayobject_vbvh.cpp
57 intern/source/convertblender.c
58 intern/source/envmap.c
59 intern/source/gammaCorrectionTables.c
60 intern/source/imagetexture.c
61 intern/source/initrender.c
62 intern/source/occlusion.c
63 intern/source/pipeline.c
64 intern/source/pixelblending.c
65 intern/source/pixelshading.c
66 intern/source/pointdensity.c
67 intern/source/rayshade.c
68 intern/source/rendercore.c
69 intern/source/render_texture.c
70 intern/source/renderdatabase.c
71 intern/source/shadbuf.c
72 intern/source/shadeinput.c
73 intern/source/shadeoutput.c
75 intern/source/strand.c
76 intern/source/sunsky.c
77 intern/source/volume_precache.c
78 intern/source/volumetric.c
79 intern/source/voxeldata.c
82 extern/include/RE_pipeline.h
83 extern/include/RE_render_ext.h
84 extern/include/RE_shader_ext.h
85 intern/include/envmap.h
86 intern/include/gammaCorrectionTables.h
87 intern/include/initrender.h
88 intern/include/occlusion.h
89 intern/include/pixelblending.h
90 intern/include/pixelshading.h
91 intern/include/pointdensity.h
92 intern/include/raycounter.h
93 intern/include/rayobject.h
94 intern/include/rayintersection.h
95 intern/include/raycounter.h
96 intern/include/render_types.h
97 intern/include/rendercore.h
98 intern/include/renderdatabase.h
99 intern/include/renderpipeline.h
100 intern/include/shadbuf.h
101 intern/include/shading.h
103 intern/include/strand.h
104 intern/include/sunsky.h
105 intern/include/texture.h
106 intern/include/volume_precache.h
107 intern/include/volumetric.h
108 intern/include/voxeldata.h
109 intern/include/zbuf.h
110 intern/raytrace/bvh.h
111 intern/raytrace/rayobject_hint.h
112 intern/raytrace/rayobject_internal.h
113 intern/raytrace/rayobject_rtbuild.h
114 intern/raytrace/reorganize.h
115 intern/raytrace/svbvh.h
116 intern/raytrace/vbvh.h
119 if(WITH_IMAGE_OPENEXR)
120 add_definitions(-DWITH_OPENEXR)
123 if(WITH_CODEC_QUICKTIME)
124 list(APPEND INC ../quicktime)
125 list(APPEND INC_SYS ${QUICKTIME_INCLUDE_DIRS})
126 add_definitions(-DWITH_QUICKTIME)
130 if(CMAKE_OSX_ARCHITECTURES MATCHES "i386" OR CMAKE_OSX_ARCHITECTURES MATCHES "x86_64")
131 set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mfpmath=sse")
132 set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -mfpmath=sse")
136 blender_add_lib_nolist(bf_render "${SRC}" "${INC}" "${INC_SYS}")