SConscript 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Import('RTT_ROOT')
  2. from building import *
  3. common_src = Split("""
  4. common/blit.c
  5. common/color.c
  6. common/region.c
  7. common/rtgui_object.c
  8. common/rtgui_system.c
  9. common/rtgui_theme.c
  10. common/rtgui_xml.c
  11. common/dc.c
  12. common/dc_hw.c
  13. common/dc_buffer.c
  14. common/dc_client.c
  15. common/filerw.c
  16. common/image.c
  17. common/image_xpm.c
  18. common/image_hdc.c
  19. common/font.c
  20. common/font_bmp.c
  21. common/font_hz_file.c
  22. common/font_hz_bmp.c
  23. common/asc12font.c
  24. common/asc16font.c
  25. common/hz12font.c
  26. common/hz16font.c
  27. """)
  28. server_src = Split("""
  29. server/driver.c
  30. server/mouse.c
  31. server/panel.c
  32. server/server.c
  33. server/topwin.c
  34. """)
  35. widgets_src = Split("""
  36. widgets/box.c
  37. widgets/button.c
  38. widgets/checkbox.c
  39. widgets/container.c
  40. widgets/combobox.c
  41. widgets/iconbox.c
  42. widgets/label.c
  43. widgets/listctrl.c
  44. widgets/menu.c
  45. widgets/progressbar.c
  46. widgets/radiobox.c
  47. widgets/slider.c
  48. widgets/scrollbar.c
  49. widgets/staticline.c
  50. widgets/textbox.c
  51. widgets/listbox.c
  52. widgets/title.c
  53. widgets/toplevel.c
  54. widgets/view.c
  55. widgets/list_view.c
  56. widgets/about_view.c
  57. widgets/filelist_view.c
  58. widgets/widget.c
  59. widgets/window.c
  60. widgets/workbench.c
  61. """)
  62. # The set of source files associated with this SConscript file.
  63. src = common_src + server_src + widgets_src
  64. path = [RTT_ROOT + '/components/rtgui/include',
  65. RTT_ROOT + '/components/rgtui/common',
  66. RTT_ROOT + '/components/rtgui/server',
  67. RTT_ROOT + '/components/rtgui/widgets']
  68. group = DefineGroup('RTGUI', src, depend = ['RT_USING_RTGUI'], CPPPATH = path)
  69. Return('group')