summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/wave/tool/build
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/wave/tool/build')
-rw-r--r--src/boost/libs/wave/tool/build/Jamfile.v273
1 files changed, 73 insertions, 0 deletions
diff --git a/src/boost/libs/wave/tool/build/Jamfile.v2 b/src/boost/libs/wave/tool/build/Jamfile.v2
new file mode 100644
index 00000000..e7d91114
--- /dev/null
+++ b/src/boost/libs/wave/tool/build/Jamfile.v2
@@ -0,0 +1,73 @@
+# 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
+ ;