summaryrefslogtreecommitdiff
path: root/drivers/gl_context/SCsub
blob: a660aa401aff3a9a9b3623fc4cf91756ac99cf3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.add_source_files(env.drivers_sources,"glad.c")
	env.Append(CPPFLAGS = ['-DGLAD_ENABLED'])
	env.Append(CPPFLAGS = ['-DGLES_OVER_GL'])

#	env.Append(CPPFLAGS = ['-DGLEW_ENABLED'])
#	env.Append(CPPFLAGS = ['-DGLEW_STATIC'])
	env.Append(CPPPATH = ['.'])

Export('env')