Skip to content

Commit 2f1224a

Browse files
committed
updated Xcode project to include duktape
1 parent d7fdac5 commit 2f1224a

File tree

1 file changed

+38
-11
lines changed

1 file changed

+38
-11
lines changed

NON-WINDOWS NON-C/XCODE/MacChatScript.xcodeproj/project.pbxproj

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
8F7F70CB1EBC41EC00744B26 /* libcurl.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 8F7F70CA1EBC41EC00744B26 /* libcurl.tbd */; };
1110
8F7F711B1EBC429800744B26 /* constructCode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8F7F70CE1EBC429800744B26 /* constructCode.cpp */; };
1211
8F7F711C1EBC429800744B26 /* cs_ev.c in Sources */ = {isa = PBXBuildFile; fileRef = 8F7F70D01EBC429800744B26 /* cs_ev.c */; };
1312
8F7F711D1EBC429800744B26 /* csocket.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8F7F70D21EBC429800744B26 /* csocket.cpp */; };
@@ -43,23 +42,27 @@
4342
8F7F713B1EBC429800744B26 /* userCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8F7F71151EBC429800744B26 /* userCache.cpp */; };
4443
8F7F713C1EBC429800744B26 /* userSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8F7F71171EBC429800744B26 /* userSystem.cpp */; };
4544
8F7F713D1EBC429800744B26 /* variableSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8F7F71191EBC429800744B26 /* variableSystem.cpp */; };
45+
8F7F71421EBC456100744B26 /* libcurl.3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 8F7F71401EBC456100744B26 /* libcurl.3.tbd */; };
46+
8F7F71451EBC457F00744B26 /* libpthread.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 8F7F71441EBC457F00744B26 /* libpthread.tbd */; };
47+
8F7F71481EBC4B3D00744B26 /* duktape.c in Sources */ = {isa = PBXBuildFile; fileRef = 8F7F71471EBC4B3D00744B26 /* duktape.c */; };
48+
8FCDEC531EBC4C4200128299 /* MacChatScript in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8F7F70C31EBC41AD00744B26 /* MacChatScript */; };
4649
/* End PBXBuildFile section */
4750

4851
/* Begin PBXCopyFilesBuildPhase section */
4952
8F7F70C11EBC41AD00744B26 /* CopyFiles */ = {
5053
isa = PBXCopyFilesBuildPhase;
51-
buildActionMask = 2147483647;
52-
dstPath = /usr/share/man/man1/;
54+
buildActionMask = 12;
55+
dstPath = "${PROJECT_DIR}/../..";
5356
dstSubfolderSpec = 0;
5457
files = (
58+
8FCDEC531EBC4C4200128299 /* MacChatScript in CopyFiles */,
5559
);
56-
runOnlyForDeploymentPostprocessing = 1;
60+
runOnlyForDeploymentPostprocessing = 0;
5761
};
5862
/* End PBXCopyFilesBuildPhase section */
5963

6064
/* Begin PBXFileReference section */
6165
8F7F70C31EBC41AD00744B26 /* MacChatScript */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MacChatScript; sourceTree = BUILT_PRODUCTS_DIR; };
62-
8F7F70CA1EBC41EC00744B26 /* libcurl.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libcurl.tbd; path = usr/lib/libcurl.tbd; sourceTree = SDKROOT; };
6366
8F7F70CC1EBC429800744B26 /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = common.h; path = ../../SRC/common.h; sourceTree = "<group>"; };
6467
8F7F70CD1EBC429800744B26 /* common1.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = common1.h; path = ../../SRC/common1.h; sourceTree = "<group>"; };
6568
8F7F70CE1EBC429800744B26 /* constructCode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = constructCode.cpp; path = ../../SRC/constructCode.cpp; sourceTree = "<group>"; };
@@ -139,14 +142,18 @@
139142
8F7F71181EBC429800744B26 /* userSystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = userSystem.h; path = ../../SRC/userSystem.h; sourceTree = "<group>"; };
140143
8F7F71191EBC429800744B26 /* variableSystem.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = variableSystem.cpp; path = ../../SRC/variableSystem.cpp; sourceTree = "<group>"; };
141144
8F7F711A1EBC429800744B26 /* variableSystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = variableSystem.h; path = ../../SRC/variableSystem.h; sourceTree = "<group>"; };
145+
8F7F71401EBC456100744B26 /* libcurl.3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libcurl.3.tbd; path = usr/lib/libcurl.3.tbd; sourceTree = SDKROOT; };
146+
8F7F71441EBC457F00744B26 /* libpthread.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libpthread.tbd; path = usr/lib/libpthread.tbd; sourceTree = SDKROOT; };
147+
8F7F71471EBC4B3D00744B26 /* duktape.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = duktape.c; path = ../../SRC/duktape/duktape.c; sourceTree = "<group>"; };
142148
/* End PBXFileReference section */
143149

