]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Wave: A Standard compliant C++ preprocessor |
2 | # | |
3 | # Boost Wave Library Build Jamfile | |
4 | # | |
5 | # http://www.boost.org/ | |
6 | # | |
7 | # Copyright (c) 2001-2010 Hartmut Kaiser. Distributed under the Boost | |
8 | # Software License, Version 1.0. (See accompanying file | |
9 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
10 | ||
11 | # Make sure all of Wave is compiled with threading disabled. We still need | |
12 | # to link with Boost.Thread, but no multi-threaded features are being used | |
13 | # in the Wave tool anyway. | |
14 | ||
15 | import feature ; | |
b32b8144 | 16 | import option ; |
7c673cae FG |
17 | |
18 | feature.feature wavetool | |
19 | : on | |
20 | : optional composite propagated | |
21 | ; | |
22 | ||
23 | feature.compose <wavetool>on | |
24 | : <define>BOOST_WAVE_SUPPORT_THREADING=0 | |
25 | ; | |
26 | ||
27 | ############################################################################### | |
28 | project | |
29 | : requirements | |
30 | <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE | |
31 | <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE | |
32 | ; | |
33 | ||
34 | exe wave | |
35 | : | |
36 | ../cpp.cpp | |
37 | /boost//wave | |
38 | /boost//program_options | |
39 | /boost//filesystem | |
40 | /boost//serialization | |
41 | /boost//system | |
42 | /boost//thread | |
43 | /boost//date_time | |
44 | : | |
45 | <threading>multi | |
46 | # <debug-symbols>on | |
47 | <wavetool>on | |
48 | : | |
49 | release | |
50 | ; | |
b32b8144 FG |
51 | |
52 | local bindir = [ option.get bindir : ../../../dist/bin ] ; | |
53 | local libdir = [ option.get libdir : ../../../dist/lib ] ; | |
7c673cae FG |
54 | |
55 | install dist-bin | |
56 | : | |
57 | wave | |
58 | : | |
59 | <install-type>EXE | |
b32b8144 | 60 | <location>$(bindir) |
7c673cae FG |
61 | : |
62 | release | |
63 | ; | |
64 | ||
65 | install dist-lib | |
66 | : | |
67 | wave | |
68 | : | |
69 | <install-type>LIB | |
b32b8144 | 70 | <location>$(libdir) |
7c673cae FG |
71 | : |
72 | release | |
73 | ; |