diff options
author | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-07-12 02:13:01 +0400 |
---|---|---|
committer | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-07-12 02:13:01 +0400 |
commit | d6aefa6abd6d99a0024e7d576a3766f72d115b7f (patch) | |
tree | b66c365c7bd7f806ceb3c80c116b562fd9956d71 /source/blender/render/SConscript | |
parent | e56795b4fae00ca6d15d676843386c6fd34485bf (diff) |
Added module bf_render_raytrace (source/blender/render/intern/raytrace)
to be able to use C++ at raytrace code
C++ used in here is basicly C with templates and function overloads,
to make it easier to reuse code between structures.
For now BVH was converted in C++ and moved to this module
Diffstat (limited to 'source/blender/render/SConscript')
-rw-r--r-- | source/blender/render/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/render/SConscript b/source/blender/render/SConscript index 173f5db8482..a52f211e918 100644 --- a/source/blender/render/SConscript +++ b/source/blender/render/SConscript @@ -3,6 +3,7 @@ Import ('env') cflags='' sources = env.Glob('intern/source/*.c') +raysources = env.Glob('intern/raytrace/*.cpp') incs = 'intern/include #/intern/guardedalloc ../blenlib ../makesdna' incs += ' extern/include ../blenkernel ../radiosity/extern/include ../imbuf' @@ -24,3 +25,4 @@ if env['OURPLATFORM']=='linux2': cflags='-pthread' env.BlenderLib ( libname = 'bf_render', sources = sources, includes = Split(incs), defines=defs, libtype='core', priority=145, compileflags=cflags ) +env.BlenderLib ( libname = 'bf_render_raytrace', sources = raysources, includes = Split(incs), defines=defs, libtype='core', priority=145, compileflags=cflags ) |