godot/platform/bb10/SCsub

24 lines
451 B
Python

#!/usr/bin/env python
Import('env')
bb10_lib = [
'bbutil.c',
'os_bb10.cpp',
'audio_driver_bb10.cpp',
'godot_bb10.cpp',
'payment_service.cpp',
]
env_bps = env.Clone()
if env['bb10_payment_service'] == "yes":
env_bps.Append(CPPFLAGS=['-DPAYMENT_SERVICE_ENABLED'])
if env['bb10_lgles_override'] == "yes":
env_bps.Append(CPPFLAGS=['-DBB10_LGLES_OVERRIDE'])
prog = None
prog = env_bps.add_program('#bin/godot', bb10_lib)