[build] add benchmark target
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
'includes': [
|
||||
'../../mbgl.gypi',
|
||||
'../../test/test.gypi',
|
||||
'../../benchmark/benchmark.gypi',
|
||||
'../../bin/glfw.gypi',
|
||||
'../../bin/render.gypi',
|
||||
'../../bin/offline.gypi',
|
||||
@@ -33,6 +34,19 @@
|
||||
'../../test/src/main.cpp',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'benchmark',
|
||||
'type': 'executable',
|
||||
|
||||
'dependencies': [
|
||||
'benchmark-lib',
|
||||
'platform-lib',
|
||||
],
|
||||
|
||||
'sources': [
|
||||
'../../benchmark/src/main.cpp',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'platform-lib',
|
||||
'product_name': 'mbgl-platform-linux',
|
||||
|
||||
@@ -22,6 +22,7 @@ GTEST_VERSION=1.7.0${CXX11ABI:-}
|
||||
PIXELMATCH_VERSION=0.9.0
|
||||
WEBP_VERSION=0.5.0
|
||||
EARCUT_VERSION=0.11
|
||||
BENCHMARK_VERSION=1.0.0
|
||||
|
||||
function print_opengl_flags {
|
||||
CONFIG+=" 'opengl_cflags%': $(quote_flags $(pkg-config gl x11 --cflags)),"$LN
|
||||
|
||||
Reference in New Issue
Block a user