forked from gwichert/wxd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL.txt
74 lines (47 loc) · 1.52 KB
/
INSTALL.txt
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Build Instructions
These are instructions how to build wxD using the standard GNU toolsets.
It is also possible to build from the DOS prompt or using an graphic IDE.
You are assumed to already have your compilers and wx libraries installed.
See the README file for details, and the LICENCE file for legal conditions.
cd wxd
make
Run this from a shell (i.e. MSYS for Windows, Terminal for Mac OS X)
See below for available variables and targets, to the "make" command.
Supported platforms
GNU/Linux
FreeBSD
version(__WXGTK__)
Windows
version(__WXMSW__)
Macintosh
version(__WXMAC__)
Required software
Make program
C++ compiler
D compiler
wxWidgets
Make variables
COMPILER = [ GDC | DMD | LDC ]
LIBRARY = [ Phobos | Tango ]
MAKE = make
CXX = g++
CXXFLAGS = -O2 -Wall
DC = gdc
DFLAGS = -O2 -g
WX_CONFIG = wx-config
LDFLAGS =
INSTALL = install
PREFIX = /usr/local
Make targets
all
This will build the required wxc (in C++) and wxd (in D) libraries.
build
This will generate the wx.libs module, for use with version(build).
install
This will install all import modules and static libraries, for wxD.
samp
This will build the Samples, results end up in the "bin" directory.
docs
This will build the embedded documentation to the "html" directory.
clean
This will remove the objects and libraries, and the generated files.