]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/geometry/index/test/rtree/interprocess/Jamfile
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / geometry / index / test / rtree / interprocess / Jamfile
diff --git a/ceph/src/boost/libs/geometry/index/test/rtree/interprocess/Jamfile b/ceph/src/boost/libs/geometry/index/test/rtree/interprocess/Jamfile
new file mode 100644 (file)
index 0000000..0933eae
--- /dev/null
@@ -0,0 +1,34 @@
+# Boost.Geometry Index
+#
+# Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland.
+#
+# Use, modification and distribution is subject to 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)
+
+rule test_all
+{
+   local all_rules = ;
+
+   for local fileb in [ glob *.cpp ]
+   {
+      all_rules += [ run $(fileb) /boost/thread//boost_thread
+      :  # additional args
+      :  # test-files
+      :  # requirements
+        <toolset>acc:<linkflags>-lrt
+        <toolset>acc-pa_risc:<linkflags>-lrt
+        <target-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
+#        <toolset>gcc-mingw:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
+        <toolset>gcc,<target-os>windows:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32" 
+        <target-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
+        <toolset>msvc:<cxxflags>/bigobj
+        <target-os>windows,<toolset>intel:<cxxflags>/bigobj
+        <target-os>linux:<linkflags>"-lrt"
+      ] ;
+   }
+
+   return $(all_rules) ;
+}
+
+test-suite boost-geometry-index-rtree-interprocess : [ test_all r ] : <threading>multi ;