1 # Boost.Geometry (aka GGL, Generic Geometry Library)
3 # Copyright (c) 2013 Mateusz Loskot, London, UK.
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)
10 # Build as optimised for proper benchmarking:
11 # b2 variant=release threading=multi
12 # b2 variant=release threading=multi link=static runtime-link=static
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.
19 project boost-geometry-index-example
21 <implicit-dependency>/boost//headers
24 local GLUT_ROOT = [ os.environ GLUT_ROOT ] ;
27 local glut_name = glut ;
38 <search>$(GLUT_ROOT)/lib
42 <include>$(GLUT_ROOT)/include
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 ;
54 link glut_vis.cpp glut ;