disable compiling the c++ benchmark by default
This commit is contained in:
parent
499f8aefc5
commit
729f39abd1
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue