Browse Source

Switch to static lib.

Sam Jaffe 4 years ago
parent
commit
de43c17254
1 changed files with 96 additions and 89 deletions
  1. 96 89
      bigdecimal.xcodeproj/project.pbxproj

+ 96 - 89
bigdecimal.xcodeproj/project.pbxproj

@@ -7,25 +7,18 @@
 	objects = {
 
 /* Begin PBXBuildFile section */
-		CD2EC1BF1F0AF3B800D49DF5 /* bigdecimal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CD2EC1BE1F0AF3B800D49DF5 /* bigdecimal.cpp */; };
-		CD2EC1C51F0BCCBF00D49DF5 /* bignum_helper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CD2EC1C41F0BCCBF00D49DF5 /* bignum_helper.cpp */; };
+		CD00F9C525DC846F00FC2AE9 /* biginteger.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CD5FB2801F06EF7D005A0D61 /* biginteger.cpp */; };
+		CD00F9C825DC847200FC2AE9 /* bigdecimal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CD2EC1BE1F0AF3B800D49DF5 /* bigdecimal.cpp */; };
+		CD00F9CB25DC847400FC2AE9 /* bignum_helper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CD2EC1C41F0BCCBF00D49DF5 /* bignum_helper.cpp */; };
+		CD00F9D525DC850600FC2AE9 /* libbigdecimal.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CD00F9BD25DC845600FC2AE9 /* libbigdecimal.a */; };
 		CD3979042528D8480021B537 /* bignumber_test_printers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CDB7F52E20B19E0D0053645C /* bignumber_test_printers.cpp */; };
-		CD47694820AFA150009AA8BB /* libbigdecimal.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = CD5FB2861F06EFEA005A0D61 /* libbigdecimal.dylib */; };
 		CD47698920AFACAE009AA8BB /* GoogleMock.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD47698020AFAC9C009AA8BB /* GoogleMock.framework */; };
 		CD47698A20AFB48C009AA8BB /* bignumber_integral_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CD3B82A31F114E1C0081E9FC /* bignumber_integral_test.cpp */; };
 		CD47698B20AFB4FD009AA8BB /* bigdecimal_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CD14CA711F0DA9FC0091A168 /* bigdecimal_test.cpp */; };
 		CD47698C20B03C5E009AA8BB /* biginteger_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CD47697520AFA6B2009AA8BB /* biginteger_test.cpp */; };
-		CD5FB2911F06EFEF005A0D61 /* biginteger.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CD5FB2801F06EF7D005A0D61 /* biginteger.cpp */; };
 /* End PBXBuildFile section */
 
 /* Begin PBXContainerItemProxy section */
-		CD47694920AFA150009AA8BB /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = CD5FB2691F06EEAF005A0D61 /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = CD5FB2851F06EFEA005A0D61;
-			remoteInfo = bigdecimal;
-		};
 		CD47697F20AFAC9C009AA8BB /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = CD47697820AFAC9C009AA8BB /* GoogleMock.xcodeproj */;
@@ -64,6 +57,7 @@
 /* End PBXContainerItemProxy section */
 
 /* Begin PBXFileReference section */
+		CD00F9BD25DC845600FC2AE9 /* libbigdecimal.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libbigdecimal.a; sourceTree = BUILT_PRODUCTS_DIR; };
 		CD14CA711F0DA9FC0091A168 /* bigdecimal_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = bigdecimal_test.cpp; sourceTree = "<group>"; };
 		CD2EC1BE1F0AF3B800D49DF5 /* bigdecimal.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = bigdecimal.cpp; sourceTree = "<group>"; };
 		CD2EC1C41F0BCCBF00D49DF5 /* bignum_helper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = bignum_helper.cpp; sourceTree = "<group>"; };
@@ -73,7 +67,6 @@
 		CD47697520AFA6B2009AA8BB /* biginteger_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = biginteger_test.cpp; sourceTree = "<group>"; };
 		CD47697820AFAC9C009AA8BB /* GoogleMock.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GoogleMock.xcodeproj; path = "../../../gmock-xcode-master/GoogleMock.xcodeproj"; sourceTree = "<group>"; };
 		CD5FB2801F06EF7D005A0D61 /* biginteger.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = biginteger.cpp; sourceTree = "<group>"; };
-		CD5FB2861F06EFEA005A0D61 /* libbigdecimal.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libbigdecimal.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
 		CD8176CC25C5A4100043E7E7 /* include */ = {isa = PBXFileReference; lastKnownFileType = folder; path = include; sourceTree = "<group>"; };
 		CD8176D325C5A6B50043E7E7 /* bignum_helper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = bignum_helper.h; sourceTree = "<group>"; };
 		CDB7F52D20B19D3F0053645C /* bignumber_test_printers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = bignumber_test_printers.h; sourceTree = "<group>"; };
@@ -81,25 +74,32 @@
 /* End PBXFileReference section */
 
 /* Begin PBXFrameworksBuildPhase section */
