Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. progs = [
  16. 'aaindex',
  17. 'aapoly',
  18. 'aargb',
  19. 'accanti',
  20. 'accpersp',
  21. 'alpha3D',
  22. 'alpha',
  23. 'anti',
  24. 'bezcurve',
  25. 'bezmesh',
  26. 'checker',
  27. 'clip',
  28. 'colormat',
  29. 'cube',
  30. 'depthcue',
  31. 'dof',
  32. 'double',
  33. 'drawf',
  34. 'feedback',
  35. 'fog',
  36. 'fogindex',
  37. 'font',
  38. 'hello',
  39. 'image',
  40. 'light',
  41. 'lines',
  42. 'list',
  43. 'material',
  44. 'mipmap',
  45. 'model',
  46. 'movelight',
  47. 'nurbs',
  48. 'pickdepth',
  49. 'picksquare',
  50. 'plane',
  51. 'planet',
  52. 'polyoff',
  53. 'polys',
  54. 'quadric',
  55. 'robot',
  56. 'sccolorlight',
  57. 'scenebamb',
  58. 'scene',
  59. 'sceneflat',
  60. 'select',
  61. 'smooth',
  62. 'stencil',
  63. 'stroke',
  64. 'surface',
  65. 'teaambient',
  66. 'teapots',
  67. 'tess',
  68. 'tesswind',
  69. 'texbind',
  70. 'texgen',
  71. 'texprox',
  72. 'texsub',
  73. 'texturesurf',
  74. 'torus',
  75. 'trim',
  76. 'unproject',
  77. 'varray',
  78. 'wrap',
  79. ]
  80. for prog in progs:
  81. env.Program(
  82. target = prog,
  83. source = prog + '.c',
  84. )