]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # |
2 | # Copyright Renato Tegon Forti 2011 - 2013. | |
3 | # Distributed under the Boost Software License, Version 1.0. | |
4 | # (See accompanying file LICENSE_1_0.txt or copy at | |
5 | # http://www.boost.org/LICENSE_1_0.txt) | |
6 | # | |
7 | ||
8 | project | |
9 | : source-location . | |
10 | : requirements | |
11 | ||
12 | # linux | |
13 | <target-os>linux:<linkflags>"-ldl" | |
14 | ||
15 | # others | |
16 | <link>shared:<define>BOOST_ALL_DLL | |
17 | <library>/boost/system//boost_system | |
18 | <library>/boost/filesystem//boost_filesystem | |
19 | <threading>multi | |
20 | ; | |
21 | ||
22 | # our example plugin lib | |
23 | lib my_cpp_plugin : mangled/my_cpp_plugin.hpp | |
24 | lib my_plugin_sum : tutorial1/my_plugin_sum.cpp ; | |
25 | lib my_plugin_aggregator : tutorial2/my_plugin_aggregator.cpp ; | |
26 | lib getting_started_library : getting_started_library.cpp ; | |
27 | install install-bin | |
28 | : my_plugin_sum my_plugin_aggregator getting_started_library my_cpp_plugin : | |
29 | <target-os>windows:<location>"C:/test/boost/application" | |
30 | <target-os>linux:<location>/test/boost/application ; | |
31 | ||
32 | ||
33 | # shared library sub-system | |
34 | exe shared_library_load_plugin | |
35 | : shared_library_load_plugin.cpp | |
36 | ; | |
37 | ||
38 | exe getting_started | |
39 | : getting_started.cpp | |
40 | ; | |
41 | ||
42 | exe load_self | |
43 | : tutorial3/load_self.cpp | |
44 | ; | |
45 | ||
46 | exe smart_test | |
47 | : mangled/smart_lib.cpp | |
48 | ; | |
49 | ||
50 |