2014-02-10 01:10:30 +00:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
env.add_source_files(env.drivers_sources,"*.cpp")
|
2016-06-07 17:59:33 +00:00
|
|
|
|
|
|
|
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')
|