From ea2cb63eb91784fe2e0cdcfb621d95e6a6ec6c71 Mon Sep 17 00:00:00 2001 From: Matt Holgate Date: Thu, 10 Jul 2014 16:03:14 +0100 Subject: Enable modules in iOS build. Speeds up compilation, and means we can avoid having to list all the system frameworks (so I've deleted them). --- platform/ios/MuPDF.xcodeproj/project.pbxproj | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/platform/ios/MuPDF.xcodeproj/project.pbxproj b/platform/ios/MuPDF.xcodeproj/project.pbxproj index b17bcc94..b572eac3 100644 --- a/platform/ios/MuPDF.xcodeproj/project.pbxproj +++ b/platform/ios/MuPDF.xcodeproj/project.pbxproj @@ -7,9 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - 968E1E411779A54F0050CEA3 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 968E1E401779A54F0050CEA3 /* UIKit.framework */; }; - 968E1E431779A54F0050CEA3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 968E1E421779A54F0050CEA3 /* Foundation.framework */; }; - 968E1E451779A54F0050CEA3 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 968E1E441779A54F0050CEA3 /* CoreGraphics.framework */; }; 968E1E531779A54F0050CEA3 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 968E1E521779A54F0050CEA3 /* Default.png */; }; 968E1E551779A54F0050CEA3 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 968E1E541779A54F0050CEA3 /* Default@2x.png */; }; 968E1E571779A54F0050CEA3 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 968E1E561779A54F0050CEA3 /* Default-568h@2x.png */; }; @@ -82,9 +79,6 @@ /* Begin PBXFileReference section */ 968E1E3D1779A54F0050CEA3 /* MuPDF.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MuPDF.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 968E1E401779A54F0050CEA3 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 968E1E421779A54F0050CEA3 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 968E1E441779A54F0050CEA3 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 968E1E481779A54F0050CEA3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 968E1E521779A54F0050CEA3 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; 968E1E541779A54F0050CEA3 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; @@ -121,7 +115,6 @@ DA1C68A917E864CB0061F586 /* MuAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MuAppDelegate.m; path = Classes/MuAppDelegate.m; sourceTree = ""; }; DA1C68C217E8968C0061F586 /* common.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = common.h; sourceTree = ""; }; DA1C68C317E8969C0061F586 /* common.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = common.m; sourceTree = ""; }; - DA300CA31847A64C004F92BB /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; DA32FC7218E33CC7001D7902 /* ic_print.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ic_print.png; path = "../android/res/drawable-ldpi/ic_print.png"; sourceTree = ""; }; DA442E2C183B796F008EF49B /* ic_pen.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ic_pen.png; path = "../android/res/drawable-ldpi/ic_pen.png"; sourceTree = ""; }; DA442E2E183B9F13008EF49B /* MuInkView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MuInkView.h; path = Classes/MuInkView.h; sourceTree = ""; }; @@ -173,9 +166,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 968E1E411779A54F0050CEA3 /* UIKit.framework in Frameworks */, - 968E1E431779A54F0050CEA3 /* Foundation.framework in Frameworks */, - 968E1E451779A54F0050CEA3 /* CoreGraphics.framework in Frameworks */, 96C8ED1C1779A9AF00A30AF4 /* libmupdf.a in Frameworks */, 96C8ED1B1779A9AF00A30AF4 /* libmujs.a in Frameworks */, 96C8ED181779A9AE00A30AF4 /* libfreetype.a in Frameworks */, @@ -221,10 +211,6 @@ 968E1E3F1779A54F0050CEA3 /* Frameworks */ = { isa = PBXGroup; children = ( - DA300CA31847A64C004F92BB /* JavaScriptCore.framework */, - 968E1E401779A54F0050CEA3 /* UIKit.framework */, - 968E1E421779A54F0050CEA3 /* Foundation.framework */, - 968E1E441779A54F0050CEA3 /* CoreGraphics.framework */, ); name = Frameworks; sourceTree = ""; @@ -507,6 +493,8 @@ 968E1E581779A54F0050CEA3 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + CLANG_ENABLE_MODULES = YES; + CLANG_MODULES_AUTOLINK = YES; IPHONEOS_DEPLOYMENT_TARGET = 6.1; ONLY_ACTIVE_ARCH = YES; }; @@ -515,6 +503,8 @@ 968E1E591779A54F0050CEA3 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + CLANG_ENABLE_MODULES = YES; + CLANG_MODULES_AUTOLINK = YES; IPHONEOS_DEPLOYMENT_TARGET = 6.1; }; name = Release; -- cgit v1.2.3