File: SConstruct

package info (click to toggle)
linuxdcpp 0.0.1.cvs20061024-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,928 kB
  • ctags: 4,932
  • sloc: cpp: 30,399; ansic: 434; makefile: 134
file content (33 lines) | stat: -rw-r--r-- 706 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',
	'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')
env_gui.ParseConfig('pkg-config --cflags gthread-2.0')

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

Return('guiObjs')