Mercurial > projects > dwt2
annotate README.txt @ 82:b2d6122fa189
Added base classes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 14 Apr 2009 12:11:09 +0200 |
parents | 7e0547d89731 |
children |
rev | line source |
---|---|
34
a8a838017920
All JFace snippets build on windows
Frank Benoit <benoit@tionex.de>
parents:
diff
changeset
|
1 === DWT2 === |
a8a838017920
All JFace snippets build on windows
Frank Benoit <benoit@tionex.de>
parents:
diff
changeset
|
2 |
41 | 3 * The original Eclipse sources: |
4 http://dev.eclipse.org/viewcvs/ | |
35
634e4380db78
delegate compareTo from opCmp
Frank Benoit <benoit@tionex.de>
parents:
34
diff
changeset
|
5 |
34
a8a838017920
All JFace snippets build on windows
Frank Benoit <benoit@tionex.de>
parents:
diff
changeset
|
6 * Requirements for D1+Tango: |
41 | 7 DMD 1.041 |
8 Tango 0.99.8 is needed. | |
34
a8a838017920
All JFace snippets build on windows
Frank Benoit <benoit@tionex.de>
parents:
diff
changeset
|
9 * Requirements for D2+Phobos: |
41 | 10 DMD 2.026 |
34
a8a838017920
All JFace snippets build on windows
Frank Benoit <benoit@tionex.de>
parents:
diff
changeset
|
11 * Required build tool: |
41 | 12 Rake 0.8.X ( included in Ruby 1.9 ) |
34
a8a838017920
All JFace snippets build on windows
Frank Benoit <benoit@tionex.de>
parents:
diff
changeset
|
13 |
37
46c5f8f56b41
README: more about the sc.ini
Frank Benoit <benoit@tionex.de>
parents:
35
diff
changeset
|
14 The sc.ini/dmd.conf of the DMD in the PATH needs to have all |
46c5f8f56b41
README: more about the sc.ini
Frank Benoit <benoit@tionex.de>
parents:
35
diff
changeset
|
15 necessary parameters to build a application with the std lib. |
34
a8a838017920
All JFace snippets build on windows
Frank Benoit <benoit@tionex.de>
parents:
diff
changeset
|
16 |
37
46c5f8f56b41
README: more about the sc.ini
Frank Benoit <benoit@tionex.de>
parents:
35
diff
changeset
|
17 E.g. for Tango it can look like this: |
46c5f8f56b41
README: more about the sc.ini
Frank Benoit <benoit@tionex.de>
parents:
35
diff
changeset
|
18 [Environment] |
46c5f8f56b41
README: more about the sc.ini
Frank Benoit <benoit@tionex.de>
parents:
35
diff
changeset
|
19 LINKCMD=%@P%\link.exe |
46c5f8f56b41
README: more about the sc.ini
Frank Benoit <benoit@tionex.de>
parents:
35
diff
changeset
|
20 LIB="%@P%\..\..\..\..\tango\lib" |
46c5f8f56b41
README: more about the sc.ini
Frank Benoit <benoit@tionex.de>
parents:
35
diff
changeset
|
21 DFLAGS="-I%@P%\..\..\..\..\tango" -version=Tango -defaultlib=tango-base-dmd.lib -debuglib=tango-base-dmd.lib |
34
a8a838017920
All JFace snippets build on windows
Frank Benoit <benoit@tionex.de>
parents:
diff
changeset
|
22 |
59 | 23 To show the available Rake targets use: |
24 $ rake -T | |
25 | |
26 To build for example the SWT you need: | |
27 $ rake base swt | |
28 | |
29 To enable debug build (symbols for debugging): | |
30 $ rake DEBUG=1 base swt | |
31 Alternatively you can set the environment variable DEBUG to '1'. | |
32 | |
33 The example targets build a whole collection of examples. | |
34 To build an indiviual snippet from swtsnippets, do: | |
35 $ rake swtsnippets[Snippet107] | |
36 | |
37 |