]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/geometry/index/example/Jamfile.v2
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / geometry / index / example / Jamfile.v2
1 # Boost.Geometry (aka GGL, Generic Geometry Library)
2 #
3 # Copyright (c) 2013 Mateusz Loskot, London, UK.
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
9 # Usage:
10 # Build as optimised for proper benchmarking:
11 # b2 variant=release threading=multi
12 # b2 variant=release threading=multi link=static runtime-link=static
13 #
14 # Set GLUT_ROOT to installation prefix of GLUT or, for Windows,
15 # it may be all-in-one directory with GLUT header and binaries.
16
17 import os ;
18
19 project boost-geometry-index-example
20 : requirements
21 <implicit-dependency>/boost//headers
22 ;
23
24 local GLUT_ROOT = [ os.environ GLUT_ROOT ] ;
25 if $(GLUT_ROOT)
26 {
27 local glut_name = glut ;
28 if [ os.name ] = NT
29 {
30 glut_name = glut32 ;
31 }
32
33 lib glut
34 :
35 :
36 <name>$(glut_name)
37 <search>$(GLUT_ROOT)
38 <search>$(GLUT_ROOT)/lib
39 :
40 :
41 <include>$(GLUT_ROOT)
42 <include>$(GLUT_ROOT)/include
43 ;
44 }
45
46 exe random_test : random_test.cpp ;
47 link serialize.cpp /boost//serialization : ;
48 link benchmark.cpp /boost//chrono : <threading>multi ;
49 link benchmark2.cpp /boost//chrono : <threading>multi ;
50 link benchmark3.cpp /boost//chrono : <threading>multi ;
51 link benchmark_experimental.cpp /boost//chrono : <threading>multi ;
52 if $(GLUT_ROOT)
53 {
54 link glut_vis.cpp glut ;
55 }