summaryrefslogtreecommitdiff
path: root/platform/osx/app/mapboxgl-app.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'platform/osx/app/mapboxgl-app.gypi')
-rw-r--r--platform/osx/app/mapboxgl-app.gypi48
1 files changed, 48 insertions, 0 deletions
diff --git a/platform/osx/app/mapboxgl-app.gypi b/platform/osx/app/mapboxgl-app.gypi
new file mode 100644
index 0000000000..8ab0320d31
--- /dev/null
+++ b/platform/osx/app/mapboxgl-app.gypi
@@ -0,0 +1,48 @@
+{
+ 'includes': [
+ '../../../gyp/common.gypi',
+ ],
+ 'targets': [
+ { 'target_name': 'osxapp',
+ 'product_name': 'Mapbox GL',
+ 'type': 'executable',
+ 'product_extension': 'app',
+ 'mac_bundle': 1,
+ 'mac_bundle_resources': [
+ 'Credits.rtf',
+ 'Icon.icns',
+ 'MainMenu.xib',
+ ],
+
+ 'dependencies': [
+ 'mbgl.gyp:core',
+ 'mbgl.gyp:platform-<(platform_lib)',
+ 'mbgl.gyp:http-<(http_lib)',
+ 'mbgl.gyp:asset-<(asset_lib)',
+ 'mbgl.gyp:cache-<(cache_lib)',
+ ],
+
+ 'sources': [
+ './AppDelegate.h',
+ './AppDelegate.m',
+ './DroppedPinAnnotation.h',
+ './DroppedPinAnnotation.m',
+ './LocationCoordinate2DTransformer.h',
+ './LocationCoordinate2DTransformer.m',
+ './TimeIntervalTransformer.h',
+ './TimeIntervalTransformer.m',
+ './NSValue+Additions.h',
+ './NSValue+Additions.m',
+ './main.m',
+ ],
+
+ 'xcode_settings': {
+ 'SDKROOT': 'macosx',
+ 'SUPPORTED_PLATFORMS':'macosx',
+ 'OTHER_LDFLAGS': [ '-stdlib=libc++', '-lstdc++' ],
+ 'INFOPLIST_FILE': '../platform/osx/app/Info.plist',
+ 'CLANG_ENABLE_OBJC_ARC': 'YES',
+ },
+ }
+ ]
+}