-		CD47694020AFA150009AA8BB /* Frameworks */ = {
+		CD00F9BB25DC845600FC2AE9 /* Frameworks */ = {
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				CD47698920AFACAE009AA8BB /* GoogleMock.framework in Frameworks */,
-				CD47694820AFA150009AA8BB /* libbigdecimal.dylib in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
-		CD5FB2831F06EFEA005A0D61 /* Frameworks */ = {
+		CD47694020AFA150009AA8BB /* Frameworks */ = {
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
+				CD00F9D525DC850600FC2AE9 /* libbigdecimal.a in Frameworks */,
+				CD47698920AFACAE009AA8BB /* GoogleMock.framework in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
 /* End PBXFrameworksBuildPhase section */
 
 /* Begin PBXGroup section */
+		CD00F9D425DC850600FC2AE9 /* Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+			);
+			name = Frameworks;
+			sourceTree = "<group>";
+		};
 		CD47694420AFA150009AA8BB /* bigdecimal-test */ = {
 			isa = PBXGroup;
 			children = (
@@ -128,14 +128,15 @@
 				CD5FB27D1F06EED6005A0D61 /* test */,
 				CD47694420AFA150009AA8BB /* bigdecimal-test */,
 				CD5FB2721F06EEAF005A0D61 /* Products */,
+				CD00F9D425DC850600FC2AE9 /* Frameworks */,
 			);
 			sourceTree = "<group>";
 		};
 		CD5FB2721F06EEAF005A0D61 /* Products */ = {
 			isa = PBXGroup;
 			children = (
-				CD5FB2861F06EFEA005A0D61 /* libbigdecimal.dylib */,
 				CD47694320AFA150009AA8BB /* bigdecimal-test.xctest */,
+				CD00F9BD25DC845600FC2AE9 /* libbigdecimal.a */,
 			);
 			name = Products;
 			sourceTree = "<group>";
@@ -166,7 +167,7 @@
 /* End PBXGroup section */
 
 /* Begin PBXHeadersBuildPhase section */
-		CD5FB2841F06EFEA005A0D61 /* Headers */ = {
+		CD00F9B925DC845600FC2AE9 /* Headers */ = {
 			isa = PBXHeadersBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
@@ -176,6 +177,23 @@
 /* End PBXHeadersBuildPhase section */
 
 /* Begin PBXNativeTarget section */
+		CD00F9BC25DC845600FC2AE9 /* bigdecimal */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = CD00F9BE25DC845600FC2AE9 /* Build configuration list for PBXNativeTarget "bigdecimal" */;
+			buildPhases = (
+				CD00F9B925DC845600FC2AE9 /* Headers */,
+				CD00F9BA25DC845600FC2AE9 /* Sources */,
+				CD00F9BB25DC845600FC2AE9 /* Frameworks */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = bigdecimal;
+			productName = bigdecimal;
+			productReference = CD00F9BD25DC845600FC2AE9 /* libbigdecimal.a */;
+			productType = "com.apple.product-type.library.static";
+		};
 		CD47694220AFA150009AA8BB /* bigdecimal-test */ = {
 			isa = PBXNativeTarget;
 			buildConfigurationList = CD47694B20AFA150009AA8BB /* Build configuration list for PBXNativeTarget "bigdecimal-test" */;
@@ -188,30 +206,12 @@
 			);
 			dependencies = (
 				CD47698820AFACA8009AA8BB /* PBXTargetDependency */,
-				CD47694A20AFA150009AA8BB /* PBXTargetDependency */,
 			);
 			name = "bigdecimal-test";
 			productName = "bigdecimal-test";
 			productReference = CD47694320AFA150009AA8BB /* bigdecimal-test.xctest */;
 			productType = "com.apple.product-type.bundle.unit-test";
 		};
-		CD5FB2851F06EFEA005A0D61 /* bigdecimal */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = CD5FB28E1F06EFEA005A0D61 /* Build configuration list for PBXNativeTarget "bigdecimal" */;
-			buildPhases = (
-				CD5FB2821F06EFEA005A0D61 /* Sources */,
-				CD5FB2831F06EFEA005A0D61 /* Frameworks */,
-				CD5FB2841F06EFEA005A0D61 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = bigdecimal;
-			productName = bigdecimal;
-			productReference = CD5FB2861F06EFEA005A0D61 /* libbigdecimal.dylib */;
-			productType = "com.apple.product-type.library.dynamic";
-		};
 /* End PBXNativeTarget section */
 
 /* Begin PBXProject section */
@@ -221,10 +221,11 @@
 				LastUpgradeCheck = 1230;
 				ORGANIZATIONNAME = "Sam Jaffe";
 				TargetAttributes = {
-					CD47694220AFA150009AA8BB = {
-						CreatedOnToolsVersion = 7.2.1;
+					CD00F9BC25DC845600FC2AE9 = {
+						CreatedOnToolsVersion = 12.4;
+						ProvisioningStyle = Automatic;
 					};
-					CD5FB2851F06EFEA005A0D61 = {
+					CD47694220AFA150009AA8BB = {
 						CreatedOnToolsVersion = 7.2.1;
 					};
 				};
@@ -248,7 +249,7 @@
 			);
 			projectRoot = "";
 			targets = (
-				CD5FB2851F06EFEA005A0D61 /* bigdecimal */,
+				CD00F9BC25DC845600FC2AE9 /* bigdecimal */,
 				CD47694220AFA150009AA8BB /* bigdecimal-test */,
 			);
 		};
@@ -296,35 +297,30 @@
 /* End PBXResourcesBuildPhase section */
 
 /* Begin PBXSourcesBuildPhase section */
-		CD47693F20AFA150009AA8BB /* Sources */ = {
+		CD00F9BA25DC845600FC2AE9 /* Sources */ = {
 			isa = PBXSourcesBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				CD3979042528D8480021B537 /* bignumber_test_printers.cpp in Sources */,
-				CD47698B20AFB4FD009AA8BB /* bigdecimal_test.cpp in Sources */,
-				CD47698A20AFB48C009AA8BB /* bignumber_integral_test.cpp in Sources */,
-				CD47698C20B03C5E009AA8BB /* biginteger_test.cpp in Sources */,
+				CD00F9C825DC847200FC2AE9 /* bigdecimal.cpp in Sources */,
+				CD00F9C525DC846F00FC2AE9 /* biginteger.cpp in Sources */,
+				CD00F9CB25DC847400FC2AE9 /* bignum_helper.cpp in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
-		CD5FB2821F06EFEA005A0D61 /* Sources */ = {
+		CD47693F20AFA150009AA8BB /* Sources */ = {
 			isa = PBXSourcesBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				CD2EC1BF1F0AF3B800D49DF5 /* bigdecimal.cpp in Sources */,
-				CD5FB2911F06EFEF005A0D61 /* biginteger.cpp in Sources */,
-				CD2EC1C51F0BCCBF00D49DF5 /* bignum_helper.cpp in Sources */,
+				CD3979042528D8480021B537 /* bignumber_test_printers.cpp in Sources */,
+				CD47698B20AFB4FD009AA8BB /* bigdecimal_test.cpp in Sources */,
+				CD47698A20AFB48C009AA8BB /* bignumber_integral_test.cpp in Sources */,
+				CD47698C20B03C5E009AA8BB /* biginteger_test.cpp in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
 /* End PBXSourcesBuildPhase section */
 
 /* Begin PBXTargetDependency section */
-		CD47694A20AFA150009AA8BB /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = CD5FB2851F06EFEA005A0D61 /* bigdecimal */;
-			targetProxy = CD47694920AFA150009AA8BB /* PBXContainerItemProxy */;
-		};
 		CD47698820AFACA8009AA8BB /* PBXTargetDependency */ = {
 			isa = PBXTargetDependency;
 			name = GoogleMock;
@@ -333,6 +329,43 @@
 /* End PBXTargetDependency section */
 
 /* Begin XCBuildConfiguration section */
+		CD00F9BF25DC845600FC2AE9 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+				CLANG_ENABLE_OBJC_WEAK = YES;
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+				CODE_SIGN_STYLE = Automatic;
+				EXECUTABLE_PREFIX = lib;
+				GCC_C_LANGUAGE_STANDARD = gnu11;
+				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+				MTL_FAST_MATH = YES;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SKIP_INSTALL = YES;
+			};
+			name = Debug;
+		};
+		CD00F9C025DC845600FC2AE9 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+				CLANG_ENABLE_OBJC_WEAK = YES;
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+				CODE_SIGN_STYLE = Automatic;
+				EXECUTABLE_PREFIX = lib;
+				GCC_C_LANGUAGE_STANDARD = gnu11;
+				MTL_FAST_MATH = YES;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SKIP_INSTALL = YES;
+			};
+			name = Release;
+		};
 		CD47694C20AFA150009AA8BB /* Debug */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
@@ -466,58 +499,32 @@
 			};
 			name = Release;
 		};
-		CD5FB28F1F06EFEA005A0D61 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				EXECUTABLE_PREFIX = lib;
-				GCC_ENABLE_CPP_EXCEPTIONS = YES;
-				GCC_ENABLE_CPP_RTTI = YES;
-				GCC_SYMBOLS_PRIVATE_EXTERN = YES;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-			};
-			name = Debug;
-		};
-		CD5FB2901F06EFEA005A0D61 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				EXECUTABLE_PREFIX = lib;
-				GCC_ENABLE_CPP_EXCEPTIONS = YES;
-				GCC_ENABLE_CPP_RTTI = YES;
-				GCC_SYMBOLS_PRIVATE_EXTERN = YES;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-			};
-			name = Release;
-		};
 /* End XCBuildConfiguration section */
 
 /* Begin XCConfigurationList section */
