From 729f39abd1e645c5693dac201312744fa2b73ebf Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 15 May 2013 18:19:49 -0700 Subject: [PATCH] disable compiling the c++ benchmark by default --- SConstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index f436535db..5cba24449 100644 --- a/SConstruct +++ b/SConstruct @@ -330,6 +330,7 @@ PathVariable.PathAccept), BoolVariable('SVG_RENDERER', 'build support for native svg renderer', 'False'), BoolVariable('CPP_TESTS', 'Compile the C++ tests', 'True'), + BoolVariable('BENCHMARK', 'Compile the C++ benchmark scripts', 'False'), # Variables for optional dependencies # Note: cairo and and pycairo are optional but configured automatically through pkg-config @@ -1832,7 +1833,8 @@ if not HELP_REQUESTED: if env['SVG_RENDERER']: SConscript('tests/cpp_tests/svg_renderer_tests/build.py') - SConscript('benchmark/build.py') + if env['BENCHMARK']: + SConscript('benchmark/build.py') # install pkg-config script and mapnik-config script SConscript('utils/mapnik-config/build.py')