diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-02-07 17:52:51 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-02-07 20:12:44 +0200 |
commit | 47f2b20435cc524e2e300ad4881e198079c536bf (patch) | |
tree | a4236cad25ffca9936fa0c832dcc5003d79fabad /platform/ios | |
parent | f7fef70e9ddb9f52b071703d3ff0683b921606ac (diff) | |
download | qtlocation-mapboxgl-47f2b20435cc524e2e300ad4881e198079c536bf.tar.gz |
[build] Remove unused files
Buck build is no longer needed, neither is the previous
CMake buildsystem.
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/config.cmake | 53 | ||||
-rw-r--r-- | platform/ios/core-files.json | 38 | ||||
-rw-r--r-- | platform/ios/sdk-files.json | 318 | ||||
-rw-r--r-- | platform/ios/toolchain.cmake | 129 |
4 files changed, 0 insertions, 538 deletions
diff --git a/platform/ios/config.cmake b/platform/ios/config.cmake deleted file mode 100644 index 7f15355876..0000000000 --- a/platform/ios/config.cmake +++ /dev/null @@ -1,53 +0,0 @@ -set(USE_GLES2 ON) - -macro(initialize_ios_target target) - set_xcode_property(${target} IPHONEOS_DEPLOYMENT_TARGET "9.0") - set_xcode_property(${target} ENABLE_BITCODE "YES") - set_xcode_property(${target} BITCODE_GENERATION_MODE bitcode) - set_xcode_property(${target} ONLY_ACTIVE_ARCH $<$<CONFIG:Debug>:YES>) - - target_compile_options(${target} - PRIVATE -fobjc-arc - ) -endmacro() - - -include(cmake/loop-darwin.cmake) -initialize_ios_target(mbgl-vendor-icu) -initialize_ios_target(mbgl-loop-darwin) - - -macro(mbgl_platform_core) - initialize_ios_target(mbgl-core) - - target_sources_from_file(mbgl-core PRIVATE platform/ios/core-files.json) - - target_include_directories(mbgl-core - PUBLIC platform/darwin/include - PUBLIC platform/default/include - ) - - target_link_libraries(mbgl-core - PUBLIC "-lz" - PUBLIC "-framework Foundation" - PUBLIC "-framework CoreText" - PUBLIC "-framework CoreGraphics" - PUBLIC "-framework OpenGLES" - PUBLIC "-framework ImageIO" - PUBLIC "-framework MobileCoreServices" - PUBLIC "-framework SystemConfiguration" - ) -endmacro() - - -macro(mbgl_filesource) - initialize_ios_target(mbgl-filesource) - - # Modify platform/darwin/filesource-files.json to change the source files for this target. - target_sources_from_file(mbgl-filesource PRIVATE platform/darwin/filesource-files.json) - - target_link_libraries(mbgl-filesource - PUBLIC "-lsqlite3" - PUBLIC "-framework Foundation" - ) -endmacro() diff --git a/platform/ios/core-files.json b/platform/ios/core-files.json deleted file mode 100644 index 44b3cf76aa..0000000000 --- a/platform/ios/core-files.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "//": "This file can be edited manually and is the canonical source.", - "sources": [ - "platform/darwin/src/collator.mm", - "platform/darwin/src/gl_functions.cpp", - "platform/darwin/src/headless_backend_eagl.mm", - "platform/darwin/src/image.mm", - "platform/darwin/src/local_glyph_rasterizer.mm", - "platform/darwin/src/logging_nslog.mm", - "platform/darwin/src/number_format.mm", - "platform/darwin/src/nsthread.mm", - "platform/darwin/src/reachability.m", - "platform/darwin/src/string_nsstring.mm", - "platform/default/src/mbgl/gfx/headless_backend.cpp", - "platform/default/src/mbgl/gfx/headless_frontend.cpp", - "platform/default/src/mbgl/gl/headless_backend.cpp", - "platform/default/src/mbgl/map/map_snapshotter.cpp", - "platform/default/src/mbgl/text/bidi.cpp", - "platform/default/src/mbgl/util/compression.cpp", - "platform/default/src/mbgl/util/monotonic_timer.cpp", - "platform/default/src/mbgl/util/png_writer.cpp", - "platform/default/src/mbgl/util/thread_local.cpp", - "platform/default/src/mbgl/util/utf.cpp", - "platform/darwin/src/native_apple_interface.m" - ], - "public_headers": { - "mbgl/storage/reachability.h": "platform/darwin/include/mbgl/storage/reachability.h", - "mbgl/interface/native_apple_interface.h": "platform/darwin/include/mbgl/interface/native_apple_interface.h", - "mbgl/util/image+MGLAdditions.hpp": "platform/darwin/include/mbgl/util/image+MGLAdditions.hpp", - "mbgl/gfx/headless_backend.hpp": "platform/default/include/mbgl/gfx/headless_backend.hpp", - "mbgl/gfx/headless_frontend.hpp": "platform/default/include/mbgl/gfx/headless_frontend.hpp", - "mbgl/gl/headless_backend.hpp": "platform/default/include/mbgl/gl/headless_backend.hpp", - "mbgl/map/map_snapshotter.hpp": "platform/default/include/mbgl/map/map_snapshotter.hpp" - }, - "private_headers": { - "CFHandle.hpp": "platform/darwin/src/CFHandle.hpp" - } -} diff --git a/platform/ios/sdk-files.json b/platform/ios/sdk-files.json deleted file mode 100644 index 47dacb7cce..0000000000 --- a/platform/ios/sdk-files.json +++ /dev/null @@ -1,318 +0,0 @@ -{ - "//": "This file is generated. Do not edit. Regenerate it with scripts/generate-file-lists.js", - "sources": [ - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEDate.m", - "platform/darwin/src/MGLBackgroundStyleLayer.mm", - "platform/darwin/src/NSComparisonPredicate+MGLAdditions.mm", - "platform/darwin/src/NSURL+MGLAdditions.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEEvent.m", - "platform/ios/src/MGLSDKUpdateChecker.mm", - "platform/ios/src/MGLUserLocationAnnotationView.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEEventsConfiguration.m", - "platform/ios/src/MGLFaux3DUserLocationAnnotationView.m", - "platform/darwin/src/MGLFeature.mm", - "platform/ios/src/UIImage+MGLAdditions.mm", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEMetricsManager.m", - "platform/ios/src/MGLMapView+Impl.mm", - "platform/ios/src/MGLAnnotationContainerView.m", - "platform/ios/src/MGLCompactCalloutView.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEDependencyManager.m", - "platform/darwin/src/MGLPointAnnotation.mm", - "platform/ios/src/MGLMapView+OpenGL.mm", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEConstants.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEPinningConfigurationProvider.m", - "platform/ios/src/MGLAnnotationView.mm", - "platform/darwin/src/MGLCircleStyleLayer.mm", - "platform/ios/src/UIViewController+MGLAdditions.m", - "platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm", - "platform/darwin/src/MGLVectorStyleLayer.mm", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEUniqueIdentifier.m", - "platform/darwin/src/MGLShapeSource.mm", - "platform/ios/src/UIDevice+MGLAdditions.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMECertPin.m", - "platform/darwin/src/NSArray+MGLAdditions.mm", - "platform/ios/src/UIView+MGLAdditions.m", - "platform/ios/src/NSOrthography+MGLAdditions.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEDispatchManager.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMETimerManager.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Categories/CLLocation+MMEMobileEvents.m", - "platform/darwin/src/MGLRasterStyleLayer.mm", - "platform/darwin/src/MGLForegroundStyleLayer.mm", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEEventLogReportViewController.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEConfigurator.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Categories/NSData+MMEGZIP.m", - "platform/darwin/src/MGLAttributionInfo.mm", - "platform/darwin/src/NSBundle+MGLAdditions.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEUINavigation.m", - "platform/ios/src/MGLUserLocationHeadingArrowLayer.m", - "platform/ios/src/MGLUserLocation.m", - "platform/darwin/src/MGLMapSnapshotter.mm", - "platform/darwin/src/MGLVectorTileSource.mm", - "platform/darwin/src/MGLRasterTileSource.mm", - "platform/ios/vendor/SMCalloutView/SMCalloutView.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Categories/MMECategoryLoader.m", - "platform/darwin/src/MGLSource.mm", - "platform/darwin/src/MGLLight.mm", - "platform/darwin/src/MGLClockDirectionFormatter.m", - "platform/darwin/src/MGLShapeCollection.mm", - "platform/darwin/src/MGLHillshadeStyleLayer.mm", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Categories/UIKit+MMEMobileEvents.m", - "platform/darwin/src/MGLSymbolStyleLayer.mm", - "platform/darwin/src/MGLLoggingConfiguration.mm", - "platform/darwin/src/MGLStyleValue.mm", - "platform/darwin/src/MGLNetworkIntegrationManager.m", - "platform/darwin/src/MGLOfflinePack.mm", - "platform/darwin/src/MGLComputedShapeSource.mm", - "platform/darwin/src/MGLDistanceFormatter.m", - "platform/ios/src/MGLMapboxEvents.m", - "platform/darwin/src/MGLSDKMetricsManager.m", - "platform/ios/src/MGLCompassButton.mm", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEAPIClient.m", - "platform/ios/src/MGLMapView.mm", - "platform/ios/src/MGLAnnotationImage.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMELocationManager.m", - "platform/darwin/src/MGLShape.mm", - "platform/darwin/src/MGLCompassDirectionFormatter.m", - "platform/darwin/src/MGLNetworkConfiguration.m", - "platform/darwin/src/MGLStyleLayer.mm", - "platform/darwin/src/MGLStyleLayerManager.mm", - "platform/darwin/src/NSValue+MGLAdditions.m", - "platform/darwin/src/MGLImageSource.mm", - "platform/darwin/src/NSString+MGLAdditions.m", - "platform/darwin/src/NSDictionary+MGLAdditions.mm", - "platform/darwin/src/MGLCoordinateFormatter.m", - "platform/darwin/src/MGLShapeOfflineRegion.mm", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEMetrics.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEUIApplicationWrapper.m", - "platform/darwin/src/MGLStyle.mm", - "platform/darwin/src/NSCoder+MGLAdditions.mm", - "platform/darwin/src/MGLAttributedExpression.m", - "platform/darwin/src/MGLGeometry.mm", - "platform/darwin/src/MGLFoundation.mm", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMECommonEventData.m", - "platform/darwin/src/NSExpression+MGLAdditions.mm", - "platform/darwin/src/MGLMultiPoint.mm", - "platform/darwin/src/MGLTypes.m", - "platform/darwin/src/MGLFillExtrusionStyleLayer.mm", - "platform/darwin/src/MGLTileSource.mm", - "platform/ios/src/MGLScaleBar.mm", - "platform/darwin/src/MGLMapCamera.mm", - "platform/darwin/src/MGLRasterDEMSource.mm", - "platform/darwin/src/MGLPolygon.mm", - "platform/darwin/src/NSPredicate+MGLAdditions.mm", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Reachability/MMEReachability.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMENSURLSessionWrapper.m", - "platform/ios/src/MGLUserLocationHeadingBeamLayer.m", - "platform/darwin/src/MGLHeatmapStyleLayer.mm", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEEventLogger.m", - "platform/darwin/src/NSDate+MGLAdditions.mm", - "platform/darwin/src/MGLLocationManager.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Categories/CLLocationManager+MMEMobileEvents.m", - "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEEventsManager.m", - "platform/darwin/src/MGLFillStyleLayer.mm", - "platform/darwin/src/MGLOfflineStorage.mm", - "platform/darwin/src/MGLTilePyramidOfflineRegion.mm", - "platform/darwin/src/MGLPointCollection.mm", - "platform/darwin/src/MGLLineStyleLayer.mm", - "platform/ios/src/MGLMapAccessibilityElement.mm", - "platform/darwin/src/MGLOpenGLStyleLayer.mm", - "platform/darwin/src/MGLAccountManager.m", - "platform/darwin/src/NSCompoundPredicate+MGLAdditions.mm", - "platform/ios/src/MGLTelemetryConfig.m", - "platform/darwin/src/MGLPolyline.mm", - "platform/ios/src/UIColor+MGLAdditions.mm", - "platform/darwin/src/MGLRendererConfiguration.mm" - ], - "public_headers": { - "MGLFoundation.h": "platform/darwin/src/MGLFoundation.h", - "MGLShapeOfflineRegion.h": "platform/darwin/src/MGLShapeOfflineRegion.h", - "MGLFillStyleLayer.h": "platform/darwin/src/MGLFillStyleLayer.h", - "MGLAnnotationImage.h": "platform/ios/src/MGLAnnotationImage.h", - "MGLHillshadeStyleLayer.h": "platform/darwin/src/MGLHillshadeStyleLayer.h", - "MGLCluster.h": "platform/darwin/src/MGLCluster.h", - "MGLClockDirectionFormatter.h": "platform/darwin/src/MGLClockDirectionFormatter.h", - "MGLSymbolStyleLayer.h": "platform/darwin/src/MGLSymbolStyleLayer.h", - "MGLAttributionInfo.h": "platform/darwin/src/MGLAttributionInfo.h", - "MGLPolyline.h": "platform/darwin/src/MGLPolyline.h", - "MGLStyleLayer.h": "platform/darwin/src/MGLStyleLayer.h", - "MGLCameraChangeReason.h": "platform/ios/src/MGLCameraChangeReason.h", - "MGLCalloutView.h": "platform/ios/src/MGLCalloutView.h", - "NSExpression+MGLAdditions.h": "platform/darwin/src/NSExpression+MGLAdditions.h", - "MGLShape.h": "platform/darwin/src/MGLShape.h", - "MGLBackgroundStyleLayer.h": "platform/darwin/src/MGLBackgroundStyleLayer.h", - "MGLStyle.h": "platform/darwin/src/MGLStyle.h", - "MGLUserLocationAnnotationView.h": "platform/ios/src/MGLUserLocationAnnotationView.h", - "MGLAnnotation.h": "platform/darwin/src/MGLAnnotation.h", - "MGLCompassButton.h": "platform/ios/src/MGLCompassButton.h", - "MGLLight.h": "platform/darwin/src/MGLLight.h", - "MGLPointCollection.h": "platform/darwin/src/MGLPointCollection.h", - "MGLAnnotationView.h": "platform/ios/src/MGLAnnotationView.h", - "MGLFillExtrusionStyleLayer.h": "platform/darwin/src/MGLFillExtrusionStyleLayer.h", - "MGLRasterStyleLayer.h": "platform/darwin/src/MGLRasterStyleLayer.h", - "MGLAccountManager.h": "platform/darwin/src/MGLAccountManager.h", - "NSValue+MGLAdditions.h": "platform/darwin/src/NSValue+MGLAdditions.h", - "MGLVectorStyleLayer.h": "platform/darwin/src/MGLVectorStyleLayer.h", - "MGLNetworkConfiguration.h": "platform/darwin/src/MGLNetworkConfiguration.h", - "MGLComputedShapeSource.h": "platform/darwin/src/MGLComputedShapeSource.h", - "MGLSDKMetricsManager.h": "platform/darwin/src/MGLSDKMetricsManager.h", - "MGLLoggingConfiguration.h": "platform/darwin/src/MGLLoggingConfiguration.h", - "MGLLocationManager.h": "platform/darwin/src/MGLLocationManager.h", - "MGLRasterDEMSource.h": "platform/darwin/src/MGLRasterDEMSource.h", - "MGLLineStyleLayer.h": "platform/darwin/src/MGLLineStyleLayer.h", - "MGLImageSource.h": "platform/darwin/src/MGLImageSource.h", - "MGLOfflinePack.h": "platform/darwin/src/MGLOfflinePack.h", - "MGLUserLocation.h": "platform/ios/src/MGLUserLocation.h", - "MGLMapView+IBAdditions.h": "platform/ios/src/MGLMapView+IBAdditions.h", - "MGLShapeCollection.h": "platform/darwin/src/MGLShapeCollection.h", - "MGLShapeSource.h": "platform/darwin/src/MGLShapeSource.h", - "NSPredicate+MGLAdditions.h": "platform/darwin/src/NSPredicate+MGLAdditions.h", - "MGLMapSnapshotter.h": "platform/darwin/src/MGLMapSnapshotter.h", - "MGLCoordinateFormatter.h": "platform/darwin/src/MGLCoordinateFormatter.h", - "MGLStyleValue.h": "platform/darwin/src/MGLStyleValue.h", - "MGLOverlay.h": "platform/darwin/src/MGLOverlay.h", - "MGLCompassDirectionFormatter.h": "platform/darwin/src/MGLCompassDirectionFormatter.h", - "MGLTypes.h": "platform/darwin/src/MGLTypes.h", - "MGLGeometry.h": "platform/darwin/src/MGLGeometry.h", - "MGLSource.h": "platform/darwin/src/MGLSource.h", - "MGLRasterTileSource.h": "platform/darwin/src/MGLRasterTileSource.h", - "MGLPolygon.h": "platform/darwin/src/MGLPolygon.h", - "MGLPointAnnotation.h": "platform/darwin/src/MGLPointAnnotation.h", - "MGLHeatmapStyleLayer.h": "platform/darwin/src/MGLHeatmapStyleLayer.h", - "MGLCircleStyleLayer.h": "platform/darwin/src/MGLCircleStyleLayer.h", - "MGLMultiPoint.h": "platform/darwin/src/MGLMultiPoint.h", - "MGLAttributedExpression.h": "platform/darwin/src/MGLAttributedExpression.h", - "MGLFeature.h": "platform/darwin/src/MGLFeature.h", - "MGLMapCamera.h": "platform/darwin/src/MGLMapCamera.h", - "MGLForegroundStyleLayer.h": "platform/darwin/src/MGLForegroundStyleLayer.h", - "MGLOfflineRegion.h": "platform/darwin/src/MGLOfflineRegion.h", - "MGLMapViewDelegate.h": "platform/ios/src/MGLMapViewDelegate.h", - "MGLDistanceFormatter.h": "platform/darwin/src/MGLDistanceFormatter.h", - "MGLOpenGLStyleLayer.h": "platform/darwin/src/MGLOpenGLStyleLayer.h", - "MGLTileSource.h": "platform/darwin/src/MGLTileSource.h", - "MGLTilePyramidOfflineRegion.h": "platform/darwin/src/MGLTilePyramidOfflineRegion.h", - "MGLVectorTileSource.h": "platform/darwin/src/MGLVectorTileSource.h", - "MGLOfflineStorage.h": "platform/darwin/src/MGLOfflineStorage.h", - "MGLMapView.h": "platform/ios/src/MGLMapView.h", - "Mapbox/Mapbox.h": "platform/ios/src/Mapbox.h" - }, - "private_headers": { - "MGLFillStyleLayer_Private.h": "platform/darwin/src/MGLFillStyleLayer_Private.h", - "MGLOfflinePack_Private.h": "platform/darwin/src/MGLOfflinePack_Private.h", - "MGLCompassButton_Private.h": "platform/ios/src/MGLCompassButton_Private.h", - "MGLSource_Private.h": "platform/darwin/src/MGLSource_Private.h", - "MGLAnnotationView_Private.h": "platform/ios/src/MGLAnnotationView_Private.h", - "MGLValueEvaluator.h": "platform/darwin/src/MGLValueEvaluator.h", - "NSBundle+MGLAdditions.h": "platform/darwin/src/NSBundle+MGLAdditions.h", - "MGLBackgroundStyleLayer_Private.h": "platform/darwin/src/MGLBackgroundStyleLayer_Private.h", - "MGLHillshadeStyleLayer_Private.h": "platform/darwin/src/MGLHillshadeStyleLayer_Private.h", - "NSCoder+MGLAdditions.h": "platform/darwin/src/NSCoder+MGLAdditions.h", - "MGLComputedShapeSource_Private.h": "platform/darwin/src/MGLComputedShapeSource_Private.h", - "MGLPolyline_Private.h": "platform/darwin/src/MGLPolyline_Private.h", - "MGLShapeSource_Private.h": "platform/darwin/src/MGLShapeSource_Private.h", - "NSData+MMEGZIP.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Categories/NSData+MMEGZIP.h", - "NSValue+MGLStyleAttributeAdditions.h": "platform/darwin/src/NSValue+MGLStyleAttributeAdditions.h", - "MGLLineStyleLayer_Private.h": "platform/darwin/src/MGLLineStyleLayer_Private.h", - "MGLRasterStyleLayer_Private.h": "platform/darwin/src/MGLRasterStyleLayer_Private.h", - "MGLOfflineStorage_Private.h": "platform/darwin/src/MGLOfflineStorage_Private.h", - "MGLAnnotationContainerView_Private.h": "platform/ios/src/MGLAnnotationContainerView_Private.h", - "MGLStyle_Private.h": "platform/darwin/src/MGLStyle_Private.h", - "MMECategoryLoader.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Categories/MMECategoryLoader.h", - "MGLHeatmapStyleLayer_Private.h": "platform/darwin/src/MGLHeatmapStyleLayer_Private.h", - "NSPredicate+MGLPrivateAdditions.h": "platform/darwin/src/NSPredicate+MGLPrivateAdditions.h", - "MGLSDKMetricsManager_Private.h": "platform/darwin/src/MGLSDKMetricsManager_Private.h", - "MGLNetworkConfiguration_Private.h": "platform/darwin/src/MGLNetworkConfiguration_Private.h", - "NSDate+MGLAdditions.h": "platform/darwin/src/NSDate+MGLAdditions.h", - "MGLCompactCalloutView.h": "platform/ios/src/MGLCompactCalloutView.h", - "MGLStyleLayerManager.h": "platform/darwin/src/MGLStyleLayerManager.h", - "MGLUserLocation_Private.h": "platform/ios/src/MGLUserLocation_Private.h", - "MGLUserLocationHeadingArrowLayer.h": "platform/ios/src/MGLUserLocationHeadingArrowLayer.h", - "MGLAccountManager_Private.h": "platform/darwin/src/MGLAccountManager_Private.h", - "UIViewController+MGLAdditions.h": "platform/ios/src/UIViewController+MGLAdditions.h", - "MGLVectorTileSource_Private.h": "platform/darwin/src/MGLVectorTileSource_Private.h", - "MGLCircleStyleLayer_Private.h": "platform/darwin/src/MGLCircleStyleLayer_Private.h", - "NSArray+MGLAdditions.h": "platform/darwin/src/NSArray+MGLAdditions.h", - "MGLShape_Private.h": "platform/darwin/src/MGLShape_Private.h", - "MGLPolygon_Private.h": "platform/darwin/src/MGLPolygon_Private.h", - "MGLStyleLayer_Private.h": "platform/darwin/src/MGLStyleLayer_Private.h", - "UIView+MGLAdditions.h": "platform/ios/src/UIView+MGLAdditions.h", - "MGLLocationManager_Private.h": "platform/darwin/src/MGLLocationManager_Private.h", - "MGLMapView+OpenGL.h": "platform/ios/src/MGLMapView+OpenGL.h", - "MGLLoggingConfiguration_Private.h": "platform/darwin/src/MGLLoggingConfiguration_Private.h", - "NSComparisonPredicate+MGLAdditions.h": "platform/darwin/src/NSComparisonPredicate+MGLAdditions.h", - "MGLMapAccessibilityElement.h": "platform/ios/src/MGLMapAccessibilityElement.h", - "MGLScaleBar.h": "platform/ios/src/MGLScaleBar.h", - "MMEDate.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEDate.h", - "NSString+MGLAdditions.h": "platform/darwin/src/NSString+MGLAdditions.h", - "UIDevice+MGLAdditions.h": "platform/ios/src/UIDevice+MGLAdditions.h", - "MGLMapSnapshotter_Private.h": "platform/darwin/src/MGLMapSnapshotter_Private.h", - "MGLRendererFrontend.h": "platform/darwin/src/MGLRendererFrontend.h", - "MGLStyleValue_Private.h": "platform/darwin/src/MGLStyleValue_Private.h", - "MGLFillExtrusionStyleLayer_Private.h": "platform/darwin/src/MGLFillExtrusionStyleLayer_Private.h", - "NSException+MGLAdditions.h": "platform/darwin/src/NSException+MGLAdditions.h", - "MGLSymbolStyleLayer_Private.h": "platform/darwin/src/MGLSymbolStyleLayer_Private.h", - "MGLTilePyramidOfflineRegion_Private.h": "platform/darwin/src/MGLTilePyramidOfflineRegion_Private.h", - "MGLUserLocationHeadingIndicator.h": "platform/ios/src/MGLUserLocationHeadingIndicator.h", - "NSDictionary+MGLAdditions.h": "platform/darwin/src/NSDictionary+MGLAdditions.h", - "UIKit+MMEMobileEvents.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Categories/UIKit+MMEMobileEvents.h", - "MGLFoundation_Private.h": "platform/darwin/src/MGLFoundation_Private.h", - "MGLUserLocationHeadingBeamLayer.h": "platform/ios/src/MGLUserLocationHeadingBeamLayer.h", - "MMECertPin.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMECertPin.h", - "MGLMapView_Private.h": "platform/ios/src/MGLMapView_Private.h", - "MGLMapboxEvents.h": "platform/ios/src/MGLMapboxEvents.h", - "NSURL+MGLAdditions.h": "platform/darwin/src/NSURL+MGLAdditions.h", - "MGLMultiPoint_Private.h": "platform/darwin/src/MGLMultiPoint_Private.h", - "UIColor+MGLAdditions.h": "platform/ios/src/UIColor+MGLAdditions.h", - "MGLAttributionInfo_Private.h": "platform/darwin/src/MGLAttributionInfo_Private.h", - "MBXSKUToken.h": "platform/ios/vendor/mapbox-accounts-ios/MBXSKUToken.h", - "SMCalloutView.h": "platform/ios/vendor/SMCalloutView/SMCalloutView.h", - "MGLOfflineRegion_Private.h": "platform/darwin/src/MGLOfflineRegion_Private.h", - "MMEPinningConfigurationProvider.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEPinningConfigurationProvider.h", - "MGLPointCollection_Private.h": "platform/darwin/src/MGLPointCollection_Private.h", - "UIImage+MGLAdditions.h": "platform/ios/src/UIImage+MGLAdditions.h", - "NSOrthography+MGLAdditions.h": "platform/ios/src/NSOrthography+MGLAdditions.h", - "MGLLight_Private.h": "platform/darwin/src/MGLLight_Private.h", - "MGLAnnotationContainerView.h": "platform/ios/src/MGLAnnotationContainerView.h", - "MGLSDKUpdateChecker.h": "platform/ios/src/MGLSDKUpdateChecker.h", - "MGLAnnotationImage_Private.h": "platform/ios/src/MGLAnnotationImage_Private.h", - "MGLConversion.h": "platform/darwin/src/MGLConversion.h", - "MGLShapeOfflineRegion_Private.h": "platform/darwin/src/MGLShapeOfflineRegion_Private.h", - "MGLTelemetryConfig.h": "platform/ios/src/MGLTelemetryConfig.h", - "MGLGeometry_Private.h": "platform/darwin/src/MGLGeometry_Private.h", - "NSCompoundPredicate+MGLAdditions.h": "platform/darwin/src/NSCompoundPredicate+MGLAdditions.h", - "NSExpression+MGLPrivateAdditions.h": "platform/darwin/src/NSExpression+MGLPrivateAdditions.h", - "MGLOpenGLStyleLayer_Private.h": "platform/darwin/src/MGLOpenGLStyleLayer_Private.h", - "MGLTileSource_Private.h": "platform/darwin/src/MGLTileSource_Private.h", - "MGLFaux3DUserLocationAnnotationView.h": "platform/ios/src/MGLFaux3DUserLocationAnnotationView.h", - "MGLUserLocationAnnotationView_Private.h": "platform/ios/src/MGLUserLocationAnnotationView_Private.h", - "MGLRasterTileSource_Private.h": "platform/darwin/src/MGLRasterTileSource_Private.h", - "MGLFeature_Private.h": "platform/darwin/src/MGLFeature_Private.h", - "MGLRendererConfiguration.h": "platform/darwin/src/MGLRendererConfiguration.h", - "MMEReachability.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Reachability/MMEReachability.h", - "MMENamespacedDependencies.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMENamespacedDependencies.h", - "MapboxMobileEvents.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MapboxMobileEvents.h", - "MMEAPIClient.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEAPIClient.h", - "MMECommonEventData.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMECommonEventData.h", - "MMEConstants.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEConstants.h", - "MMEDependencyManager.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEDependencyManager.h", - "MMEEvent.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEEvent.h", - "CLLocation+MMEMobileEvents.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Categories/CLLocation+MMEMobileEvents.h", - "MMEEventLogger.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEEventLogger.h", - "MMEEventLogReportViewController.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEEventLogReportViewController.h", - "MMEEventsConfiguration.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEEventsConfiguration.h", - "MGLNetworkIntegrationManager.h": "platform/darwin/src/MGLNetworkIntegrationManager.h", - "MMEConfigurator.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEConfigurator.h", - "MMELocationManager.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMELocationManager.h", - "MMEMetrics.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEMetrics.h", - "MMEMetricsManager.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEMetricsManager.h", - "MMENSURLSessionWrapper.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMENSURLSessionWrapper.h", - "MGLMapView+Impl.h": "platform/ios/src/MGLMapView+Impl.h", - "MMETimerManager.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMETimerManager.h", - "MMETypes.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMETypes.h", - "CLLocationManager+MMEMobileEvents.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/Categories/CLLocationManager+MMEMobileEvents.h", - "MMEUIApplicationWrapper.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEUIApplicationWrapper.h", - "MMEUINavigation.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEUINavigation.h", - "MMEUniqueIdentifier.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEUniqueIdentifier.h", - "MMEDispatchManager.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEDispatchManager.h", - "MMEEventsManager.h": "platform/ios/vendor/mapbox-events-ios/MapboxMobileEvents/MMEEventsManager.h" - } -} diff --git a/platform/ios/toolchain.cmake b/platform/ios/toolchain.cmake deleted file mode 100644 index 8299d624d0..0000000000 --- a/platform/ios/toolchain.cmake +++ /dev/null @@ -1,129 +0,0 @@ -# From https://github.com/OtherLevels/ios-cmake -# This file is based off of the Platform/Darwin.cmake and Platform/UnixPaths.cmake -# files which are included with CMake 2.8.4 -# It has been altered for iOS development - -# Options: -# -# IOS_PLATFORM = OS (default) or SIMULATOR or SIMULATOR64 -# This decides if SDKS will be selected from the iPhoneOS.platform or iPhoneSimulator.platform folders -# OS - the default, used to build for iPhone and iPad physical devices, which have an arm arch. -# SIMULATOR - used to build for the Simulator platforms, which have an x86 arch. -# -# CMAKE_IOS_DEVELOPER_ROOT = automatic(default) or /path/to/platform/Developer folder -# By default this location is automatcially chosen based on the IOS_PLATFORM value above. -# If set manually, it will override the default location and force the user of a particular Developer Platform -# -# CMAKE_IOS_SDK_ROOT = automatic(default) or /path/to/platform/Developer/SDKs/SDK folder -# By default this location is automatcially chosen based on the CMAKE_IOS_DEVELOPER_ROOT value. -# In this case it will always be the most up-to-date SDK found in the CMAKE_IOS_DEVELOPER_ROOT path. -# If set manually, this will force the use of a specific SDK version - -# Macros: -# -# set_xcode_property (TARGET XCODE_PROPERTY XCODE_VALUE) -# A convenience macro for setting xcode specific properties on targets -# example: set_xcode_property (myioslib IPHONEOS_DEPLOYMENT_TARGET "3.1") -# -# find_host_package (PROGRAM ARGS) -# A macro used to find executable programs on the host system, not within the iOS environment. -# Thanks to the android-cmake project for providing the command - -# Standard settings -set (CMAKE_SYSTEM_NAME Darwin) -set (CMAKE_SYSTEM_VERSION 1) -set (UNIX True) -set (APPLE True) -set (IOS True) - -# Required as of cmake 2.8.10 -set (CMAKE_OSX_DEPLOYMENT_TARGET "" CACHE STRING "Force unset of the deployment target for iOS" FORCE) - -# Determine the cmake host system version so we know where to find the iOS SDKs -find_program (CMAKE_UNAME uname /bin /usr/bin /usr/local/bin) -if (CMAKE_UNAME) - exec_program(uname ARGS -r OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_VERSION) - string (REGEX REPLACE "^([0-9]+)\\.([0-9]+).*$" "\\1" DARWIN_MAJOR_VERSION "${CMAKE_HOST_SYSTEM_VERSION}") -endif (CMAKE_UNAME) - -# Force the compilers to gcc for iOS -include (CMakeForceCompiler) -set(XCODE_TOOLCHAIN /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain) -set(XCODE_BIN ${XCODE_TOOLCHAIN}/usr/bin) -set(CMAKE_C_COMPILER ${XCODE_BIN}/clang) -set(CMAKE_CXX_COMPILER ${XCODE_BIN}/clang++) -set(CMAKE_FIND_ROOT_PATH ${XCODE_TOOLCHAIN_ROOT}) -set(CMAKE_AR ar CACHE FILEPATH "" FORCE) - -# Skip the platform compiler checks for cross compiling -set (CMAKE_CXX_COMPILER_WORKS TRUE) -set (CMAKE_C_COMPILER_WORKS TRUE) - -# All iOS/Darwin specific settings - some may be redundant -set (CMAKE_SHARED_LIBRARY_PREFIX "lib") -set (CMAKE_SHARED_LIBRARY_SUFFIX ".dylib") -set (CMAKE_SHARED_MODULE_PREFIX "lib") -set (CMAKE_SHARED_MODULE_SUFFIX ".so") -set (CMAKE_MODULE_EXISTS 1) -set (CMAKE_DL_LIBS "") - -set (CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ") -set (CMAKE_C_OSX_CURRENT_VERSION_FLAG "-current_version ") -set (CMAKE_CXX_OSX_COMPATIBILITY_VERSION_FLAG "${CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG}") -set (CMAKE_CXX_OSX_CURRENT_VERSION_FLAG "${CMAKE_C_OSX_CURRENT_VERSION_FLAG}") - - -# This was required for Other C++ Flags to be set for enabling bitcode in a static lib. -# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fembed-bitcode") - - -set (CMAKE_C_LINK_FLAGS "-Wl,-search_paths_first ${CMAKE_C_LINK_FLAGS}") -set (CMAKE_CXX_LINK_FLAGS "-Wl,-search_paths_first ${CMAKE_CXX_LINK_FLAGS}") - -set (CMAKE_PLATFORM_HAS_INSTALLNAME 1) -set (CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-dynamiclib -headerpad_max_install_names") -set (CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -headerpad_max_install_names") -set (CMAKE_SHARED_MODULE_LOADER_C_FLAG "-Wl,-bundle_loader,") -set (CMAKE_SHARED_MODULE_LOADER_CXX_FLAG "-Wl,-bundle_loader,") -set (CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a") - - -# Point to the latest SDK. -set (CMAKE_OSX_SYSROOT "iphoneos" CACHE STRING "Sysroot used for iOS support") - - - -set (CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)" CACHE STRING "Build architecture for iOS") - -# Set the find root to the iOS developer roots and to user defined paths -set (CMAKE_FIND_ROOT_PATH ${CMAKE_IOS_DEVELOPER_ROOT} ${CMAKE_IOS_SDK_ROOT} ${CMAKE_PREFIX_PATH} CACHE STRING "iOS find search path root") - -# default to searching for frameworks first -set (CMAKE_FIND_FRAMEWORK FIRST) - -# set up the default search directories for frameworks -set (CMAKE_SYSTEM_FRAMEWORK_PATH - ${CMAKE_IOS_SDK_ROOT}/System/Library/Frameworks - ${CMAKE_IOS_SDK_ROOT}/System/Library/PrivateFrameworks - ${CMAKE_IOS_SDK_ROOT}/Developer/Library/Frameworks -) - -# only search the iOS sdks, not the remainder of the host filesystem -set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY) -set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) -set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) - -# This macro lets you find executable programs on the host system -macro (find_host_package) - set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) - set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER) - set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER) - set (IOS FALSE) - - find_package(${ARGN}) - - set (IOS TRUE) - set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY) - set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) - set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) -endmacro (find_host_package) |