summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-06-03 18:05:04 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-08-05 11:42:22 +0200
commit692fe1f3ffc8f4364b39c14aa7d90cec2ff5c0a6 (patch)
tree1d08af7d56e986dba2b548ff9b9a7e1a77c713ed /benchmark
parente3ee55b28d0b230d054c9718f79a1f6d685cd62b (diff)
downloadqtlocation-mapboxgl-692fe1f3ffc8f4364b39c14aa7d90cec2ff5c0a6.tar.gz
[build] switch to CMake
This is very much a work in progress.
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/benchmark.gypi87
1 files changed, 0 insertions, 87 deletions
diff --git a/benchmark/benchmark.gypi b/benchmark/benchmark.gypi
deleted file mode 100644
index 011ac16584..0000000000
--- a/benchmark/benchmark.gypi
+++ /dev/null
@@ -1,87 +0,0 @@
-{
- 'targets': [
- {
- 'target_name': 'benchmark-lib',
- 'type': 'static_library',
- 'standalone_static_library': 1,
- 'hard_dependency': 1,
- 'dependencies': [
- 'core',
- ],
-
- 'include_dirs': [
- '../include',
- '../src',
- '../platform/default',
- 'include',
- 'src',
- ],
-
- 'sources': [
- 'parse/filter.cpp',
-
-
- 'src/mbgl/benchmark/benchmark.cpp'
- ],
-
- 'variables': {
- 'cflags_cc': [
- '<@(benchmark_cflags)',
- '<@(rapidjson_cflags)',
- ],
- 'ldflags': [
- '<@(benchmark_ldflags)',
- ],
- 'libraries': [
- '<@(benchmark_static_libs)',
- ],
- },
-
- 'conditions': [
- ['OS == "mac"', {
- 'xcode_settings': {
- 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ],
- },
- }, {
- 'cflags_cc': [ '<@(cflags_cc)' ],
- }],
- ],
- 'link_settings': {
- 'conditions': [
- ['OS == "mac"', {
- 'libraries': [ '<@(libraries)' ],
- 'xcode_settings': { 'OTHER_LDFLAGS': [ '<@(ldflags)' ] }
- }, {
- 'libraries': [ '<@(libraries)', '<@(ldflags)' ],
- }]
- ],
- },
-
- 'direct_dependent_settings': {
- 'include_dirs': [
- 'include',
- ],
-
- # Force the linker to include all the objects from the lib-benchmark archive. Otherwise they'd
- # be discarded because there are no undefined symbols to pull them in, and the resulting
- # executable would run zero tests.
-
- 'conditions': [
- ['OS == "mac"', {
- 'xcode_settings': {
- 'OTHER_LDFLAGS': [
- '-Wl,-force_load,<(PRODUCT_DIR)/libbenchmark-lib.a',
- ],
- }
- }, {
- 'link_settings': {
- 'ldflags': [
- '-Wl,-whole-archive <(PRODUCT_DIR)/libbenchmark-lib.a -Wl,-no-whole-archive',
- ],
- },
- }],
- ],
- },
- },
- ]
-}