diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-21 17:15:31 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-21 17:22:26 +0200 |
commit | bfd5ad3220e7abe928daca98605012c1a12ae377 (patch) | |
tree | 1238c17671e7c069c87208b506fa092385fab13b /Makefile | |
parent | 8219d72135c007c44b61a781c95c817a8618c478 (diff) | |
download | qtlocation-mapboxgl-bfd5ad3220e7abe928daca98605012c1a12ae377.tar.gz |
[gyp] Coverage only if BUILDTYPE=Debug and ENABLE_COVERAGE=1
Coverage compiler and linker flags are used only when (1) in debug build
and (2) with ENABLE_COVERAGE set to 1. Besides, because OS X's libtool
is unable to understand '--coverage', this linker flag is only used
genrating executable targets. Also, using 'link_settings' to specify
linker options and separate instructions for OSX and Linux.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2,6 +2,7 @@ export BUILDTYPE ?= Release export BUILD_TEST ?= 1 export BUILD_RENDER ?= 1 export BUILD_OFFLINE ?= 1 +export ENABLE_COVERAGE ?= 0 # Determine build platform ifeq ($(shell uname -s), Darwin) |