Skip to content

Commit f648f2b

Browse files
committed
add pointers branch
1 parent 692aae0 commit f648f2b

File tree

7 files changed

+380
-0
lines changed

7 files changed

+380
-0
lines changed
Lines changed: 244 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,244 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
96352B471C0D34C400320269 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 96352B461C0D34C400320269 /* main.c */; };
11+
/* End PBXBuildFile section */
12+
13+
/* Begin PBXCopyFilesBuildPhase section */
14+
96352B411C0D34C400320269 /* CopyFiles */ = {
15+
isa = PBXCopyFilesBuildPhase;
16+
buildActionMask = 2147483647;
17+
dstPath = /usr/share/man/man1/;
18+
dstSubfolderSpec = 0;
19+
files = (
20+
);
21+
runOnlyForDeploymentPostprocessing = 1;
22+
};
23+
/* End PBXCopyFilesBuildPhase section */
24+
25+
/* Begin PBXFileReference section */
26+
96352B431C0D34C400320269 /* A sample of pointers */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "A sample of pointers"; sourceTree = BUILT_PRODUCTS_DIR; };
27+
96352B461C0D34C400320269 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
28+
/* End PBXFileReference section */
29+
30+
/* Begin PBXFrameworksBuildPhase section */
31+
96352B401C0D34C400320269 /* Frameworks */ = {
32+
isa = PBXFrameworksBuildPhase;
33+
buildActionMask = 2147483647;
34+
files = (
35+
);
36+
runOnlyForDeploymentPostprocessing = 0;
37+
};
38+
/* End PBXFrameworksBuildPhase section */
39+
40+
/* Begin PBXGroup section */
41+
96352B3A1C0D34C400320269 = {
42+
isa = PBXGroup;
43+
children = (
44+
96352B451C0D34C400320269 /* A sample of pointers */,
45+
96352B441C0D34C400320269 /* Products */,
46+
);
47+
sourceTree = "<group>";
48+
};
49+
96352B441C0D34C400320269 /* Products */ = {
50+
isa = PBXGroup;
51+
children = (
52+
96352B431C0D34C400320269 /* A sample of pointers */,
53+
);
54+
name = Products;
55+
sourceTree = "<group>";
56+
};
57+
96352B451C0D34C400320269 /* A sample of pointers */ = {
58+
isa = PBXGroup;
59+
children = (
60+
96352B461C0D34C400320269 /* main.c */,
61+
);
62+
path = "A sample of pointers";
63+
sourceTree = "<group>";
64+
};
65+
/* End PBXGroup section */
66+
67+
/* Begin PBXNativeTarget section */
68+
96352B421C0D34C400320269 /* A sample of pointers */ = {
69+
isa = PBXNativeTarget;
70+
buildConfigurationList = 96352B4A1C0D34C400320269 /* Build configuration list for PBXNativeTarget "A sample of pointers" */;
71+
buildPhases = (
72+
96352B3F1C0D34C400320269 /* Sources */,
73+
96352B401C0D34C400320269 /* Frameworks */,
74+
96352B411C0D34C400320269 /* CopyFiles */,
75+
);
76+
buildRules = (
77+
);
78+
dependencies = (
79+
);
80+
name = "A sample of pointers";
81+
productName = "A sample of pointers";
82+
productReference = 96352B431C0D34C400320269 /* A sample of pointers */;
83+
productType = "com.apple.product-type.tool";
84+
};
85+
/* End PBXNativeTarget section */
86+
87+
/* Begin PBXProject section */
88+
96352B3B1C0D34C400320269 /* Project object */ = {
89+
isa = PBXProject;
90+
attributes = {
91+
LastUpgradeCheck = 0710;
92+
ORGANIZATIONNAME = "___spike___";
93+
TargetAttributes = {
94+
96352B421C0D34C400320269 = {
95+
CreatedOnToolsVersion = 7.1.1;
96+
};
97+
};
98+
};
99+
buildConfigurationList = 96352B3E1C0D34C400320269 /* Build configuration list for PBXProject "A sample of pointers" */;
100+
compatibilityVersion = "Xcode 3.2";
101+
developmentRegion = English;
102+
hasScannedForEncodings = 0;
103+
knownRegions = (
104+
en,
105+
);
106+
mainGroup = 96352B3A1C0D34C400320269;
107+
productRefGroup = 96352B441C0D34C400320269 /* Products */;
108+
projectDirPath = "";
109+
projectRoot = "";
110+
targets = (
111+
96352B421C0D34C400320269 /* A sample of pointers */,
112+
);
113+
};
114+
/* End PBXProject section */
115+
116+
/* Begin PBXSourcesBuildPhase section */
117+
96352B3F1C0D34C400320269 /* Sources */ = {
118+
isa = PBXSourcesBuildPhase;
119+
buildActionMask = 2147483647;
120+
files = (
121+
96352B471C0D34C400320269 /* main.c in Sources */,
122+
);
123+
runOnlyForDeploymentPostprocessing = 0;
124+
};
125+
/* End PBXSourcesBuildPhase section */
126+
127+
/* Begin XCBuildConfiguration section */
128+
96352B481C0D34C400320269 /* Debug */ = {
129+
isa = XCBuildConfiguration;
130+
buildSettings = {
131+
ALWAYS_SEARCH_USER_PATHS = NO;
132+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
133+
CLANG_CXX_LIBRARY = "libc++";
134+
CLANG_ENABLE_MODULES = YES;
135+
CLANG_ENABLE_OBJC_ARC = YES;
136+
CLANG_WARN_BOOL_CONVERSION = YES;
137+
CLANG_WARN_CONSTANT_CONVERSION = YES;
138+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
139+
CLANG_WARN_EMPTY_BODY = YES;
140+
CLANG_WARN_ENUM_CONVERSION = YES;
141+
CLANG_WARN_INT_CONVERSION = YES;
142+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
143+
CLANG_WARN_UNREACHABLE_CODE = YES;
144+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
145+
CODE_SIGN_IDENTITY = "-";
146+
COPY_PHASE_STRIP = NO;
147+
DEBUG_INFORMATION_FORMAT = dwarf;
148+
ENABLE_STRICT_OBJC_MSGSEND = YES;
149+
ENABLE_TESTABILITY = YES;
150+
GCC_C_LANGUAGE_STANDARD = gnu99;
151+
GCC_DYNAMIC_NO_PIC = NO;
152+
GCC_NO_COMMON_BLOCKS = YES;
153+
GCC_OPTIMIZATION_LEVEL = 0;
154+
GCC_PREPROCESSOR_DEFINITIONS = (
155+
"DEBUG=1",
156+
"$(inherited)",
157+
);
158+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
159+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
160+
GCC_WARN_UNDECLARED_SELECTOR = YES;
161+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
162+
GCC_WARN_UNUSED_FUNCTION = YES;
163+
GCC_WARN_UNUSED_VARIABLE = YES;
164+
MACOSX_DEPLOYMENT_TARGET = 10.11;
165+
MTL_ENABLE_DEBUG_INFO = YES;
166+
ONLY_ACTIVE_ARCH = YES;
167+
SDKROOT = macosx;
168+
};
169+
name = Debug;
170+
};
171+
96352B491C0D34C400320269 /* Release */ = {
172+
isa = XCBuildConfiguration;
173+
buildSettings = {
174+
ALWAYS_SEARCH_USER_PATHS = NO;
175+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
176+
CLANG_CXX_LIBRARY = "libc++";
177+
CLANG_ENABLE_MODULES = YES;
178+
CLANG_ENABLE_OBJC_ARC = YES;
179+
CLANG_WARN_BOOL_CONVERSION = YES;
180+
CLANG_WARN_CONSTANT_CONVERSION = YES;
181+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
182+
CLANG_WARN_EMPTY_BODY = YES;
183+
CLANG_WARN_ENUM_CONVERSION = YES;
184+
CLANG_WARN_INT_CONVERSION = YES;
185+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
186+
CLANG_WARN_UNREACHABLE_CODE = YES;
187+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
188+
CODE_SIGN_IDENTITY = "-";
189+
COPY_PHASE_STRIP = NO;
190+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
191+
ENABLE_NS_ASSERTIONS = NO;
192+
ENABLE_STRICT_OBJC_MSGSEND = YES;
193+
GCC_C_LANGUAGE_STANDARD = gnu99;
194+
GCC_NO_COMMON_BLOCKS = YES;
195+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
196+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
197+
GCC_WARN_UNDECLARED_SELECTOR = YES;
198+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
199+
GCC_WARN_UNUSED_FUNCTION = YES;
200+
GCC_WARN_UNUSED_VARIABLE = YES;
201+
MACOSX_DEPLOYMENT_TARGET = 10.11;
202+
MTL_ENABLE_DEBUG_INFO = NO;
203+
SDKROOT = macosx;
204+
};
205+
name = Release;
206+
};
207+
96352B4B1C0D34C400320269 /* Debug */ = {
208+
isa = XCBuildConfiguration;
209+
buildSettings = {
210+
PRODUCT_NAME = "$(TARGET_NAME)";
211+
};
212+
name = Debug;
213+
};
214+
96352B4C1C0D34C400320269 /* Release */ = {
215+
isa = XCBuildConfiguration;
216+
buildSettings = {
217+
PRODUCT_NAME = "$(TARGET_NAME)";
218+
};
219+
name = Release;
220+
};
221+
/* End XCBuildConfiguration section */
222+
223+
/* Begin XCConfigurationList section */
224+
96352B3E1C0D34C400320269 /* Build configuration list for PBXProject "A sample of pointers" */ = {
225+
isa = XCConfigurationList;
226+
buildConfigurations = (
227+
96352B481C0D34C400320269 /* Debug */,
228+
96352B491C0D34C400320269 /* Release */,
229+
);
230+
defaultConfigurationIsVisible = 0;
231+
defaultConfigurationName = Release;
232+
};
233+
96352B4A1C0D34C400320269 /* Build configuration list for PBXNativeTarget "A sample of pointers" */ = {
234+
isa = XCConfigurationList;
235+
buildConfigurations = (
236+
96352B4B1C0D34C400320269 /* Debug */,
237+
96352B4C1C0D34C400320269 /* Release */,
238+
);
239+
defaultConfigurationIsVisible = 0;
240+
};
241+
/* End XCConfigurationList section */
242+
};
243+
rootObject = 96352B3B1C0D34C400320269 /* Project object */;
244+
}

