2008-11-21 03:40:48 +09:00
|
|
|
SConscript([
|
2009-02-01 12:00:07 +00:00
|
|
|
'util/SConscript',
|
2009-12-31 21:10:25 +00:00
|
|
|
])
|
|
|
|
|
|
|
|
|
|
Import('*')
|
|
|
|
|
|
|
|
|
|
progs_env = env.Clone()
|
|
|
|
|
|
|
|
|
|
if progs_env['platform'] == 'windows':
|
|
|
|
|
progs_env.Append(CPPDEFINES = ['NOMINMAX'])
|
|
|
|
|
progs_env.Prepend(LIBS = [
|
|
|
|
|
'winmm',
|
|
|
|
|
'kernel32',
|
|
|
|
|
'user32',
|
|
|
|
|
'gdi32',
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
# OpenGL
|
|
|
|
|
if progs_env['platform'] == 'windows':
|
|
|
|
|
progs_env.Prepend(LIBS = ['glu32', 'opengl32'])
|
|
|
|
|
else:
|
|
|
|
|
progs_env.Prepend(LIBS = ['GLU', 'GL'])
|
|
|
|
|
|
|
|
|
|
# Glut
|
|
|
|
|
progs_env.Prepend(LIBS = [glut])
|
|
|
|
|
|
|
|
|
|
# GLEW
|
|
|
|
|
progs_env.Prepend(LIBS = [glew])
|
|
|
|
|
|
|
|
|
|
progs_env.Prepend(CPPPATH = [
|
|
|
|
|
'#progs/util',
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
progs_env.Prepend(LIBS = [
|
|
|
|
|
util,
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
Export('progs_env')
|
|
|
|
|
|
|
|
|
|
SConscript([
|
2008-11-21 03:40:48 +09:00
|
|
|
'demos/SConscript',
|
2009-06-29 14:13:58 +01:00
|
|
|
'glsl/SConscript',
|
2009-02-10 18:25:31 +00:00
|
|
|
'redbook/SConscript',
|
2009-02-10 20:27:49 +00:00
|
|
|
'samples/SConscript',
|
2009-03-10 13:11:23 +00:00
|
|
|
'tests/SConscript',
|
2009-02-10 20:27:49 +00:00
|
|
|
'trivial/SConscript',
|
2009-01-23 16:24:43 +00:00
|
|
|
'vp/SConscript',
|
2009-03-09 17:10:12 +00:00
|
|
|
'vpglsl/SConscript',
|
2009-02-14 01:05:13 +01:00
|
|
|
'fp/SConscript',
|
2009-03-18 16:37:20 +00:00
|
|
|
'wgl/SConscript',
|
2009-09-17 12:08:04 +01:00
|
|
|
'perf/SConscript',
|
2008-11-21 03:40:48 +09:00
|
|
|
])
|