144150
/* Begin PBXFrameworksBuildPhase section */
145151
8F7F70C01EBC41AD00744B26 /* Frameworks */ = {
146152
isa = PBXFrameworksBuildPhase;
147153
buildActionMask = 2147483647;
148154
files = (
149-
8F7F70CB1EBC41EC00744B26 /* libcurl.tbd in Frameworks */,
155+
8F7F71451EBC457F00744B26 /* libpthread.tbd in Frameworks */,
156+
8F7F71421EBC456100744B26 /* libcurl.3.tbd in Frameworks */,
150157
);
151158
runOnlyForDeploymentPostprocessing = 0;
152159
};
@@ -242,6 +249,7 @@
242249
8FB92FFE1ACBBC3F00BD7EF2 = {
243250
isa = PBXGroup;
244251
children = (
252+
8F7F71471EBC4B3D00744B26 /* duktape.c */,
245253
8F2A54AB1C606DB700305D6A /* Source */,
246254
8FB930081ACBBC3F00BD7EF2 /* Products */,
247255
8FCEF5681E0B7540004B6762 /* Frameworks */,
@@ -259,7 +267,8 @@
259267
8FCEF5681E0B7540004B6762 /* Frameworks */ = {
260268
isa = PBXGroup;
261269
children = (
262-
8F7F70CA1EBC41EC00744B26 /* libcurl.tbd */,
270+
8F7F71441EBC457F00744B26 /* libpthread.tbd */,
271+
8F7F71401EBC456100744B26 /* libcurl.3.tbd */,
263272
);
264273
name = Frameworks;
265274
sourceTree = "<group>";
@@ -321,6 +330,7 @@
321330
isa = PBXSourcesBuildPhase;
322331
buildActionMask = 2147483647;
323332
files = (
333+
8F7F71481EBC4B3D00744B26 /* duktape.c in Sources */,
324334
8F7F71321EBC429800744B26 /* scriptCompile.cpp in Sources */,
325335
8F7F71291EBC429800744B26 /* Makefile in Sources */,
326336
8F7F71311EBC429800744B26 /* privatesrc.cpp in Sources */,
@@ -386,6 +396,13 @@
386396
);
387397
GCC_WARN_UNDECLARED_SELECTOR = YES;
388398
MTL_ENABLE_DEBUG_INFO = YES;
399+
OTHER_CFLAGS = (
400+
"-DDISCARDMONGO=1",
401+
"-DDISCARDMYSQL=1",
402+
"-DDISCARDPOSTGRES=1",
403+
"-DEVSERVER_FORK=1",
404+
"-DEVSERVER=1",
405+
);
389406
PRODUCT_NAME = "$(TARGET_NAME)";
390407
};
391408
name = Debug;
@@ -409,6 +426,13 @@
409426
GCC_C_LANGUAGE_STANDARD = gnu99;
410427
GCC_WARN_UNDECLARED_SELECTOR = YES;
411428
MTL_ENABLE_DEBUG_INFO = NO;
429+
OTHER_CFLAGS = (
430+
"-DDISCARDMONGO=1",
431+
"-DDISCARDMYSQL=1",
432+
"-DDISCARDPOSTGRES=1",
433+
"-DEVSERVER_FORK=1",
434+
"-DEVSERVER=1",
435+
);
412436
PRODUCT_NAME = "$(TARGET_NAME)";
413437
};
414438
name = Release;
@@ -417,8 +441,9 @@
417441
isa = XCBuildConfiguration;
418442
buildSettings = {
419443
ALWAYS_SEARCH_USER_PATHS = YES;
444+
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
420445
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
421-
CLANG_CXX_LIBRARY = "compiler-default";
446+
CLANG_CXX_LIBRARY = "libc++";
422447
CLANG_ENABLE_MODULES = YES;
423448
CLANG_ENABLE_OBJC_ARC = NO;
424449
CLANG_WARN_BOOL_CONVERSION = YES;
@@ -436,7 +461,7 @@
436461
ENABLE_NS_ASSERTIONS = YES;
437462
ENABLE_STRICT_OBJC_MSGSEND = NO;
438463
ENABLE_TESTABILITY = YES;
439-
GCC_C_LANGUAGE_STANDARD = "compiler-default";
464+
GCC_C_LANGUAGE_STANDARD = c11;
440465
GCC_DYNAMIC_NO_PIC = NO;
441466
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO;
442467
GCC_NO_COMMON_BLOCKS = YES;
@@ -472,8 +497,9 @@
472497
isa = XCBuildConfiguration;
473498
buildSettings = {
474499
ALWAYS_SEARCH_USER_PATHS = YES;
500+
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
475501
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
476-
CLANG_CXX_LIBRARY = "compiler-default";
502+
CLANG_CXX_LIBRARY = "libc++";
477503
CLANG_ENABLE_MODULES = YES;
478504
CLANG_ENABLE_OBJC_ARC = NO;
479505
CLANG_WARN_BOOL_CONVERSION = YES;
@@ -491,7 +517,7 @@
491517
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
492518
ENABLE_NS_ASSERTIONS = YES;
493519
ENABLE_STRICT_OBJC_MSGSEND = NO;
494-
GCC_C_LANGUAGE_STANDARD = "compiler-default";
520+
GCC_C_LANGUAGE_STANDARD = c11;
495521
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO;
496522
GCC_NO_COMMON_BLOCKS = YES;
497523
GCC_OPTIMIZATION_LEVEL = s;
@@ -531,6 +557,7 @@
531557
8F7F70C91EBC41AE00744B26 /* Release */,
532558
);
533559
defaultConfigurationIsVisible = 0;
560+
defaultConfigurationName = Release;
534561
};
535562
8FB930021ACBBC3F00BD7EF2 /* Build configuration list for PBXProject "MacChatScript" */ = {
536563
isa = XCConfigurationList;

0 commit comments

Comments
 (0)