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 15import feature ; 16import option ; 17 18feature.feature wavetool 19 : on 20 : optional composite propagated 21 ; 22 23feature.compose <wavetool>on 24 : <define>BOOST_WAVE_SUPPORT_THREADING=0 25 ; 26 27############################################################################### 28project 29 : requirements 30 <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE 31 <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE 32 ; 33 34exe 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/timer//boost_timer/<link>static 44 : 45 <threading>multi 46# <debug-symbols>on 47 <wavetool>on 48 : 49 release 50 ; 51 52local bindir = [ option.get bindir : ../../../dist/bin ] ; 53local libdir = [ option.get libdir : ../../../dist/lib ] ; 54 55install dist-bin 56 : 57 wave 58 : 59 <install-type>EXE 60 <location>$(bindir) 61 : 62 release 63 ; 64 65install dist-lib 66 : 67 wave 68 : 69 <install-type>LIB 70 <location>$(libdir) 71 : 72 release 73 ; 74