-
Notifications
You must be signed in to change notification settings - Fork 40
/
Jamfile.v2
166 lines (148 loc) · 3.18 KB
/
Jamfile.v2
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
use-project /boost : $(/boost) ;
use-project /wtl : $(/wtl) ;
use-project /libtorrent : $(/libtorrent) ;
#use-project /sqlite3x : $(/sqlite3x) ;
#use-project /stlsoft : $(/stlsoft) ;
LIB_SOURCES =
halTorrent.cpp
halConfig.cpp
halEvent.cpp
# halXmlRpc.cpp
;
SOURCES =
global/wtl_app.cpp
global/logger.cpp
# global/string_conv.cpp
global/ini.cpp
global/ini_adapter.cpp
global/tinyxml.cpp
global/tinyxmlerror.cpp
global/tinyxmlparser.cpp
stdAfx.cpp
Halite.cpp
HaliteWindow.cpp
NewTorrentDialog.cpp
HaliteListView.cpp
HaliteDialog.cpp
AdvHaliteDialog.cpp
ConfigOptions.cpp
NTray.cpp
UxthemeWrapper.cpp
advtabs/Torrent.cpp
advtabs/Peers.cpp
advtabs/Files.cpp
advtabs/Tracker.cpp
advtabs/TrackerListView.cpp
advtabs/Debug.cpp
;
SOURCES_MINI =
global/wtl_app.cpp
global/logger.cpp
# global/string_conv.cpp
global/ini.cpp
global/ini_adapter.cpp
global/tinyxml.cpp
global/tinyxmlerror.cpp
global/tinyxmlparser.cpp
stdAfx.cpp
Halite.cpp
HaliteWindowMini.cpp
NewTorrentDialog.cpp
NTray.cpp
;
RESOURCES =
Halite.rc
;
BOOST_LIBS =
signals//boost_signals
serialization//boost_serialization
serialization//boost_wserialization
regex//boost_regex
filesystem//boost_filesystem
date_time//boost_date_time
;
LIBS =
/boost/$(BOOST_LIBS)/<link>static
/libtorrent//torrent/<link>static
/wtl
# /sqlite3x//sqlite3x/<link>static
# /asio
# /stlsoft
comctl32
user32
kernel32
comdlg32
advapi32
gdi32
shell32
;
exe Halite
:
./src/$(SOURCES)
./src/$(LIB_SOURCES)
./res/$(RESOURCES)
:
<library>$(LIBS)
<library>/boost/$(BOOST_LIBS)/<link>static
<library>/libtorrent//torrent/<link>static
# <library>/Halite//libHalite/<link>static
<library>/wtl
# <library>/sqlite3x//sqlite3x/<link>static
# <library>/asio
# <library>/stlsoft
<pch>on
<pch-source>./src/stdAfx.cpp
<pch-header>./src/stdAfx.hpp
<optimization>space
<runtime-link>static
<threading>multi
<asynch-exceptions>on
<variant>release:<linkflags>/OPT:ICF=5
<variant>release:<linkflags>/OPT:REF
<variant>release:<warnings>off
<variant>release:<define>NDEBUG
<define>_UNICODE
<define>UNICODE
<define>WIN32
<define>_WINDOWS
<define>_CRT_SECURE_NO_DEPRECATE
<define>_SCL_SECURE_NO_DEPRECATE
<define>_CRT_SECURE_NO_WARNINGS
<linkflags>/SUBSYSTEM:WINDOWS
;
#exe ClientTest
# :
# ./src/test/client_test.cpp
# :
# <library>$(LIBS)
# <library>/boost/program_options//boost_program_options/<link>static
#
# <runtime-link>static
# <threading>multi
# <asynch-exceptions>on
#
# <variant>release:<linkflags>/OPT:ICF=5
# <variant>release:<linkflags>/OPT:REF
# <variant>release:<warnings>off
# <variant>release:<define>NDEBUG
#
# <define>_UNICODE
# <define>UNICODE
# <define>WIN32
# <define>_WINDOWS
# <define>_CRT_SECURE_NO_DEPRECATE
# <define>_SCL_SECURE_NO_DEPRECATE
# <define>_CRT_SECURE_NO_WARNINGS
#
# <linkflags>/SUBSYSTEM:CONSOLE
# ;
lib comctl32 : : <name>comctl32.lib ;
lib user32 : : <name>user32.lib ;
lib kernel32 : : <name>kernel32.lib ;
lib comdlg32 : : <name>comdlg32.lib ;
lib advapi32 : : <name>advapi32.lib ;
lib shell32 : : <name>shell32.lib ;
lib gdi32 : : <name>gdi32.lib ;
lib bufferoverflowU : : <name>bufferoverflowU.lib ;
lib wsock32 : : <name>wsock32.lib ;
lib uxtheme : : <name>UxTheme.lib ;