Browse Source

chore: enable deploying headers

Sam Jaffe 2 years ago
parent
commit
ff7cd322bd

+ 98 - 0
expect.xcodeproj/project.pbxproj

@@ -7,6 +7,7 @@
 	objects = {
 
 /* Begin PBXBuildFile section */
+		CDD476C529C5427A00BDB829 /* expect in Headers */ = {isa = PBXBuildFile; fileRef = CDAA170221A3A8AB007BBA11 /* expect */; settings = {ATTRIBUTES = (Public, ); }; };
 		CDEC1E92235248410091D9F2 /* expect_test.cxx in Sources */ = {isa = PBXBuildFile; fileRef = CD3A75E51E2596B9008C6DC2 /* expect_test.cxx */; };
 		CDEC1E94235248470091D9F2 /* GoogleMock.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDEC1DAF2351673C0091D9F2 /* GoogleMock.framework */; };
 /* End PBXBuildFile section */
@@ -45,12 +46,20 @@
 /* Begin PBXFileReference section */
 		CD3A75E51E2596B9008C6DC2 /* expect_test.cxx */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = expect_test.cxx; sourceTree = "<group>"; };
 		CDAA170221A3A8AB007BBA11 /* expect */ = {isa = PBXFileReference; lastKnownFileType = folder; name = expect; path = include/expect; sourceTree = "<group>"; };
+		CDD476BD29C5423B00BDB829 /* libexpect.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libexpect.a; sourceTree = BUILT_PRODUCTS_DIR; };
 		CDEC1DA72351673C0091D9F2 /* GoogleMock.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GoogleMock.xcodeproj; path = "../../../../gmock-xcode-master/GoogleMock.xcodeproj"; sourceTree = "<group>"; };
 		CDEC1E8A235248390091D9F2 /* expect-test.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "expect-test.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
 		CDEC1E8E235248390091D9F2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
 /* Begin PBXFrameworksBuildPhase section */
+		CDD476BB29C5423B00BDB829 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		CDEC1E87235248390091D9F2 /* Frameworks */ = {
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
@@ -78,6 +87,7 @@
 			isa = PBXGroup;
 			children = (
 				CDEC1E8A235248390091D9F2 /* expect-test.xctest */,
+				CDD476BD29C5423B00BDB829 /* libexpect.a */,
 			);
 			name = Products;
 			sourceTree = "<group>";
@@ -118,7 +128,35 @@
 		};
 /* End PBXGroup section */
 
+/* Begin PBXHeadersBuildPhase section */
+		CDD476B929C5423B00BDB829 /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				CDD476C529C5427A00BDB829 /* expect in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXHeadersBuildPhase section */
+
 /* Begin PBXNativeTarget section */
+		CDD476BC29C5423B00BDB829 /* expect */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = CDD476C429C5423B00BDB829 /* Build configuration list for PBXNativeTarget "expect" */;
+			buildPhases = (
+				CDD476B929C5423B00BDB829 /* Headers */,
+				CDD476BA29C5423B00BDB829 /* Sources */,
+				CDD476BB29C5423B00BDB829 /* Frameworks */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = expect;
+			productName = expect;
+			productReference = CDD476BD29C5423B00BDB829 /* libexpect.a */;
+			productType = "com.apple.product-type.library.static";
+		};
 		CDEC1E89235248390091D9F2 /* expect-test */ = {
 			isa = PBXNativeTarget;
 			buildConfigurationList = CDEC1E8F235248390091D9F2 /* Build configuration list for PBXNativeTarget "expect-test" */;
@@ -145,6 +183,10 @@
 				LastUpgradeCheck = 1230;
 				ORGANIZATIONNAME = "Sam Jaffe";
 				TargetAttributes = {
+					CDD476BC29C5423B00BDB829 = {
+						CreatedOnToolsVersion = 13.4.1;
+						ProvisioningStyle = Automatic;
+					};
 					CDEC1E89235248390091D9F2 = {
 						CreatedOnToolsVersion = 11.1;
 						ProvisioningStyle = Automatic;
@@ -170,6 +212,7 @@
 			);
 			projectRoot = "";
 			targets = (
+				CDD476BC29C5423B00BDB829 /* expect */,
 				CDEC1E89235248390091D9F2 /* expect-test */,
 			);
 		};
@@ -217,6 +260,13 @@
 /* End PBXResourcesBuildPhase section */
 
 /* Begin PBXSourcesBuildPhase section */
+		CDD476BA29C5423B00BDB829 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		CDEC1E86235248390091D9F2 /* Sources */ = {
 			isa = PBXSourcesBuildPhase;
 			buildActionMask = 2147483647;
@@ -333,6 +383,45 @@
 			};
 			name = Release;
 		};
+		CDD476BE29C5423B00BDB829 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
+				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;
+				MACOSX_DEPLOYMENT_TARGET = 12.0;
+				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+				MTL_FAST_MATH = YES;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SKIP_INSTALL = YES;
+			};
+			name = Debug;
+		};
+		CDD476BF29C5423B00BDB829 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
+				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;
+				MACOSX_DEPLOYMENT_TARGET = 12.0;
+				MTL_FAST_MATH = YES;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SKIP_INSTALL = YES;
+			};
+			name = Release;
+		};
 		CDEC1E90235248390091D9F2 /* Debug */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
@@ -388,6 +477,15 @@
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 		};
+		CDD476C429C5423B00BDB829 /* Build configuration list for PBXNativeTarget "expect" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				CDD476BE29C5423B00BDB829 /* Debug */,
+				CDD476BF29C5423B00BDB829 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
 		CDEC1E8F235248390091D9F2 /* Build configuration list for PBXNativeTarget "expect-test" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (

+ 78 - 0
expect.xcodeproj/xcshareddata/xcschemes/expect.xcscheme

@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "1340"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "CDD476BC29C5423B00BDB829"
+               BuildableName = "libexpect.a"
+               BlueprintName = "expect"
+               ReferencedContainer = "container:expect.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      codeCoverageEnabled = "YES">
+      <Testables>
+         <TestableReference
+            skipped = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "CDEC1E89235248390091D9F2"
+               BuildableName = "expect-test.xctest"
+               BlueprintName = "expect-test"
+               ReferencedContainer = "container:expect.xcodeproj">
+            </BuildableReference>
+         </TestableReference>
+      </Testables>
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "CDD476BC29C5423B00BDB829"
+            BuildableName = "libexpect.a"
+            BlueprintName = "expect"
+            ReferencedContainer = "container:expect.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>