A sample of pointers/A sample of pointers.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0710"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "96352B421C0D34C400320269"
18+
BuildableName = "A sample of pointers"
19+
BlueprintName = "A sample of pointers"
20+
ReferencedContainer = "container:A sample of pointers.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "96352B421C0D34C400320269"
36+
BuildableName = "A sample of pointers"
37+
BlueprintName = "A sample of pointers"
38+
ReferencedContainer = "container:A sample of pointers.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
<AdditionalOptions>
42+
</AdditionalOptions>
43+
</TestAction>
44+
<LaunchAction
45+
buildConfiguration = "Debug"
46+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
47+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
48+
launchStyle = "0"
49+
useCustomWorkingDirectory = "NO"
50+
ignoresPersistentStateOnLaunch = "NO"
51+
debugDocumentVersioning = "YES"
52+
debugServiceExtension = "internal"
53+
allowLocationSimulation = "YES">
54+
<BuildableProductRunnable
55+
runnableDebuggingMode = "0">
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "96352B421C0D34C400320269"
59+
BuildableName = "A sample of pointers"
60+
BlueprintName = "A sample of pointers"
61+
ReferencedContainer = "container:A sample of pointers.xcodeproj">
62+
</BuildableReference>
63+
</BuildableProductRunnable>
64+
<AdditionalOptions>
65+
</AdditionalOptions>
66+
</LaunchAction>
67+
<ProfileAction
68+
buildConfiguration = "Release"
69+
shouldUseLaunchSchemeArgsEnv = "YES"
70+
savedToolIdentifier = ""
71+
useCustomWorkingDirectory = "NO"
72+
debugDocumentVersioning = "YES">
73+
<BuildableProductRunnable
74+
runnableDebuggingMode = "0">
75+
<BuildableReference
76+
BuildableIdentifier = "primary"
77+
BlueprintIdentifier = "96352B421C0D34C400320269"
78+
BuildableName = "A sample of pointers"
79+
BlueprintName = "A sample of pointers"
80+
ReferencedContainer = "container:A sample of pointers.xcodeproj">
81+
</BuildableReference>
82+
</BuildableProductRunnable>
83+
</ProfileAction>
84+
<AnalyzeAction
85+
buildConfiguration = "Debug">
86+
</AnalyzeAction>
87+
<ArchiveAction
88+
buildConfiguration = "Release"
89+
revealArchiveInOrganizer = "YES">
90+
</ArchiveAction>
91+
</Scheme>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>A sample of pointers.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
<key>SuppressBuildableAutocreation</key>
14+
<dict>
15+
<key>96352B421C0D34C400320269</key>
16+
<dict>
17+
<key>primary</key>
18+
<true/>
19+
</dict>
20+
</dict>
21+
</dict>
22+
</plist>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// main.c
3+
// A sample of pointers
4+
//
5+
// Created by spike on 15/12/1.
6+
// Copyright © 2015年 ___spike___. All rights reserved.
7+
//
8+
9+
#include <stdio.h>
10+
11+
int main(int argc, const char * argv[]) {
12+
// insert code here...
13+
printf("Hello, World!\n");
14+
return 0;
15+
}

readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
create a new pointers branch

0 commit comments

Comments
 (0)