SConscript 1.7 KB

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