SConscript 1.6 KB

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