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.

SConscript 773B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. 'accum',
  17. 'bitmap1',
  18. 'bitmap2',
  19. 'blendeq',
  20. 'blendxor',
  21. 'copy',
  22. 'cursor',
  23. 'depth',
  24. 'eval',
  25. 'fog',
  26. 'font',
  27. 'line',
  28. 'logo',
  29. 'nurb',
  30. #'oglinfo',
  31. 'olympic',
  32. 'overlay',
  33. 'point',
  34. 'prim',
  35. 'quad',
  36. 'rgbtoppm',
  37. 'select',
  38. 'shape',
  39. 'sphere',
  40. 'star',
  41. 'stencil',
  42. 'stretch',
  43. 'texture',
  44. 'tri',
  45. 'wave',
  46. ]
  47. for prog in progs:
  48. env.Program(
  49. target = prog,
  50. source = prog + '.c',
  51. )