diff options
author | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2014-10-08 00:46:19 +0400 |
---|---|---|
committer | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2014-10-08 00:47:32 +0400 |
commit | 8d084e8c8f48dd2f07d4a3fbd4a941a7bcc0dcfb (patch) | |
tree | 5bf15f4f74f3e5a307cfa3f734b2cd086dca69bd /extern/glew/SConscript | |
parent | a8705e99ee8ec9de2f25c3bac1e9895c2f98c224 (diff) |
Ghost Context Refactor
https://developer.blender.org/D643
Separates graphics context creation from window code in Ghost so that they can vary separately.
Diffstat (limited to 'extern/glew/SConscript')
-rw-r--r-- | extern/glew/SConscript | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/extern/glew/SConscript b/extern/glew/SConscript index 84e2ba65cc2..d825968806e 100644 --- a/extern/glew/SConscript +++ b/extern/glew/SConscript @@ -6,7 +6,10 @@ Import('env') sources = ['src/glew.c'] -defs = 'GLEW_STATIC' -incs = 'include' +defs = env['BF_GL_DEFINITIONS'] +if env['WITH_BF_GLEW_MX']: + defs += ['GLEW_MX'] -env.BlenderLib ( 'extern_glew', sources, Split(incs), Split(defs), libtype=['extern','player'], priority=[50,230]) +incs = ['include'] + +env.BlenderLib ( 'extern_glew', sources, incs, defs, libtype=['extern','player'], priority=[50,230] ) |