2010-01-27 17:42:19 +08:00
|
|
|
Import('env')
|
2010-05-16 10:33:57 +08:00
|
|
|
Import('projects')
|
2010-01-27 17:42:19 +08:00
|
|
|
|
2010-05-16 10:33:57 +08:00
|
|
|
src = Split("""
|
2010-04-06 08:54:25 +08:00
|
|
|
demo_view_dc_buffer.c
|
2010-01-27 17:42:19 +08:00
|
|
|
demo_fnview.c
|
|
|
|
demo_listview.c
|
2010-05-16 10:02:27 +08:00
|
|
|
demo_listview_icon.c
|
2010-01-27 17:42:19 +08:00
|
|
|
demo_panel_single.c
|
|
|
|
demo_view.c
|
2010-02-07 16:02:04 +08:00
|
|
|
demo_view_animation.c
|
2010-05-04 07:27:57 +08:00
|
|
|
demo_view_buffer_animation.c
|
2010-01-27 17:42:19 +08:00
|
|
|
demo_view_box.c
|
|
|
|
demo_view_button.c
|
|
|
|
demo_view_checkbox.c
|
|
|
|
demo_view_dc.c
|
|
|
|
demo_view_image.c
|
|
|
|
demo_view_label.c
|
|
|
|
demo_view_mywidget.c
|
|
|
|
demo_view_progressbar.c
|
|
|
|
demo_view_radiobox.c
|
2010-05-05 22:29:28 +08:00
|
|
|
demo_view_listbox.c
|
2010-01-27 17:42:19 +08:00
|
|
|
demo_view_slider.c
|
2010-08-16 13:31:39 +08:00
|
|
|
demo_view_scrollbar.c
|
2010-01-27 17:42:19 +08:00
|
|
|
demo_view_textbox.c
|
|
|
|
demo_view_window.c
|
2010-08-16 13:31:39 +08:00
|
|
|
demo_view_benchmark.c
|
2010-01-27 17:42:19 +08:00
|
|
|
demo_workbench.c
|
|
|
|
gui_init.c
|
|
|
|
mywidget.c
|
|
|
|
""")
|
|
|
|
|
2010-05-16 10:33:57 +08:00
|
|
|
group = {}
|
|
|
|
group['name'] = 'GUI demo'
|
|
|
|
group['src'] = File(src)
|
|
|
|
group['CCFLAGS'] = ''
|
|
|
|
group['CPPPATH'] = ['']
|
|
|
|
group['CPPDEFINES'] = ''
|
|
|
|
group['LINKFLAGS'] = ''
|
2010-01-27 17:42:19 +08:00
|
|
|
|
2010-05-16 10:33:57 +08:00
|
|
|
# add group to project list
|
|
|
|
projects.append(group)
|
|
|
|
|
|
|
|
env.Append(CCFLAGS = group['CCFLAGS'])
|
|
|
|
env.Append(CPPPATH = group['CPPPATH'])
|
|
|
|
env.Append(CPPDEFINES = group['CPPDEFINES'])
|
|
|
|
env.Append(LINKFLAGS = group['LINKFLAGS'])
|
|
|
|
|
|
|
|
objs = env.Object(group['src'])
|
|
|
|
|
|
|
|
Return('objs')
|