2014-02-10 02:10:30 +01:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
env.add_source_files(env.drivers_sources,"*.cpp")
|
2016-06-07 19:59:33 +02:00
|
|
|
|
|
|
|
if (env.get('glew') == 'yes'):
|
2016-11-23 00:51:56 +01:00
|
|
|
# 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'])
|
2016-06-07 19:59:33 +02:00
|
|
|
env.Append(CPPPATH = ['.'])
|
|
|
|
|
|
|
|
Export('env')
|