virtualx-engine/drivers/gl_context/SCsub
2016-11-22 20:51:56 -03:00

15 lines
420 B
Text

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')