-		CD47694B20AFA150009AA8BB /* Build configuration list for PBXNativeTarget "bigdecimal-test" */ = {
+		CD00F9BE25DC845600FC2AE9 /* Build configuration list for PBXNativeTarget "bigdecimal" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (
-				CD47694C20AFA150009AA8BB /* Debug */,
-				CD47694D20AFA150009AA8BB /* Release */,
+				CD00F9BF25DC845600FC2AE9 /* Debug */,
+				CD00F9C025DC845600FC2AE9 /* Release */,
 			);
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 		};
-		CD5FB26C1F06EEAF005A0D61 /* Build configuration list for PBXProject "bigdecimal" */ = {
+		CD47694B20AFA150009AA8BB /* Build configuration list for PBXNativeTarget "bigdecimal-test" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (
-				CD5FB2761F06EEAF005A0D61 /* Debug */,
-				CD5FB2771F06EEAF005A0D61 /* Release */,
+				CD47694C20AFA150009AA8BB /* Debug */,
+				CD47694D20AFA150009AA8BB /* Release */,
 			);
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 		};
-		CD5FB28E1F06EFEA005A0D61 /* Build configuration list for PBXNativeTarget "bigdecimal" */ = {
+		CD5FB26C1F06EEAF005A0D61 /* Build configuration list for PBXProject "bigdecimal" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (
-				CD5FB28F1F06EFEA005A0D61 /* Debug */,
-				CD5FB2901F06EFEA005A0D61 /* Release */,
+				CD5FB2761F06EEAF005A0D61 /* Debug */,
+				CD5FB2771F06EEAF005A0D61 /* Release */,
 			);
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;