SConscript 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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/image_bmp.c
  20. common/font.c
  21. common/font_bmp.c
  22. common/font_hz_file.c
  23. common/font_hz_bmp.c
  24. common/asc12font.c
  25. common/asc16font.c
  26. common/hz12font.c
  27. common/hz16font.c
  28. """)
  29. server_src = Split("""
  30. server/driver.c
  31. server/mouse.c
  32. server/panel.c
  33. server/server.c
  34. server/topwin.c
  35. """)
  36. widgets_src = Split("""
  37. widgets/box.c
  38. widgets/button.c
  39. widgets/checkbox.c
  40. widgets/container.c
  41. widgets/combobox.c
  42. widgets/iconbox.c
  43. widgets/label.c
  44. widgets/listctrl.c
  45. widgets/menu.c
  46. widgets/progressbar.c
  47. widgets/radiobox.c
  48. widgets/slider.c
  49. widgets/scrollbar.c
  50. widgets/staticline.c
  51. widgets/textbox.c
  52. widgets/listbox.c
  53. widgets/title.c
  54. widgets/toplevel.c
  55. widgets/view.c
  56. widgets/list_view.c
  57. widgets/about_view.c
  58. widgets/filelist_view.c
  59. widgets/widget.c
  60. widgets/window.c
  61. widgets/workbench.c
  62. """)
  63. # The set of source files associated with this SConscript file.
  64. src = common_src + server_src + widgets_src
  65. path = [RTT_ROOT + '/components/rtgui/include',
  66. RTT_ROOT + '/components/rgtui/common',
  67. RTT_ROOT + '/components/rtgui/server',
  68. RTT_ROOT + '/components/rtgui/widgets']
  69. group = DefineGroup('RTGUI', src, depend = ['RT_USING_RTGUI'], CPPPATH = path)
  70. Return('group')