File: SConstruct

package info (click to toggle)
linuxdcpp 1.0.2-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,392 kB
  • ctags: 5,102
  • sloc: cpp: 33,213; ansic: 472; makefile: 15
file content (33 lines) | stat: -rw-r--r-- 674 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
gui_files = [
	'bookentry.cc',
	'dialogentry.cc',
	'downloadqueue.cc',
	'eggtrayicon.c',
	'entry.cc',
	'favoritehubs.cc',
	'finishedtransfers.cc',
	'hashdialog.cc',
	'hub.cc',
	'mainwindow.cc',
	'privatemessage.cc',
	'publichubs.cc',
	'search.cc',
	'settingsdialog.cc',
	'settingsmanager.cc',
	'sharebrowser.cc',
	'treeview.cc',
	'UserCommandMenu.cc',
	'wulfor.cc',
	'wulformanager.cc',
	'WulforUtil.cc']

Import('env')

# Get the cflags. We copy the env since so we don't want to add these flags globally (scons bug?)
env_gui = env.Copy()
env_gui.ParseConfig('pkg-config --cflags libglade-2.0')

# Build the gui_files
guiObjs = env_gui.Object(gui_files)

Return('guiObjs')