1 # Boost serialization Library Build Jamfile
2 # (C) Copyright Robert Ramey 2002-2004.
3 # Use, modification, and distribution are subject to the
4 # Boost Software License, Version 1.0. (See accompanying file
5 # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 # See http://www.boost.org/libs/serialization for the library home page.
9 project boost/serialization
10 : source-location ../src
12 <conditional>@include-spirit
15 SPIRIT_ROOT = [ modules.peek : SPIRIT_ROOT ] ;
16 rule include-spirit ( properties * )
19 if <toolset>borland in $(properties)
21 if ! <toolset-borland:version>6.1.0 in $(properties)
27 else if <toolset>msvc in $(properties)
29 if <toolset-msvc:version>6.5 in $(properties)
30 || <toolset-msvc:version>7.0 in $(properties)
41 # note - we can't use <include>$(SPIRIT_ROOT) because
42 # it puts -I$(SPIRIT_ROOT) AFTER the "../../.." in the command line.
43 # so use these instead
44 result = <cxxflags>-I$(SPIRIT_ROOT) ;
48 echo **** spirit 1.6x required to build library with this compiler **** ;
61 basic_pointer_iserializer
62 basic_pointer_oserializer
70 extended_type_info_typeid
71 extended_type_info_no_rtti
89 basic_text_wiprimitive
90 basic_text_woprimitive
98 lib boost_serialization
101 <toolset>msvc:<cxxflags>/Gy
102 <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
103 <toolset>clang:<cxxflags>"-fvisibility=hidden -fvisibility-inlines-hidden"
104 <toolset>gcc:<cxxflags>"-fvisibility=hidden -fvisibility-inlines-hidden"
105 <toolset>darwin:<cxxflags>"-fvisibility=hidden -fvisibility-inlines-hidden"
106 <toolset>gcc:<cxxflags>"-ftemplate-depth-255"
107 <toolset>clang:<cxxflags>"-ftemplate-depth-255"
108 <toolset>darwin:<cxxflags>"-ftemplate-depth-255"
109 <link>shared:<define>BOOST_SERIALIZATION_DYN_LINK=1
112 lib boost_wserialization
113 : $(WSOURCES).cpp boost_serialization
115 <toolset>msvc:<cxxflags>/Gy
116 <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
117 <toolset>clang:<cxxflags>"-fvisibility=hidden -fvisibility-inlines-hidden"
118 <toolset>gcc:<cxxflags>"-fvisibility=hidden -fvisibility-inlines-hidden"
119 <toolset>darwin:<cxxflags>"-fvisibility=hidden -fvisibility-inlines-hidden"
120 <toolset>gcc:<cxxflags>"-ftemplate-depth-255"
121 <toolset>clang:<cxxflags>"-ftemplate-depth-255"
122 <toolset>darwin:<cxxflags>"-ftemplate-depth-255"
123 <link>shared:<define>BOOST_SERIALIZATION_DYN_LINK=1
126 boost-install boost_serialization boost_wserialization ;