disable compiling the c++ benchmark by default

This commit is contained in:
Dane Springmeyer 2013-05-15 18:19:49 -07:00
parent 499f8aefc5
commit 729f39abd1

View file

@ -330,6 +330,7 @@ PathVariable.PathAccept),
BoolVariable('SVG_RENDERER', 'build support for native svg renderer', 'False'), BoolVariable('SVG_RENDERER', 'build support for native svg renderer', 'False'),
BoolVariable('CPP_TESTS', 'Compile the C++ tests', 'True'), BoolVariable('CPP_TESTS', 'Compile the C++ tests', 'True'),
BoolVariable('BENCHMARK', 'Compile the C++ benchmark scripts', 'False'),
# Variables for optional dependencies # Variables for optional dependencies
# Note: cairo and and pycairo are optional but configured automatically through pkg-config # Note: cairo and and pycairo are optional but configured automatically through pkg-config
@ -1832,6 +1833,7 @@ if not HELP_REQUESTED:
if env['SVG_RENDERER']: if env['SVG_RENDERER']:
SConscript('tests/cpp_tests/svg_renderer_tests/build.py') SConscript('tests/cpp_tests/svg_renderer_tests/build.py')
if env['BENCHMARK']:
SConscript('benchmark/build.py') SConscript('benchmark/build.py')
# install pkg-config script and mapnik-config script # install pkg-config script and mapnik-config script