update scons files to build with yafray support

This commit is contained in:
Stefan Gartner
2004-01-05 15:33:32 +00:00
parent 092c6fd1bb
commit 3cf499e044
5 changed files with 26 additions and 4 deletions

View File

@@ -247,6 +247,7 @@ SConscript(['intern/SConscript',
libpath = (['lib'])
libraries = (['blender_render',
'blender_yafray',
'blender_blendersrc',
'blender_renderconverter',
'blender_blenloader',

View File

@@ -19,7 +19,8 @@ SConscript(['blenloader/SConscript',
'python/SConscript',
'makesdna/SConscript',
'src/SConscript',
'renderconverter/SConscript'])
'renderconverter/SConscript',
'yafray/SConscript'])
if use_international == 'true':
SConscript (['ftfont/SConscript'])

View File

@@ -40,6 +40,7 @@ render_env.Append (CPPPATH = ['intern/include',
'../imbuf',
'../quicktime',
'../include',
'../../kernel/gen_messaging'])
'../../kernel/gen_messaging',
'../yafray'])
render_env.Library (target='#/lib/blender_render', source=source_files)

View File

@@ -115,8 +115,7 @@ source_files = ['B.blend.c',
'writeavicodec.c',
'writeimage.c',
'writemovie.c',
'language.c',
'yafray_Render.cpp']
'language.c']
src_env.Append (CPPPATH = ['#/intern/guardedalloc',
'../blenlib',

View File

@@ -0,0 +1,20 @@
yafray_env = Environment()
# Import the C flags set in the SConstruct file
Import ('cflags')
Import ('cxxflags')
Import ('defines')
yafray_env.Append (CCFLAGS = cflags)
yafray_env.Append (CXXFLAGS = cxxflags)
yafray_env.Append (CPPDEFINES = defines)
source_files = ['intern/yafray_Render.cpp']
yafray_env.Append (CPPPATH = ['#/intern/guardedalloc',
'../blenlib',
'../makesdna',
'../blenkernel',
'../imbuf',
'../render/extern/include'])
yafray_env.Library (target='#/lib/blender_yafray', source=source_files)