12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- # Wave: A Standard compliant C++ preprocessor
- #
- # Boost Wave Library Build Jamfile
- #
- # http://www.boost.org/
- #
- # Copyright (c) 2001-2010 Hartmut Kaiser. Distributed under the Boost
- # Software License, Version 1.0. (See accompanying file
- # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- # Make sure all of Wave is compiled with threading disabled. We still need
- # to link with Boost.Thread, but no multi-threaded features are being used
- # in the Wave tool anyway.
- import feature ;
- import option ;
- feature.feature wavetool
- : on
- : optional composite propagated
- ;
- feature.compose <wavetool>on
- : <define>BOOST_WAVE_SUPPORT_THREADING=0
- ;
- ###############################################################################
- project
- : requirements
- <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
- <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
- ;
- exe wave
- :
- ../cpp.cpp
- /boost//wave
- /boost//program_options
- /boost//filesystem
- /boost//serialization
- /boost//system
- /boost//thread
- /boost//date_time
- :
- <threading>multi
- # <debug-symbols>on
- <wavetool>on
- :
- release
- ;
-
- local bindir = [ option.get bindir : ../../../dist/bin ] ;
- local libdir = [ option.get libdir : ../../../dist/lib ] ;
- install dist-bin
- :
- wave
- :
- <install-type>EXE
- <location>$(bindir)
- :
- release
- ;
- install dist-lib
- :
- wave
- :
- <install-type>LIB
- <location>$(libdir)
- :
- release
- ;
|