Clone of mesa.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

SConscript 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. Import('*')
  2. if not env['GLUT']:
  3. Return()
  4. env = env.Clone()
  5. env.Prepend(CPPPATH = [
  6. '../util',
  7. ])
  8. env.Prepend(LIBS = [
  9. util,
  10. '$GLUT_LIB'
  11. ])
  12. if env['platform'] == 'windows':
  13. env.Append(CPPDEFINES = ['NOMINMAX'])
  14. env.Prepend(LIBS = ['winmm'])
  15. linux_progs = [
  16. 'api_speed',
  17. ]
  18. glx_progs = [
  19. 'auxbuffer',
  20. 'getprocaddress',
  21. 'jkrahntest',
  22. 'sharedtex',
  23. 'texcompress2',
  24. 'texobjshare',
  25. ]
  26. mesa_progs = [
  27. 'debugger',
  28. ]
  29. progs = [
  30. 'afsmultiarb',
  31. 'antialias',
  32. 'arbfpspec',
  33. 'arbfptest1',
  34. 'arbfptexture',
  35. 'arbfptrig',
  36. 'arbnpot',
  37. 'arbnpot-mipmap',
  38. 'arbvptest1',
  39. 'arbvptest3',
  40. 'arbvptorus',
  41. 'arbvpwarpmesh',
  42. 'arraytexture',
  43. 'blendminmax',
  44. 'blendsquare',
  45. 'blendxor',
  46. 'blitfb',
  47. 'bufferobj',
  48. 'bug_3050',
  49. 'bug_3101',
  50. 'bug_3195',
  51. 'bug_texstore_i8',
  52. 'calibrate_rast',
  53. 'condrender',
  54. 'copypixrate',
  55. 'crossbar',
  56. 'cva',
  57. 'drawbuffers',
  58. 'drawbuffers2',
  59. 'exactrast',
  60. 'ext422square',
  61. 'fbotest1',
  62. 'fbotest2',
  63. 'fillrate',
  64. 'floattex',
  65. 'fog',
  66. 'fogcoord',
  67. 'fptest1',
  68. 'fptexture',
  69. 'getteximage',
  70. 'glutfx',
  71. 'interleave',
  72. 'invert',
  73. 'lineclip',
  74. 'manytex',
  75. 'mapbufrange',
  76. 'mapvbo',
  77. 'minmag',
  78. 'mipgen',
  79. 'mipmap_comp',
  80. 'mipmap_comp_tests',
  81. 'mipmap_limits',
  82. 'mipmap_view',
  83. 'multipal',
  84. 'multitexarray',
  85. 'multiwindow',
  86. 'no_s3tc',
  87. 'packedpixels',
  88. 'pbo',
  89. 'persp_hint',
  90. 'prog_parameter',
  91. 'quads',
  92. 'random',
  93. 'readrate',
  94. 'rubberband',
  95. 'scissor',
  96. 'scissor-viewport',
  97. 'seccolor',
  98. 'shader_api',
  99. 'stencil_twoside',
  100. 'stencil_wrap',
  101. 'stencilwrap',
  102. 'streaming_rect',
  103. 'subtex',
  104. 'subtexrate',
  105. 'tex1d',
  106. 'texcmp',
  107. 'texcompress2',
  108. 'texcompsub',
  109. 'texdown',
  110. 'texfilt',
  111. 'texgenmix',
  112. 'texline',
  113. 'texobj',
  114. 'texrect',
  115. 'texwrap',
  116. 'unfilledclip',
  117. 'vao-01',
  118. 'vao-02',
  119. 'vparray',
  120. 'vpeval',
  121. 'vptest1',
  122. 'vptest2',
  123. 'vptest3',
  124. 'vptorus',
  125. 'vpwarpmesh',
  126. 'yuvrect',
  127. 'yuvsquare',
  128. 'zcomp',
  129. 'zdrawpix',
  130. 'zreaddraw',
  131. ]
  132. for prog in progs:
  133. env.Program(
  134. target = prog,
  135. source = prog + '.c',
  136. )