Code reorganization to allow a clean export to plugin alternative for
[blender.git] / source / blender / yafray / SConscript
1 yafray_env = Environment()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('cxxflags')
6 Import ('defines')
7 yafray_env.Append (CCFLAGS = cflags)
8 yafray_env.Append (CXXFLAGS = cxxflags)
9 yafray_env.Append (CPPDEFINES = defines)
10
11 source_files = ['intern/yafray_Render.cpp']
12
13 yafray_env.Append (CPPPATH = ['#/intern/guardedalloc',
14                               '../blenlib',
15                               '../makesdna',
16                               '../blenkernel',
17                               '../imbuf',
18                               '../render/extern/include'])
19
20 yafray_env.Library (target='#/lib/blender_yafray', source=source_files)