1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Import('*') if env['platform'] not in ['windows']: Return() env = env.Clone() glsl = env.StaticLibrary( target = 'glsl', source = [ 'sl_pp_context.c', 'sl_pp_define.c', 'sl_pp_error.c', 'sl_pp_expression.c', 'sl_pp_if.c', 'sl_pp_macro.c', 'sl_pp_process.c', 'sl_pp_purify.c', 'sl_pp_token.c', 'sl_pp_version.c', ], ) Export('glsl')