summaryrefslogtreecommitdiff
path: root/libs/geometry/index/test/rtree/interprocess/Jamfile.v2
blob: 1a52eb953b8765d9bda859db0505bb68a8d4bf16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
        <host-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" 
        <host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
        <toolset>msvc:<cxxflags>/bigobj
        <host-os>windows,<toolset>intel:<cxxflags>/bigobj
        <host-os>linux:<linkflags>"-lrt"
      ] ;
   }

   return $(all_rules) ;
}

test-suite boost-geometry-index-rtree-interprocess : [ test_all r ] : <threading>multi ;