123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- Import('*')
-
- if not env['GLUT']:
- Return()
-
- env = env.Clone()
-
- env.Prepend(CPPPATH = [
- '../util',
- ])
-
- env.Prepend(LIBS = [
- util,
- '$GLUT_LIB'
- ])
-
- if env['platform'] == 'windows':
- env.Append(CPPDEFINES = ['NOMINMAX'])
- env.Prepend(LIBS = ['winmm'])
-
- linux_progs = [
- 'api_speed',
- ]
-
- glx_progs = [
- 'auxbuffer',
- 'getprocaddress',
- 'jkrahntest',
- 'sharedtex',
- 'texcompress2',
- 'texobjshare',
- ]
-
- mesa_progs = [
- 'debugger',
- ]
-
- progs = [
- 'afsmultiarb',
- 'antialias',
- 'arbfpspec',
- 'arbfptest1',
- 'arbfptexture',
- 'arbfptrig',
- 'arbnpot',
- 'arbnpot-mipmap',
- 'arbvptest1',
- 'arbvptest3',
- 'arbvptorus',
- 'arbvpwarpmesh',
- 'arraytexture',
- 'blendminmax',
- 'blendsquare',
- 'blendxor',
- 'blitfb',
- 'bufferobj',
- 'bug_3050',
- 'bug_3101',
- 'bug_3195',
- 'bug_texstore_i8',
- 'calibrate_rast',
- 'condrender',
- 'copypixrate',
- 'crossbar',
- 'cva',
- 'drawbuffers',
- 'drawbuffers2',
- 'exactrast',
- 'ext422square',
- 'fbotest1',
- 'fbotest2',
- 'fillrate',
- 'floattex',
- 'fog',
- 'fogcoord',
- 'fptest1',
- 'fptexture',
- 'getteximage',
- 'glutfx',
- 'interleave',
- 'invert',
- 'lineclip',
- 'manytex',
- 'mapbufrange',
- 'mapvbo',
- 'minmag',
- 'mipgen',
- 'mipmap_comp',
- 'mipmap_comp_tests',
- 'mipmap_limits',
- 'mipmap_view',
- 'multipal',
- 'multitexarray',
- 'multiwindow',
- 'no_s3tc',
- 'packedpixels',
- 'pbo',
- 'persp_hint',
- 'prog_parameter',
- 'quads',
- 'random',
- 'readrate',
- 'rubberband',
- 'scissor',
- 'scissor-viewport',
- 'seccolor',
- 'shader_api',
- 'stencil_twoside',
- 'stencil_wrap',
- 'stencilwrap',
- 'streaming_rect',
- 'subtex',
- 'subtexrate',
- 'tex1d',
- 'texcmp',
- 'texcompress2',
- 'texcompsub',
- 'texdown',
- 'texfilt',
- 'texgenmix',
- 'texline',
- 'texobj',
- 'texrect',
- 'texwrap',
- 'unfilledclip',
- 'vao-01',
- 'vao-02',
- 'vparray',
- 'vpeval',
- 'vptest1',
- 'vptest2',
- 'vptest3',
- 'vptorus',
- 'vpwarpmesh',
- 'yuvrect',
- 'yuvsquare',
- 'zcomp',
- 'zdrawpix',
- 'zreaddraw',
- ]
-
- for prog in progs:
- env.Program(
- target = prog,
- source = prog + '.c',
- )
|