|
|
@ -47,6 +47,8 @@ def libbenchmark(bld): |
|
|
|
cmake_vars=dict( |
|
|
|
cmake_vars=dict( |
|
|
|
CMAKE_BUILD_TYPE='Release', |
|
|
|
CMAKE_BUILD_TYPE='Release', |
|
|
|
CMAKE_INSTALL_PREFIX=prefix_node.abspath(), |
|
|
|
CMAKE_INSTALL_PREFIX=prefix_node.abspath(), |
|
|
|
|
|
|
|
BENCHMARK_ENABLE_GTEST_TESTS='OFF', |
|
|
|
|
|
|
|
BENCHMARK_ENABLE_TESTING='OFF', |
|
|
|
), |
|
|
|
), |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
@ -54,9 +56,6 @@ def libbenchmark(bld): |
|
|
|
output_paths = ( |
|
|
|
output_paths = ( |
|
|
|
'lib/libbenchmark.a', |
|
|
|
'lib/libbenchmark.a', |
|
|
|
'include/benchmark/benchmark.h', |
|
|
|
'include/benchmark/benchmark.h', |
|
|
|
'include/benchmark/macros.h', |
|
|
|
|
|
|
|
'include/benchmark/benchmark_api.h', |
|
|
|
|
|
|
|
'include/benchmark/reporter.h', |
|
|
|
|
|
|
|
) |
|
|
|
) |
|
|
|
outputs = [prefix_node.make_node(path) for path in output_paths] |
|
|
|
outputs = [prefix_node.make_node(path) for path in output_paths] |
|
|
|
gbenchmark.build('install', target=outputs) |
|
|
|
gbenchmark.build('install', target=outputs) |
|
|
|