summaryrefslogtreecommitdiff
path: root/drivers/gl_context/SCsub
blob: dac27c01250cd152747c4897d315b8772d4f64b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
Import('env')

env.add_source_files(env.drivers_sources,"*.cpp")

if (env.get('glew') == 'yes'):
	env.add_source_files(env.drivers_sources,"glew.c")
	env.Append(CPPFLAGS = ['-DGLEW_ENABLED'])
	env.Append(CPPFLAGS = ['-DGLEW_STATIC'])
	env.Append(CPPPATH = ['.'])

Export('env')