Joseph Gilbert's fixes for the linux2 build target.
[blender-staging.git] / source / gameengine / Rasterizer / RAS_OpenGLRasterizer / SConscript
1 #!/usr/bin/python
2 Import ('user_options_dict')
3 Import ('library_env')
4
5 ras_openglrasterizer_env = library_env.Copy ()
6
7 source_files = ['RAS_GLExtensionManager.cpp',
8                 'RAS_OpenGLRasterizer.cpp',
9                 'RAS_VAOpenGLRasterizer.cpp']
10
11 ras_openglrasterizer_env.Append (CPPPATH=['.',
12                                           '#source/kernel/gen_system',
13                                           '#intern/string',
14                                           '#intern/moto/include',
15                                           '#source/gameengine/Rasterizer'
16                                          ])
17 ras_openglrasterizer_env.Append (CPPPATH = user_options_dict['OPENGL_INCLUDE'])
18
19 ras_openglrasterizer_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/RAS_OpenGLRasterizer', source=source_files)