Skip to content

Commit 70df9bf

Browse files
committed
add watch project compile for mars
1 parent 7873ade commit 70df9bf

File tree

9 files changed

+2965
-6486
lines changed

9 files changed

+2965
-6486
lines changed

mars/baseevent/baseprj-watch.xcodeproj/project.pbxproj renamed to mars/app/app-watch.xcodeproj/project.pbxproj

Lines changed: 34 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
13A2285B19755CB40035828E /* Objc2C_Comm.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13A2285519755CB40035828E /* Objc2C_Comm.mm */; settings = {COMPILER_FLAGS = "-fvisibility=default"; }; };
11-
13A2285C19755CB40035828E /* baseprj.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 13A2285719755CB40035828E /* baseprj.cpp */; };
12-
13A2285D19755CB40035828E /* baseprjevent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 13A2285919755CB40035828E /* baseprjevent.cpp */; };
10+
1F59D30C1E4B1B92003A69E5 /* app_logic.cc in Sources */ = {isa = PBXBuildFile; fileRef = 1F59D3061E4B1B92003A69E5 /* app_logic.cc */; };
1311
3170A02B177887B0004F5DDA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3170A02A177887B0004F5DDA /* Foundation.framework */; };
1412
/* End PBXBuildFile section */
1513

@@ -26,12 +24,10 @@
2624
/* End PBXCopyFilesBuildPhase section */
2725

2826
/* Begin PBXFileReference section */
29-
13A2285519755CB40035828E /* Objc2C_Comm.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = Objc2C_Comm.mm; sourceTree = "<group>"; };
30-
13A2285719755CB40035828E /* baseprj.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = baseprj.cpp; sourceTree = "<group>"; };
31-
13A2285819755CB40035828E /* baseprj.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = baseprj.h; sourceTree = "<group>"; };
32-
13A2285919755CB40035828E /* baseprjevent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = baseprjevent.cpp; sourceTree = "<group>"; };
33-
13A2285A19755CB40035828E /* baseprjevent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = baseprjevent.h; sourceTree = "<group>"; };
34-
3170A027177887B0004F5DDA /* libbaseprj-watch.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libbaseprj-watch.a"; sourceTree = BUILT_PRODUCTS_DIR; };
27+
1F59D3061E4B1B92003A69E5 /* app_logic.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = app_logic.cc; sourceTree = "<group>"; };
28+
1F59D3071E4B1B92003A69E5 /* app_logic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = app_logic.h; sourceTree = "<group>"; };
29+
1F59D3081E4B1B92003A69E5 /* app.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = app.h; sourceTree = "<group>"; };
30+
3170A027177887B0004F5DDA /* libapp-watch.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libapp-watch.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3531
3170A02A177887B0004F5DDA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
3632
/* End PBXFileReference section */
3733

@@ -47,30 +43,20 @@
4743
/* End PBXFrameworksBuildPhase section */
4844

