diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-02-09 18:01:40 -0800 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-02-09 18:01:40 -0800 |
commit | d4d4cd44151423d374e373798f09d12157babc27 (patch) | |
tree | ede100edc58475b969b62fba8f3bcb219b29beda /gyp/platform-ios.gypi | |
parent | 0ee6044ccf49bb32a25c57ce25af15bcd58ca77b (diff) | |
download | qtlocation-mapboxgl-d4d4cd44151423d374e373798f09d12157babc27.tar.gz |
move iOS code from gl-cocoa to this project
Diffstat (limited to 'gyp/platform-ios.gypi')
-rw-r--r-- | gyp/platform-ios.gypi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gyp/platform-ios.gypi b/gyp/platform-ios.gypi index bb1b450728..a8a827af65 100644 --- a/gyp/platform-ios.gypi +++ b/gyp/platform-ios.gypi @@ -15,6 +15,19 @@ '../platform/darwin/application_root.mm', '../platform/darwin/asset_root.mm', '../platform/darwin/image.mm', + '../platform/darwin/reachability.m', + '../include/mbgl/ios/MGLMapView.h', + '../platform/ios/MGLMapView.mm', + '../include/mbgl/ios/MGLStyleFunctionValue.h', + '../platform/ios/MGLStyleFunctionValue.m', + '../include/mbgl/ios/MGLTypes.h', + '../platform/ios/MGLTypes.m', + '../include/mbgl/ios/NSArray+MGLAdditions.h', + '../platform/ios/NSArray+MGLAdditions.m', + '../include/mbgl/ios/NSDictionary+MGLAdditions.h', + '../platform/ios/NSDictionary+MGLAdditions.m', + '../include/mbgl/ios/UIColor+MGLAdditions.h', + '../platform/ios/UIColor+MGLAdditions.m', ], 'variables': { @@ -26,8 +39,14 @@ '<@(uv_static_libs)', ], 'ldflags': [ + '-framework CoreGraphics', + '-framework CoreLocation', '-framework ImageIO', + '-framework GLKit', '-framework MobileCoreServices', + '-framework OpenGLES', + '-framework SystemConfiguration', + '-framework UIKit', ], }, @@ -37,6 +56,7 @@ 'xcode_settings': { 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ], + 'CLANG_ENABLE_OBJC_ARC': 'YES', }, 'link_settings': { @@ -50,6 +70,9 @@ 'include_dirs': [ '../include', ], + 'mac_bundle_resources': [ + '<!@(find ./platform/ios/resources -type f)', + ], }, }, ], |