From b26ae3cb605e22dfe5f149227e2405b1da66a087 Mon Sep 17 00:00:00 2001 From: "aganhx@gmail.com" Date: Sun, 27 Dec 2009 13:07:14 +0000 Subject: [PATCH] git-svn-id: https://rt-thread.googlecode.com/svn/trunk@248 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- rtgui/SConscript | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 rtgui/SConscript diff --git a/rtgui/SConscript b/rtgui/SConscript new file mode 100644 index 0000000000..e6ff278bc3 --- /dev/null +++ b/rtgui/SConscript @@ -0,0 +1,61 @@ +Import('env') +Import('rtconfig') +Import('RTT_ROOT') + +common_src = Split(""" +common/rtgui_object.c +common/rtgui_system.c +common/rtgui_theme.c +common/asc12font.c +common/asc16font.c +common/color.c +common/caret.c +common/dc.c +common/dc_buffer.c +common/dc_hw.c +common/font.c +common/font_hz_file.c +common/filerw.c +common/image.c +common/image_xpm.c +common/image_hdc.c +common/region.c +common/hz12font.c +common/hz16font.c +""") + +server_src = Split(""" +server/driver.c +server/mouse.c +server/panel.c +server/server.c +server/topwin.c +""") + +widgets_src = Split(""" +widgets/box.c +widgets/button.c +widgets/container.c +widgets/iconbox.c +widgets/label.c +widgets/textbox.c +widgets/title.c +widgets/toplevel.c +widgets/view.c +widgets/widget.c +widgets/window.c +widgets/workbench.c +""") + + +# The set of source files associated with this SConscript file. +src_local = common_src + server_src + widgets_src + +path = [RTT_ROOT + '/rtgui/include'] +path = path + [RTT_ROOT + '/rgtui/common', RTT_ROOT + '/rtgui/server', RTT_ROOT + '/rtgui/widgets'] +path = path + [RTT_ROOT + '/filesystem/dfs', RTT_ROOT + '/filesystem/dfs/include'] +env.Append(CPPPATH = path) + +obj = env.Object(src_local) + +Return('obj')