SConscript 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Import('env')
  2. Import('rtconfig')
  3. Import('RTT_ROOT')
  4. common_src = Split("""
  5. common/rtgui_object.c
  6. common/rtgui_system.c
  7. common/rtgui_theme.c
  8. common/asc12font.c
  9. common/asc16font.c
  10. common/color.c
  11. common/dc.c
  12. common/dc_buffer.c
  13. common/dc_hw.c
  14. common/font.c
  15. common/font_hz_file.c
  16. common/filerw.c
  17. common/image.c
  18. common/image_xpm.c
  19. common/image_hdc.c
  20. common/region.c
  21. common/hz12font.c
  22. common/hz16font.c
  23. common/font_hz_bmp.c
  24. """)
  25. server_src = Split("""
  26. server/driver.c
  27. server/mouse.c
  28. server/panel.c
  29. server/server.c
  30. server/topwin.c
  31. """)
  32. widgets_src = Split("""
  33. widgets/box.c
  34. widgets/button.c
  35. widgets/checkbox.c
  36. widgets/container.c
  37. widgets/iconbox.c
  38. widgets/label.c
  39. widgets/progressbar.c
  40. widgets/radiobox.c
  41. widgets/slider.c
  42. widgets/staticline.c
  43. widgets/textbox.c
  44. widgets/title.c
  45. widgets/toplevel.c
  46. widgets/view.c
  47. widgets/list_view.c
  48. widgets/about_view.c
  49. widgets/filelist_view.c
  50. widgets/widget.c
  51. widgets/window.c
  52. widgets/workbench.c
  53. """)
  54. # The set of source files associated with this SConscript file.
  55. src_local = common_src + server_src + widgets_src
  56. path = [RTT_ROOT + '/rtgui/include']
  57. path = path + [RTT_ROOT + '/rgtui/common', RTT_ROOT + '/rtgui/server', RTT_ROOT + '/rtgui/widgets']
  58. path = path + [RTT_ROOT + '/filesystem/dfs', RTT_ROOT + '/filesystem/dfs/include']
  59. env.Append(CPPPATH = path)
  60. obj = env.Object(src_local)
  61. Return('obj')