mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-16 02:59:11 +01:00
2a7f305d45
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6942 8ced0084-cf51-0410-be5f-012b33b47a6e
20 lines
497 B
Python
20 lines
497 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
if env.has_key('shared_glew') and env['shared_glew']:
|
|
Return()
|
|
|
|
if sys.platform == 'darwin':
|
|
libs = ['GLEW']
|
|
frames = ['AGL', 'OpenGL']
|
|
else:
|
|
libs = ['GLEW', 'GL', 'GLU']
|
|
frames = []
|
|
|
|
env.Program('glewinfo', 'src/glewinfo.c', LIBS = libs, FRAMEWORKS = frames)
|
|
env.Program('visualinfo', 'src/visualinfo.c', LIBS = libs, FRAMEWORKS = frames)
|
|
env.StaticLibrary(env['local_libs'] + 'GLEW', ['src/glew.c'])
|
|
env['CPPPATH'] += ['#Externals/GLew/include']
|