| 1 |
--------- DWT library ------------ |
|---|
| 2 |
(alpha) |
|---|
| 3 |
A port of the SWT (Standard Widget Toolkit) GUI Library |
|---|
| 4 |
http://www.dsource.org/projects/dwt |
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
------- How to build --------- |
|---|
| 8 |
Important !!! windows libraries required !!! |
|---|
| 9 |
since phobos didn't import all the win32 api into their runtime library, we must do the extra. |
|---|
| 10 |
You must download "lib-dwt.rar" and extract files into \dmd\lib or \dm\lib. |
|---|
| 11 |
or anywhere else, and specify the path in dwt_debug.ini file, tag "libpath=" |
|---|
| 12 |
|
|---|
| 13 |
run "dwt_debug.bat", the project will be rebuilt. |
|---|
| 14 |
the output folder is .\debug |
|---|
| 15 |
|
|---|
| 16 |
run "dwt_debug.bat", the project will be rebuilt. |
|---|
| 17 |
the output folder is .\release |
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
--------- Debug with MS Visual Studio -------- |
|---|
| 21 |
VS7 required |
|---|
| 22 |
open "dwtVS.sln" |
|---|
| 23 |
integrate "bldtool.exe" into VS, see bldtool documents |
|---|
| 24 |
http://www.dnaic.com/d/en/bldtool.htm |
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
-------- build tool --------- |
|---|
| 28 |
BldTool.exe is a hany tool to build D application. |
|---|
| 29 |
It enumerates the d source files in your project (folder based and subfolders) and collectes the information then invoke DMD to buid the project. It's simple and need almost no configuration. |
|---|
| 30 |
This tool can work in console mode or work together with UltraEdit or MS Visual Studio. |
|---|
| 31 |
|
|---|
| 32 |
We suggest you add "bldtool.exe" in your PATH envirement. |
|---|
| 33 |
|
|---|
| 34 |
Note: any file in the folder and subfolder will be compiled and linked. |
|---|
| 35 |
If you don't want some files to be compiled, add them to "excludedfiles" or move them to other folder |
|---|
| 36 |
A tutorial is at http://www.dnaic.com/d/en/bldtool.htm |
|---|
| 37 |
|
|---|
| 38 |
------- contact ------- |
|---|
| 39 |
http://www.dsource.org/projects/dwt |
|---|
| 40 |
liuxuhong.cn (at) gmail (dot) com |
|---|