summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/atomic/build/Jamfile.v2
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/atomic/build/Jamfile.v2')
-rw-r--r--src/boost/libs/atomic/build/Jamfile.v238
1 files changed, 38 insertions, 0 deletions
diff --git a/src/boost/libs/atomic/build/Jamfile.v2 b/src/boost/libs/atomic/build/Jamfile.v2
new file mode 100644
index 000000000..371034121
--- /dev/null
+++ b/src/boost/libs/atomic/build/Jamfile.v2
@@ -0,0 +1,38 @@
+# Boost.Atomic Library Jamfile
+#
+# Copyright Helge Bahmann 2011.
+# Copyright Andrey Semashev 2018.
+#
+# 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)
+
+import common ;
+
+project boost/atomic
+ : requirements
+ <threading>multi
+ <link>shared:<define>BOOST_ATOMIC_DYN_LINK=1
+ <link>static:<define>BOOST_ATOMIC_STATIC_LINK=1
+ <define>BOOST_ATOMIC_SOURCE
+ <target-os>windows:<define>BOOST_USE_WINDOWS_H
+ <target-os>windows:<define>_WIN32_WINNT=0x0500
+ <toolset>gcc,<target-os>windows:<linkflags>"-lkernel32"
+ : usage-requirements
+ <link>shared:<define>BOOST_ATOMIC_DYN_LINK=1
+ <link>static:<define>BOOST_ATOMIC_STATIC_LINK=1
+ : source-location ../src
+ ;
+
+alias atomic_sources
+ : lock_pool.cpp
+ ;
+
+explicit atomic_sources ;
+
+
+lib boost_atomic
+ : atomic_sources
+ ;
+
+boost-install boost_atomic ;