root/branches/0.1/src/SConstruct

Revision 31, 0.6 kB (checked in by brad, 4 years ago)

Checkin of Yuriy changes - first to compile

Line 
1 from glob import glob
2 import os
3 import sys
4
5 env = Environment(ENV=os.environ)
6
7 SRC = (
8     glob('dwt/*.d') +
9     glob('dwt/accessibility/*.d') +
10     glob('dwt/internal/win32/*.d') +
11     glob('dwt/internal/*.d') +
12     glob('dwt/util/*.d') +
13     glob('dwt/graphics/*.d') +
14     glob('dwt/widgets/*.d')
15 )
16
17 if 'win32' in sys.platform:
18     env.Append(DVERSIONS='Win32')
19     SRC += glob('dwt/*/win32/*.d') # ooo
20
21
22 elif 'linux' in sys.platform:
23     env.Append(DVERSIONS=['unix', 'linux'])
24     SRC += glob('dwt/*/gtk/*.d')
25
26 SRC += glob('HelloDWT.d')
27
28 env.Program(SRC)
Note: See TracBrowser for help on using the browser.