4945
/* Begin PBXGroup section */
50-
13A2285419755CB40035828E /* objc */ = {
46+
1F59D3091E4B1B92003A69E5 /* src */ = {
5147
isa = PBXGroup;
5248
children = (
53-
13A2285519755CB40035828E /* Objc2C_Comm.mm */,
54-
);
55-
path = objc;
56-
sourceTree = "<group>";
57-
};
58-
13A2285619755CB40035828E /* src */ = {
59-
isa = PBXGroup;
60-
children = (
61-
13A2285719755CB40035828E /* baseprj.cpp */,
62-
13A2285819755CB40035828E /* baseprj.h */,
63-
13A2285919755CB40035828E /* baseprjevent.cpp */,
64-
13A2285A19755CB40035828E /* baseprjevent.h */,
6549
);
6650
path = src;
6751
sourceTree = "<group>";
6852
};
6953
3170A01E177887B0004F5DDA = {
7054
isa = PBXGroup;
7155
children = (
72-
13A2285419755CB40035828E /* objc */,
73-
13A2285619755CB40035828E /* src */,
56+
1F59D3061E4B1B92003A69E5 /* app_logic.cc */,
57+
1F59D3071E4B1B92003A69E5 /* app_logic.h */,
58+
1F59D3081E4B1B92003A69E5 /* app.h */,
59+
1F59D3091E4B1B92003A69E5 /* src */,
7460
3170A029177887B0004F5DDA /* Frameworks */,
7561
3170A028177887B0004F5DDA /* Products */,
7662
);
@@ -79,7 +65,7 @@
7965
3170A028177887B0004F5DDA /* Products */ = {
8066
isa = PBXGroup;
8167
children = (
82-
3170A027177887B0004F5DDA /* libbaseprj-watch.a */,
68+
3170A027177887B0004F5DDA /* libapp-watch.a */,
8369
);
8470
name = Products;
8571
sourceTree = "<group>";
@@ -95,9 +81,9 @@
9581
/* End PBXGroup section */
9682

9783
/* Begin PBXNativeTarget section */
98-
3170A026177887B0004F5DDA /* baseprj-watch */ = {
84+
3170A026177887B0004F5DDA /* app-watch */ = {
9985
isa = PBXNativeTarget;
100-
buildConfigurationList = 3170A035177887B0004F5DDA /* Build configuration list for PBXNativeTarget "baseprj-watch" */;
86+
buildConfigurationList = 3170A035177887B0004F5DDA /* Build configuration list for PBXNativeTarget "app-watch" */;
10187
buildPhases = (
10288
3170A023177887B0004F5DDA /* Sources */,
10389
3170A024177887B0004F5DDA /* Frameworks */,
@@ -107,9 +93,9 @@
10793
);
10894
dependencies = (
10995
);
110-
name = "baseprj-watch";
96+
name = "app-watch";
11197
productName = PublicComponent;
112-
productReference = 3170A027177887B0004F5DDA /* libbaseprj-watch.a */;
98+
productReference = 3170A027177887B0004F5DDA /* libapp-watch.a */;
11399
productType = "com.apple.product-type.library.static";
114100
};
115101
/* End PBXNativeTarget section */
@@ -121,7 +107,7 @@
121107
LastUpgradeCheck = 0460;
122108
ORGANIZATIONNAME = Tencent;
123109
};
124-
buildConfigurationList = 3170A022177887B0004F5DDA /* Build configuration list for PBXProject "baseprj-watch" */;
110+
buildConfigurationList = 3170A022177887B0004F5DDA /* Build configuration list for PBXProject "app-watch" */;
125111
compatibilityVersion = "Xcode 3.2";
126112
developmentRegion = English;
127113
hasScannedForEncodings = 0;
@@ -133,7 +119,7 @@
133119
projectDirPath = "";
134120
projectRoot = "";
135121
targets = (
136-
3170A026177887B0004F5DDA /* baseprj-watch */,
122+
3170A026177887B0004F5DDA /* app-watch */,
137123
);
138124
};
139125
/* End PBXProject section */
@@ -143,9 +129,7 @@
143129
isa = PBXSourcesBuildPhase;
144130
buildActionMask = 2147483647;
145131
files = (
146-
13A2285B19755CB40035828E /* Objc2C_Comm.mm in Sources */,
147-
13A2285D19755CB40035828E /* baseprjevent.cpp in Sources */,
148-
13A2285C19755CB40035828E /* baseprj.cpp in Sources */,
132+
1F59D30C1E4B1B92003A69E5 /* app_logic.cc in Sources */,
149133
);
150134
runOnlyForDeploymentPostprocessing = 0;
151135
};
@@ -211,7 +195,7 @@
211195
CLANG_CXX_LIBRARY = "libc++";
212196
DEAD_CODE_STRIPPING = YES;
213197
DEPLOYMENT_POSTPROCESSING = NO;
214-
DSTROOT = "/tmp/$(PROJECT_NAME).dst";
198+
DSTROOT = /tmp/mmcomm.dst;
215199
GCC_C_LANGUAGE_STANDARD = c99;
216200
GCC_ENABLE_CPP_EXCEPTIONS = NO;
217201
GCC_ENABLE_OBJC_EXCEPTIONS = NO;
@@ -227,7 +211,12 @@
227211
GCC_VERSION = "";
228212
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
229213
GCC_WARN_UNUSED_FUNCTION = YES;
230-
HEADER_SEARCH_PATHS = ../comm;
214+
HEADER_SEARCH_PATHS = (
215+
$SOURCE_ROOT/,
216+
$SOURCE_ROOT/../,
217+
$SOURCE_ROOT/../../,
218+
$SOURCE_ROOT/../comm,
219+
);
231220
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
232221
MACH_O_TYPE = staticlib;
233222
ONLY_ACTIVE_ARCH = NO;
@@ -251,7 +240,7 @@
251240
CLANG_CXX_LIBRARY = "libc++";
252241
DEAD_CODE_STRIPPING = YES;
253242
DEPLOYMENT_POSTPROCESSING = NO;
254-
DSTROOT = "/tmp/$(PROJECT_NAME).dst";
243+
DSTROOT = /tmp/mmcomm.dst;
255244
GCC_C_LANGUAGE_STANDARD = c99;
256245
GCC_ENABLE_CPP_EXCEPTIONS = NO;
257246
GCC_ENABLE_OBJC_EXCEPTIONS = NO;
@@ -267,7 +256,12 @@
267256
GCC_VERSION = "";
268257
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO;
269258
GCC_WARN_UNUSED_FUNCTION = YES;
270-
HEADER_SEARCH_PATHS = ../comm;
259+
HEADER_SEARCH_PATHS = (
260+
$SOURCE_ROOT/,
261+
$SOURCE_ROOT/../,
262+
$SOURCE_ROOT/../../,
263+
$SOURCE_ROOT/../comm,
264+
);
271265
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
272266
MACH_O_TYPE = staticlib;
273267
ONLY_ACTIVE_ARCH = NO;
@@ -288,7 +282,7 @@
288282
/* End XCBuildConfiguration section */
289283

290284
/* Begin XCConfigurationList section */
291-
3170A022177887B0004F5DDA /* Build configuration list for PBXProject "baseprj-watch" */ = {
285+
3170A022177887B0004F5DDA /* Build configuration list for PBXProject "app-watch" */ = {
292286
isa = XCConfigurationList;
293287
buildConfigurations = (
294288
3170A033177887B0004F5DDA /* Debug */,
@@ -297,7 +291,7 @@
297291
defaultConfigurationIsVisible = 0;
298292
defaultConfigurationName = Release;
299293
};
300-
3170A035177887B0004F5DDA /* Build configuration list for PBXNativeTarget "baseprj-watch" */ = {
294+
3170A035177887B0004F5DDA /* Build configuration list for PBXNativeTarget "app-watch" */ = {
301295
isa = XCConfigurationList;
302296
buildConfigurations = (
303297
3170A036177887B0004F5DDA /* Debug */,

0 commit comments

Comments
 (0)