1 | # Copyright (c) 2002-2005 CrystalClear Software, Inc. |
---|
2 | # Use, modification and distribution is subject to the |
---|
3 | # Boost Software License, Version 1.0. (See accompanying |
---|
4 | # file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0) |
---|
5 | # |
---|
6 | # Boost.date_time build |
---|
7 | # |
---|
8 | # Declares the following targets: |
---|
9 | # 1. libboost_date_time, a library to be linked with all |
---|
10 | # Boost.date_time modules |
---|
11 | # |
---|
12 | # declare the location of this subproject relative to the root |
---|
13 | subproject libs/date_time/build ; |
---|
14 | |
---|
15 | |
---|
16 | # Base names of the source files for libboost_date_time |
---|
17 | CPP_SOURCES = |
---|
18 | greg_month greg_weekday date_generators ; |
---|
19 | |
---|
20 | dll boost_date_time |
---|
21 | : ../src/gregorian/$(CPP_SOURCES).cpp |
---|
22 | : |
---|
23 | <sysinclude>$(BOOST_ROOT) |
---|
24 | <runtime-link>dynamic |
---|
25 | <define>BOOST_ALL_DYN_LINK=1 |
---|
26 | <define>USE_DATE_TIME_PRE_1_33_FACET_IO |
---|
27 | # the common names rule ensures that the library will |
---|
28 | # be named according to the rules used by the install |
---|
29 | # and auto-link features: |
---|
30 | common-variant-tag |
---|
31 | : debug release ; |
---|
32 | |
---|
33 | lib boost_date_time : ../src/gregorian/$(CPP_SOURCES).cpp |
---|
34 | : |
---|
35 | <sysinclude>$(BOOST_ROOT) |
---|
36 | <define>BOOST_DATE_TIME_STATIC_LINK |
---|
37 | <define>USE_DATE_TIME_PRE_1_33_FACET_IO |
---|
38 | # the common names rule ensures that the library will |
---|
39 | # be named according to the rules used by the install |
---|
40 | # and auto-link features: |
---|
41 | common-variant-tag |
---|
42 | : |
---|
43 | debug |
---|
44 | release |
---|
45 | <runtime-link>static |
---|
46 | ; |
---|
47 | |
---|
48 | install date_time lib |
---|
49 | : <dll>boost_date_time <lib>boost_date_time |
---|
50 | ; |
---|
51 | |
---|