summaryrefslogtreecommitdiff
path: root/gyp/common.gypi
Commit message (Collapse)AuthorAgeFilesLines
* [gyp] Use variant compiler flags when neededBruno de Oliveira Abinader2016-02-211-2/+0
|
* [gyp] Coverage only if BUILDTYPE=Debug and ENABLE_COVERAGE=1Bruno de Oliveira Abinader2016-02-211-33/+42
| | | | | | | | 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.
* [tests] Use ENABLE_COVERAGE=1 envvar to enable coverageBruno de Oliveira Abinader2016-02-191-6/+15
| | | | This detaches coverage data collection from typical debug build.
* [osx] Enable coverage support for debug buildBruno de Oliveira Abinader2016-02-181-1/+3
|
* [linux] Enable coverage support for debug buildBruno de Oliveira Abinader2016-02-181-1/+12
|
* [all] Make #include <mapbox/variant.hpp> universally accessibleJohn Firebaugh2016-02-041-0/+2
|
* [osx] Rewrote platform-osx and osxappMinh Nguyễn2015-12-131-1/+1
| | | | | | | | | | | | | | platform-osx now vends a real NSView subclass, MGLMapView, that is readily embedded inside a Cocoa application for OS X. MGLMapView is backed by an NSOpenGLLayer for optimal performance and integration with other layer-backed views. It supports keyboard shortcuts and several gestures and hosts attribution, zooming, and rotation controls as subviews. osxapp is now a bona fide Cocoa application that embeds MGLMapView inside a XIB. osxapp has preferences and a share button for tight integration with custom styles. Enabling asynchronous rendering would be more consistent with iOS but increases CPU usage so much, even when idle, that it isn’t worth any performance gain. The bigger issue is that VAOs aren’t being used. make xpackage creates a static library similar to the one created by make ipackage. make clean cleans additional places where build output ends up. The OS X minimum deployment target has been increased from 10.9 to 10.10. osxapp’s window has a full size content view, which requires 10.10. Lightweight generics require iOS 9+ and OS X 10.11 regardless, because it was only in that release that Foundation collection classes started adopting lightweight generics. Shuffled files around and refactored annotations so that iOS and OS X share a good chunk of the annotations code, which now takes advantage of polymorphism. MGLMapView can now display annotations but cannot yet select them. In osxapp, a long press drops a pin, and so does the map view’s context menu. Annotations have NSPopovers as callouts, and their view controllers can be customized. Annotation image alignment rects are respected for hit testing purposes and for positioning the callout anchor. Callouts in osxapp demonstrate the use of bindings to keep callouts in sync with underlying model objects.
* [core] mason geojsonvt-2.1.6.3Mike Morris2015-11-021-2/+9
| | | | | | | | | | | | | - [osx] set -fvisibility-inlines-hidden in gyp/common.gypi to silence mismatched visibility linker warnings - [linux] set cxx_host in GYP_FLAGS to set -fabi-version=0 on gcc builds to use clang-built mason binaries - [ios] update symbol visibility for iOS tests - [ios] link libgeojsonvt.a in iOS tests xcodeproj - add libgeojsonvt.a to General -> Linked Frameworks and Libraries - add mason_packages (recursive) to Build Settings -> Library Search Path - [ios] add libuv and geojsonvt first in iOS libtool smush to ensure symbols are found by later compilation units where they are undefined
* [core] c++1y -> c++14Mike Morris2015-10-141-2/+1
|
* include $CFLAGS into buildKonstantin Käfer2015-08-041-0/+2
|
* compile OS X with --std=c++1yMike Morris2015-05-121-1/+1
| | | | because Travis uses Apple LLVM 6.0 and full c++14 support landed in 6.1
* C++14John Firebaugh2015-05-041-2/+3
|
* Build with gcc 4.9John Firebaugh2015-05-041-1/+0
|
* define MACOSX_DEPLOYMENT_TARGET in common.gypiMike Morris2015-04-131-0/+1
| | | | Needed in target_defaults to prevent node-gyp from overriding this everywhere with '10.5' from https://github.com/joyent/node/blob/master/common.gypi
* fixes black flicker on rotating the deviceKonstantin Käfer2015-03-121-1/+0
| | | | | | | | | | | | fixes #838 instead of rendering ad libitum on the map thread, we are now driving rendering from the UI thread on iOS via the map.renderSync() function. There are still white bars during the rotation, but the general content of the view is kept visible. - upgrades GLFW to 3.1 - removes swapped/needsSwap in favor of a more explicit scheme - View#invalidate() now replaces View#swap() and is called whenever the View needs to trigger a rerender. GLFW and Android to this right away, while iOS goes back to the main thread and does the Map redrawing as part of the GLKView update - sets all iOS deployment targets to 7.0 - disables SQLite3 version check, since the library version changed on iOS 8.2
* fix install scriptKonstantin Käfer2015-02-041-1/+0
|
* refactor makefileKonstantin Käfer2015-02-041-4/+1
|
* use fake linker for merging the standalone static libraryKonstantin Käfer2015-02-041-1/+1
|
* use standard DEBUG macro rather than NDEBUGKonstantin Käfer2015-02-041-2/+15
|
* move variables to their own fileKonstantin Käfer2015-02-041-28/+3
|
* make storage lib separate so we can build without storage libsKonstantin Käfer2015-02-041-9/+34
|
* move ios-specific configuration to common.gypiKonstantin Käfer2015-02-041-1/+22
|
* add symbols to Release builds for easier debuggingKonstantin Käfer2015-02-041-2/+2
|
* Fix -W flags for boostLeith Bade2015-02-031-6/+1
| | | Fixes #801
* Merge branch 'master' of https://github.com/mapbox/mapbox-gl-native into ↵Leith Bade2014-11-091-2/+12
|\ | | | | | | | | | | | | | | | | | | | | | | android-mason Conflicts: gyp/common.gypi include/mbgl/geometry/vao.hpp include/mbgl/platform/event.hpp include/mbgl/platform/gl.hpp platform/default/http_request_baton_curl.cpp src/storage/response.cpp
| * don't error on unused parametersKonstantin Käfer2014-11-061-1/+11
| |
| * add -Werror to os x as wellKonstantin Käfer2014-11-061-1/+1
| |
* | mason-based android portDane Springmeyer2014-11-011-0/+1
|/
* declare explicit MACOSX_DEPLOYMENT_TARGET - refs #529Dane Springmeyer2014-10-311-0/+1
|
* fix standalone_product_dir pathMike Morris2014-10-301-1/+1
|
* use stable cross-generator direction for referencing standalone lib + other ↵Dane Springmeyer2014-10-291-0/+1
| | | | minor fixups
* add -fPIC for static librariesKonstantin Käfer2014-10-271-0/+13
|
* allow installing the libraryKonstantin Käfer2014-10-271-0/+3
|
* make tests workKonstantin Käfer2014-10-241-0/+49