• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Boost.Geometry Index
2#
3# Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland.
4#
5# Use, modification and distribution is subject to the Boost Software License,
6# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7# http://www.boost.org/LICENSE_1_0.txt)
8
9rule test_all
10{
11   local all_rules = ;
12
13   for local fileb in [ glob *.cpp ]
14   {
15      all_rules += [ run $(fileb) /boost/thread//boost_thread
16      :  # additional args
17      :  # test-files
18      :  # requirements
19        <toolset>acc:<linkflags>-lrt
20        <toolset>acc-pa_risc:<linkflags>-lrt
21        <target-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
22#        <toolset>gcc-mingw:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
23        <toolset>gcc,<target-os>windows:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
24        <target-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
25        <toolset>msvc:<cxxflags>/bigobj
26        <target-os>windows,<toolset>intel:<cxxflags>/bigobj
27        <target-os>linux:<linkflags>"-lrt"
28      ] ;
29   }
30
31   return $(all_rules) ;
32}
33
34test-suite boost-geometry-index-rtree-interprocess : [ test_all r ] : <threading>multi ;
35