diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-17 10:32:50 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-18 15:01:58 +0200 |
commit | ec97264431a3b29327332072b5328d81768547c9 (patch) | |
tree | 3f295a43c94caed0238149c821980379ae56a56f /platform/linux | |
parent | d5da86b0980ce84c1d64507452eaf7a301f3c85d (diff) | |
download | qtlocation-mapboxgl-ec97264431a3b29327332072b5328d81768547c9.tar.gz |
[osx] Enable coverage support for debug build
Diffstat (limited to 'platform/linux')
-rw-r--r-- | platform/linux/mapboxgl-app.gypi | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/platform/linux/mapboxgl-app.gypi b/platform/linux/mapboxgl-app.gypi index 3788efba43..449329932e 100644 --- a/platform/linux/mapboxgl-app.gypi +++ b/platform/linux/mapboxgl-app.gypi @@ -47,7 +47,14 @@ 'OTHER_LDFLAGS': [ '<@(ldflags)' ], 'SDKROOT': 'macosx', 'MACOSX_DEPLOYMENT_TARGET': '10.10', - } + }, + 'configurations': { + 'Debug': { + 'xcode_settings': { + 'OTHER_LDFLAGS': [ '-lgcov' ], + }, + }, + }, }, { 'cflags_cc': [ '<@(cflags_cc)' ], 'libraries': [ '<@(libraries)', '<@(ldflags)' ], |