#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')

yafray_env = library_env.Copy ()

source_files = ['intern/yafray_Render.cpp',
                'intern/export_File.cpp',
                'intern/export_Plugin.cpp',
                'intern/yafexternal.cpp',
                'intern/api.cpp']

yafray_env.Append (CPPPATH = ['#/intern/guardedalloc',
                              '../blenlib',
                              '../makesdna',
                              '../blenkernel',
                              '../imbuf',
                              '../include',
                              '../render/extern/include',
                              '../render/intern/include'])

yafray_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_yafray', source=source_files)
