Files
date_time/build/Jamfile
John Maddock b216663e3e Added tests to test dll builds of the library.
Added name mangling rule to lib and dll builds.


[SVN r21543]
2004-01-08 12:44:47 +00:00

50 lines
1.7 KiB
Plaintext

# (C) Copyright 2002. Permission to copy, use, modify, sell and
# distribute this software is granted provided this copyright notice appears
# in all copies. This software is provided "as is" without express or implied# warranty, and with no claim as to its suitability for any purpose.### Boost.date_time build ## To run all tests quietly: jam test## Declares the following targets:# 1. libboost_date_time, a library to be linked with all# Boost.date_time modules#
# declare the location of this subproject relative to the root
subproject libs/date_time/build ;
# comment the line below and comment out the line above to change to
# 64 bit counted time implementation
local DATE_TIME_PROPERTIES = <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG ;
# Base names of the source files for libboost_date_time
CPP_SOURCES =
greg_month greg_weekday date_generators ;
dll boost_date_time
: ../src/gregorian/$(CPP_SOURCES).cpp
:
<sysinclude>$(BOOST_ROOT)
$(DATE_TIME_PROPERTIES)
<runtime-link>dynamic
<define>BOOST_ALL_DYN_LINK=1
# the common names rule ensures that the library will
# be named according to the rules used by the install
# and auto-link features:
common-variant-tag
: debug release ;
lib boost_date_time : ../src/gregorian/$(CPP_SOURCES).cpp
:
<sysinclude>$(BOOST_ROOT)
$(DATE_TIME_PROPERTIES)
<define>BOOST_DATE_TIME_STATIC_LINK
# the common names rule ensures that the library will
# be named according to the rules used by the install
# and auto-link features:
common-variant-tag
:
debug
release
<runtime-link>static
;
install date_time lib
: <dll>boost_date_time <lib>boost_date_time
;