summaryrefslogtreecommitdiffstats
path: root/rules/boost.in
blob: 520ed4e8f0b044c333ecbc373c6e998a0f01a8de (plain)
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
## SECTION=system_libraries
# boost configuration

menuconfig BOOST
	tristate
	select LIBC_M		if BOOST_LIBS
	select LIBC_RT		if BOOST_LIBS
	select LIBC_PTHREAD	if BOOST_LIBS
	select GCCLIBS_CXX	if BOOST_LIBS
	select GCCLIBS_GCC_S	if BOOST_LIBS
	select ZLIB		if BOOST_IOSTREAMS
	select BZIP2		if BOOST_IOSTREAMS
	select BZIP2_LIBBZ2	if BOOST_IOSTREAMS
	select XZ		if BOOST_IOSTREAMS
	select PYTHON		if BOOST_PYTHON2
	select PYTHON3		if BOOST_PYTHON3
	prompt "boost                         "
	help

	  Boost provides free peer-reviewed portable C++ source libraries.  The
	  project emphasizes libraries that work well with the C++ Standard
	  Library.  Boost libraries are intended to be widely useful, and usable
	  across a broad spectrum of applications. The Boost license encourages
	  both commercial and non-commercial use.

	  The boost team aims to establish "existing practice" and provide
	  reference implementations so that Boost libraries are suitable for
	  eventual standardization. Ten Boost libraries are already included in
	  the C++ Standards Committee`s Library Technical Report ( TR1) and in 
	  the new C++11 Standard. C++11 also includes several more Boost libraries 
	  in addition to those from TR1. More Boost libraries are proposed for TR2.

	  For details see the project homepage:

		http://www.boost.org/

if BOOST

config BOOST_LIBS
	bool

comment "Boost Libraries"

config BOOST_ATOMIC
	bool
	select BOOST_LIBS
	prompt "atomic"
	help
	  Boost atomic library

config BOOST_CHRONO
	bool
	select BOOST_LIBS
	select BOOST_SYSTEM
	prompt "chrono"
	help
	  Boost chrono library

config BOOST_CONTAINER
	bool
	select BOOST_LIBS
	prompt "container"
	help
	  Boost container library

config BOOST_CONTRACT
	bool
	select BOOST_LIBS
	prompt "contract"
	help
	  Boost contract library

config BOOST_CONTEXT
	bool
	select BOOST_LIBS
	prompt "context"
	help
	  Boost context library

config BOOST_COROUTINE
	bool
	select BOOST_LIBS
	select BOOST_CHRONO
	select BOOST_CONTEXT
	select BOOST_SYSTEM
	select BOOST_THREAD
	prompt "coroutine (deprecated)"
	help
	  Boost coroutine library
	  This library is deprecated in favor of the header-only coroutine2 library

config BOOST_DATE_TIME
	bool
	select BOOST_LIBS
	prompt "date_time"
	help
	  Boost date time library

config BOOST_EXCEPTION
	bool
	select BOOST_LIBS
	prompt "exception"
	help
	  Boost exception library

config BOOST_FIBER
	bool
	select BOOST_LIBS
	select BOOST_CONTEXT
	prompt "fiber"
	help
	  Boost fiber library

config BOOST_FILESYSTEM
	bool
	select BOOST_LIBS
	select BOOST_SYSTEM
	prompt "filesystem"
	help
	  Boost filesystem library

config BOOST_GRAPH
	bool
	select BOOST_LIBS
	select BOOST_REGEX
	prompt "graph"
	help
	  Boost graph library

config BOOST_GRAPH_PARALLEL
	bool
	select BOOST_LIBS
	select BOOST_MPI
	select BOOST_SERIALIZATION
	# BOOST_MPI needs openmpi
	depends on BROKEN
	prompt "graph_parallel"
	help
	  Boost graph_parallel library

config BOOST_IOSTREAMS
	bool
	select BOOST_LIBS
	prompt "iostreams"
	help
	  Boost iostream library

config BOOST_LOCALE
	bool
	select BOOST_LIBS
	select BOOST_SYSTEM
	prompt "locale"
	help
	  Boost locale library

config BOOST_LOG
	bool
	select BOOST_LIBS
	select BOOST_ATOMIC
	select BOOST_CHRONO
	select BOOST_DATE_TIME
	select BOOST_FILESYSTEM
	select BOOST_REGEX
	select BOOST_SYSTEM
	select BOOST_THREAD
	prompt "log"
	help
	  Boost log library

config BOOST_MATH
	bool
	select BOOST_LIBS
	prompt "math"
	help
	  Boost Math library

config BOOST_MPI
	bool
	select BOOST_LIBS
	select BOOST_SERIALIZATION
	# BOOST_MPI needs openmpi
	depends on BROKEN
	prompt "mpi"
	help
	  Boost MPI library

config BOOST_PROGRAM_OPTIONS
	bool
	select BOOST_LIBS
	prompt "program options"
	help
	  Boost program option parser

config BOOST_RANDOM
	bool
	select BOOST_LIBS
	select BOOST_SYSTEM
	prompt "random"
	help
	  Boost random library

config BOOST_REGEX
	bool
	select BOOST_LIBS
	prompt "regex"
	help
	  Boost regex library

config BOOST_SERIALIZATION
	bool
	select BOOST_LIBS
	prompt "serialization"
	help
	  Boost serialization library

config BOOST_SIGNALS
	bool
	select BOOST_LIBS
	prompt "signals"
	help
	  Boost signals library

config BOOST_STACKTRACE
	bool
	select BOOST_LIBS
	prompt "stacktrace"
	help
	  Boost stacktrace library

config BOOST_SYSTEM
	bool
	select BOOST_LIBS
	prompt "system"
	help
	  Boost system library

config BOOST_TEST
	bool
	select BOOST_LIBS
	select BOOST_SYSTEM
	select BOOST_TIMER
	prompt "test"
	help
	  Boost test framework

config BOOST_THREAD
	bool
	select BOOST_LIBS
	select BOOST_SYSTEM
	prompt "thread"
	help
	  Portable C++ multi-threading library

config BOOST_TIMER
	bool
	select BOOST_LIBS
	select BOOST_CHRONO
	select BOOST_SYSTEM
	prompt "timer"
	help
	  Boost timer library

config BOOST_TYPE_ERASURE
	bool
	select BOOST_LIBS
	select BOOST_CHRONO
	select BOOST_SYSTEM
	select BOOST_THREAD
	prompt "type_erasure"

config BOOST_WAVE
	bool
	select BOOST_LIBS
	select BOOST_CHRONO
	select BOOST_DATE_TIME
	select BOOST_FILESYSTEM
	select BOOST_SYSTEM
	select BOOST_THREAD
	prompt "wave"
	help
	  Boost wave library

config BOOST_PYTHON
	select BOOST_LIBS
	bool

choice
	prompt "python"
	default BOOST_NOPYTHON

	config BOOST_NOPYTHON
		bool
		prompt "no python support"
		help
		  Select this option if you don't want to build boost.python.

	config BOOST_PYTHON2
		bool
		prompt "python2"
		select BOOST_PYTHON
		help
		  Select this option if you want to use boost.python in combination with python2.

	config BOOST_PYTHON3
		bool
		prompt "python3"
		select BOOST_PYTHON
		help
		  Select this option if you want to use boost.python in combination with python3.
endchoice

endif