diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-06 16:17:30 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-07 07:35:32 +0200 |
commit | d4cd853edd3744a4569bd5a23fd461394837e5c7 (patch) | |
tree | 0a6d5fe136a9b86dd4d418c5b1d8cd01837ba38c | |
parent | 1f41d7b024e3964c66ad2a8034be57e156c6f5ce (diff) |
Add Xcode project
-rw-r--r-- | ios/qa/sc/Makefile | 18 | ||||
-rw-r--r-- | ios/qa/sc/lo-qa-sc-filters-test-Info.plist | 45 | ||||
-rw-r--r-- | ios/qa/sc/lo-qa-sc-filters-test.xcodeproj/project.pbxproj | 216 |
3 files changed, 275 insertions, 4 deletions
diff --git a/ios/qa/sc/Makefile b/ios/qa/sc/Makefile index 2081346c35ca..1300785ecc22 100644 --- a/ios/qa/sc/Makefile +++ b/ios/qa/sc/Makefile @@ -1,8 +1,21 @@ include ../../../config_host.mk +APP=lo-qa-sc-filters-test + +# If run from Xcode, check the CURRENT_ARCH env var for which platform we are +# building, device or simulator + +ifeq ($(CURRENT_ARCH),i386) +PLATFORM=iphonesimulator +else +PLATFORM=iphoneos +endif + +APPDIR=build/Debug-$(PLATFORM)/$(APP).app + # Stuff lifted from solenv/gbuild/platform/IOS_ARM_GCC.mk -gb_OBJC_OBJCXX_COMMON_FLAGS := -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 +gb_OBJC_OBJCXX_COMMON_FLAGS := -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -g gb_OBJCFLAGS := -x objective-c $(gb_OBJC_OBJCXX_COMMON_FLAGS) gb_OBJCXXFLAGS := -x objective-c++ $(gb_OBJC_OBJCXX_COMMON_FLAGS) @@ -13,9 +26,6 @@ gb_Library__FRAMEWORKS := \ CoreText \ UIKit \ -APP=lo-qa-sc-filters-test -APPDIR=$(APP).app - SRCS = filters-test.m CFLAGS = $(SOLARINC) diff --git a/ios/qa/sc/lo-qa-sc-filters-test-Info.plist b/ios/qa/sc/lo-qa-sc-filters-test-Info.plist new file mode 100644 index 000000000000..61b7fd1be7f5 --- /dev/null +++ b/ios/qa/sc/lo-qa-sc-filters-test-Info.plist @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>en</string> + <key>CFBundleDisplayName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundleExecutable</key> + <string>${EXECUTABLE_NAME}</string> + <key>CFBundleIdentifier</key> + <string>org.libreoffice.${PRODUCT_NAME:rfc1034identifier}</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>LSRequiresIPhoneOS</key> + <true/> + <key>UIRequiredDeviceCapabilities</key> + <array> + <string>armv7</string> + </array> + <key>UISupportedInterfaceOrientations</key> + <array> + <string>UIInterfaceOrientationPortrait</string> + <string>UIInterfaceOrientationLandscapeLeft</string> + <string>UIInterfaceOrientationLandscapeRight</string> + </array> + <key>UISupportedInterfaceOrientations~ipad</key> + <array> + <string>UIInterfaceOrientationPortrait</string> + <string>UIInterfaceOrientationPortraitUpsideDown</string> + <string>UIInterfaceOrientationLandscapeLeft</string> + <string>UIInterfaceOrientationLandscapeRight</string> + </array> +</dict> +</plist> diff --git a/ios/qa/sc/lo-qa-sc-filters-test.xcodeproj/project.pbxproj b/ios/qa/sc/lo-qa-sc-filters-test.xcodeproj/project.pbxproj new file mode 100644 index 000000000000..ccada1f55323 --- /dev/null +++ b/ios/qa/sc/lo-qa-sc-filters-test.xcodeproj/project.pbxproj @@ -0,0 +1,216 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXFileReference section */ + BEA648A215062FE6004B2E1C /* lo-qa-sc-filters-test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "lo-qa-sc-filters-test.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + BEA648A615062FE6004B2E1C /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + BEA648A815062FE6004B2E1C /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + BEA648AA15062FE6004B2E1C /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + BEA648AE15062FE6004B2E1C /* lo-qa-sc-filters-test-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "lo-qa-sc-filters-test-Info.plist"; sourceTree = SOURCE_ROOT; }; + BEA648BD1506312A004B2E1C /* filters-test.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "filters-test.m"; sourceTree = SOURCE_ROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + BEA6489715062FE6004B2E1C = { + isa = PBXGroup; + children = ( + BEA648AC15062FE6004B2E1C /* lo-qa-sc-filters-test */, + BEA648A515062FE6004B2E1C /* Frameworks */, + BEA648A315062FE6004B2E1C /* Products */, + ); + sourceTree = "<group>"; + }; + BEA648A315062FE6004B2E1C /* Products */ = { + isa = PBXGroup; + children = ( + BEA648A215062FE6004B2E1C /* lo-qa-sc-filters-test.app */, + ); + name = Products; + sourceTree = "<group>"; + }; + BEA648A515062FE6004B2E1C /* Frameworks */ = { + isa = PBXGroup; + children = ( + BEA648A615062FE6004B2E1C /* UIKit.framework */, + BEA648A815062FE6004B2E1C /* Foundation.framework */, + BEA648AA15062FE6004B2E1C /* CoreGraphics.framework */, + ); + name = Frameworks; + sourceTree = "<group>"; + }; + BEA648AC15062FE6004B2E1C /* lo-qa-sc-filters-test */ = { + isa = PBXGroup; + children = ( + BEA648BD1506312A004B2E1C /* filters-test.m */, + BEA648AE15062FE6004B2E1C /* lo-qa-sc-filters-test-Info.plist */, + ); + path = "lo-qa-sc-filters-test"; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + BEA648A115062FE6004B2E1C /* lo-qa-sc-filters-test */ = { + isa = PBXNativeTarget; + buildConfigurationList = BEA648BA15062FE6004B2E1C /* Build configuration list for PBXNativeTarget "lo-qa-sc-filters-test" */; + buildPhases = ( + BEA648D01506398A004B2E1C /* ShellScript */, + BEA648A015062FE6004B2E1C /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "lo-qa-sc-filters-test"; + productName = "lo-qa-sc-filters-test"; + productReference = BEA648A215062FE6004B2E1C /* lo-qa-sc-filters-test.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + BEA6489915062FE6004B2E1C /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = LO; + LastUpgradeCheck = 0430; + }; + buildConfigurationList = BEA6489C15062FE6004B2E1C /* Build configuration list for PBXProject "lo-qa-sc-filters-test" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = BEA6489715062FE6004B2E1C; + productRefGroup = BEA648A315062FE6004B2E1C /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + BEA648A115062FE6004B2E1C /* lo-qa-sc-filters-test */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + BEA648A015062FE6004B2E1C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + BEA648D01506398A004B2E1C /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/opt/lo/bin/make\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + BEA648B815062FE6004B2E1C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CLANG_ENABLE_OBJC_ARC = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + BEA648B915062FE6004B2E1C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CLANG_ENABLE_OBJC_ARC = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + BEA648BB15062FE6004B2E1C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "lo-qa-sc-filters-test-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + BEA648BC15062FE6004B2E1C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "lo-qa-sc-filters-test-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + BEA6489C15062FE6004B2E1C /* Build configuration list for PBXProject "lo-qa-sc-filters-test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BEA648B815062FE6004B2E1C /* Debug */, + BEA648B915062FE6004B2E1C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + BEA648BA15062FE6004B2E1C /* Build configuration list for PBXNativeTarget "lo-qa-sc-filters-test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BEA648BB15062FE6004B2E1C /* Debug */, + BEA648BC15062FE6004B2E1C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = BEA6489915062FE6004B2E1C /* Project object */; +} |