forked from bartvdbraak/blender
b6a6507ddf
This is is a kludge, and only to get a release working. later solution is to use glew
13 lines
538 B
Python
13 lines
538 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
if env['WITH_BF_GLEXT'] == 1:
|
|
env['CPPFLAGS'].append('-DWITH_GLEXT')
|
|
|
|
sources = env.Glob('*.cpp') #'RAS_GLExtensionManager.cpp RAS_ListRasterizer.cpp RAS_OpenGLRasterizer.cpp RAS_VAOpenGLRasterizer.cpp'
|
|
|
|
incs = '. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/Rasterizer #source/gameengine/BlenderRoutines'
|
|
incs += ' ' + env['BF_OPENGL_INC']
|
|
|
|
env.BlenderLib ( 'bf_oglrasterizer', Split(sources), Split(incs), [], libtype=['game','player'], priority=[40, 120] )
|