From e634ca18ede7671b61f8b365b47fb1ba30e52855 Mon Sep 17 00:00:00 2001 From: Paolo Bosetti Date: Tue, 22 May 2012 22:34:16 -0700 Subject: Created Xcode 4 project, using the make target to build the tools, and with a native Xcode target to build a hello world example. --- mruby/HelloMRuby/hello_mruby.c | 9 + xcode/.gitignore | 1 + xcode/HelloMRuby/hello_mruby.c | 39 ++ xcode/mruby.xcodeproj/project.pbxproj | 603 +++++++++++++++++++++ .../project.xcworkspace/contents.xcworkspacedata | 7 + 5 files changed, 659 insertions(+) create mode 100644 mruby/HelloMRuby/hello_mruby.c create mode 100644 xcode/.gitignore create mode 100644 xcode/HelloMRuby/hello_mruby.c create mode 100644 xcode/mruby.xcodeproj/project.pbxproj create mode 100644 xcode/mruby.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/mruby/HelloMRuby/hello_mruby.c b/mruby/HelloMRuby/hello_mruby.c new file mode 100644 index 000000000..b727c95ec --- /dev/null +++ b/mruby/HelloMRuby/hello_mruby.c @@ -0,0 +1,9 @@ +// +// hello_mruby.c +// mruby +// +// Created by Paolo Bosetti on 5/22/12. +// Copyright (c) 2012 __MyCompanyName__. All rights reserved. +// + +#include diff --git a/xcode/.gitignore b/xcode/.gitignore new file mode 100644 index 000000000..4f405ccc6 --- /dev/null +++ b/xcode/.gitignore @@ -0,0 +1 @@ +xcuserdata \ No newline at end of file diff --git a/xcode/HelloMRuby/hello_mruby.c b/xcode/HelloMRuby/hello_mruby.c new file mode 100644 index 000000000..2cfa38143 --- /dev/null +++ b/xcode/HelloMRuby/hello_mruby.c @@ -0,0 +1,39 @@ +// +// hello_mruby.c +// mruby +// +// Created by Paolo Bosetti on 5/22/12. +// Copyright (c) 2012 University of Trento. All rights reserved. +// + +#include +#include + +/* Include the mruby header */ +#include +#include +#include +#include + + + +int main(int argc, const char * argv[]) +{ + struct mrb_parser_state *parse; + mrb_state *mrb = mrb_open(); + char code[] = "p 'hello world!'"; + int n; + + printf("Executing Ruby code from C!\n"); + parse = mrb_parse_string(mrb, code); + n = mrb_generate_code(mrb, parse->tree); + + mrb_run(mrb, mrb_proc_new(mrb, mrb->irep[n]), mrb_top_self(mrb)); + + if (mrb->exc) { + mrb_p(mrb, mrb_obj_value(mrb->exc)); + } + + mrb_close(mrb); + return 0; +} \ No newline at end of file diff --git a/xcode/mruby.xcodeproj/project.pbxproj b/xcode/mruby.xcodeproj/project.pbxproj new file mode 100644 index 000000000..085d67475 --- /dev/null +++ b/xcode/mruby.xcodeproj/project.pbxproj @@ -0,0 +1,603 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 88BF35B1156CA43500F12AC7 /* hello_mruby.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF35B0156CA43500F12AC7 /* hello_mruby.c */; }; + 88BF35B4156CA51700F12AC7 /* libmruby.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88BF359E156CA2E400F12AC7 /* libmruby.a */; }; + 88BF35B5156CA51A00F12AC7 /* libmruby_core.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88BF359F156CA2E400F12AC7 /* libmruby_core.a */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 88BF35B2156CA4FE00F12AC7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 88BF3371156C992100F12AC7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 88BF3594156CA10D00F12AC7; + remoteInfo = make_mruby; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 88BF35A3156CA3ED00F12AC7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 8; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 88BF34C0156C997100F12AC7 /* mirb.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mirb.c; sourceTree = ""; }; + 88BF34C4156C997100F12AC7 /* mrbc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mrbc.c; sourceTree = ""; }; + 88BF34C8156C997100F12AC7 /* mruby.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mruby.c; sourceTree = ""; }; + 88BF34CB156C997100F12AC7 /* xpcat.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = xpcat.c; sourceTree = ""; }; + 88BF34D4156C998200F12AC7 /* array.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = array.c; sourceTree = ""; }; + 88BF34D5156C998200F12AC7 /* ascii.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ascii.c; sourceTree = ""; }; + 88BF34D6156C998200F12AC7 /* cdump.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cdump.c; sourceTree = ""; }; + 88BF34D7156C998200F12AC7 /* class.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = class.c; sourceTree = ""; }; + 88BF34D9156C998200F12AC7 /* codegen.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = codegen.c; sourceTree = ""; }; + 88BF34DA156C998200F12AC7 /* compar.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = compar.c; sourceTree = ""; }; + 88BF34DB156C998200F12AC7 /* crc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = crc.c; sourceTree = ""; }; + 88BF34DC156C998200F12AC7 /* dump.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dump.c; sourceTree = ""; }; + 88BF34DD156C998200F12AC7 /* encoding.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = encoding.c; sourceTree = ""; }; + 88BF34DE156C998200F12AC7 /* encoding.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = encoding.h; sourceTree = ""; }; + 88BF34DF156C998200F12AC7 /* enum.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = enum.c; sourceTree = ""; }; + 88BF34E0156C998200F12AC7 /* error.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = error.c; sourceTree = ""; }; + 88BF34E1156C998200F12AC7 /* error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = error.h; sourceTree = ""; }; + 88BF34E2156C998200F12AC7 /* etc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = etc.c; sourceTree = ""; }; + 88BF34E4156C998200F12AC7 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; }; + 88BF34E5156C998200F12AC7 /* gc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = gc.c; sourceTree = ""; }; + 88BF34E6156C998200F12AC7 /* gc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = gc.h; sourceTree = ""; }; + 88BF34E7156C998200F12AC7 /* hash.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hash.c; sourceTree = ""; }; + 88BF34E8156C998200F12AC7 /* init.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = init.c; sourceTree = ""; }; + 88BF34EA156C998200F12AC7 /* init_ext.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = init_ext.c; sourceTree = ""; }; + 88BF34EB156C998200F12AC7 /* kernel.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = kernel.c; sourceTree = ""; }; + 88BF34EC156C998200F12AC7 /* keywords */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = keywords; sourceTree = ""; }; + 88BF34ED156C998200F12AC7 /* lex.def */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = lex.def; sourceTree = ""; }; + 88BF34EE156C998200F12AC7 /* load.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = load.c; sourceTree = ""; }; + 88BF34F0156C998200F12AC7 /* math.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = math.c; sourceTree = ""; }; + 88BF34F1156C998200F12AC7 /* math.c.orig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = math.c.orig; sourceTree = ""; }; + 88BF34F2156C998200F12AC7 /* name2ctype.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = name2ctype.h; sourceTree = ""; }; + 88BF34F3156C998200F12AC7 /* node.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = node.h; sourceTree = ""; }; + 88BF34F4156C998200F12AC7 /* numeric.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = numeric.c; sourceTree = ""; }; + 88BF34F5156C998200F12AC7 /* object.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = object.c; sourceTree = ""; }; + 88BF34F6156C998200F12AC7 /* oniguruma.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = oniguruma.h; sourceTree = ""; }; + 88BF34F7156C998200F12AC7 /* opcode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = opcode.h; sourceTree = ""; }; + 88BF34F8156C998200F12AC7 /* parse.y */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.yacc; path = parse.y; sourceTree = ""; }; + 88BF34F9156C998200F12AC7 /* pool.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pool.c; sourceTree = ""; }; + 88BF34FA156C998200F12AC7 /* print.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = print.c; sourceTree = ""; }; + 88BF34FB156C998200F12AC7 /* proc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = proc.c; sourceTree = ""; }; + 88BF34FC156C998200F12AC7 /* range.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = range.c; sourceTree = ""; }; + 88BF34FD156C998200F12AC7 /* re.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = re.c; sourceTree = ""; }; + 88BF34FE156C998200F12AC7 /* re.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = re.h; sourceTree = ""; }; + 88BF34FF156C998200F12AC7 /* regcomp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = regcomp.c; sourceTree = ""; }; + 88BF3500156C998200F12AC7 /* regenc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = regenc.c; sourceTree = ""; }; + 88BF3501156C998200F12AC7 /* regenc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = regenc.h; sourceTree = ""; }; + 88BF3502156C998200F12AC7 /* regerror.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = regerror.c; sourceTree = ""; }; + 88BF3503156C998200F12AC7 /* regex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = regex.h; sourceTree = ""; }; + 88BF3504156C998200F12AC7 /* regexec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = regexec.c; sourceTree = ""; }; + 88BF3505156C998200F12AC7 /* regint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = regint.h; sourceTree = ""; }; + 88BF3506156C998200F12AC7 /* regparse.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = regparse.c; sourceTree = ""; }; + 88BF3507156C998200F12AC7 /* regparse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = regparse.h; sourceTree = ""; }; + 88BF3508156C998200F12AC7 /* sprintf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sprintf.c; sourceTree = ""; }; + 88BF3509156C998200F12AC7 /* st.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = st.c; sourceTree = ""; }; + 88BF350A156C998200F12AC7 /* st.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = st.h; sourceTree = ""; }; + 88BF350B156C998200F12AC7 /* state.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = state.c; sourceTree = ""; }; + 88BF350C156C998200F12AC7 /* string.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = string.c; sourceTree = ""; }; + 88BF350D156C998200F12AC7 /* struct.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = struct.c; sourceTree = ""; }; + 88BF350E156C998200F12AC7 /* symbol.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = symbol.c; sourceTree = ""; }; + 88BF350F156C998200F12AC7 /* time.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = time.c; sourceTree = ""; }; + 88BF3510156C998200F12AC7 /* transcode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = transcode.c; sourceTree = ""; }; + 88BF3511156C998200F12AC7 /* transcode_data.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = transcode_data.h; sourceTree = ""; }; + 88BF3512156C998200F12AC7 /* unicode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = unicode.c; sourceTree = ""; }; + 88BF3513156C998200F12AC7 /* us_ascii.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = us_ascii.c; sourceTree = ""; }; + 88BF3514156C998200F12AC7 /* utf_8.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = utf_8.c; sourceTree = ""; }; + 88BF3515156C998200F12AC7 /* variable.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = variable.c; sourceTree = ""; }; + 88BF3518156C998200F12AC7 /* vm.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = vm.c; sourceTree = ""; }; + 88BF3558156C99B200F12AC7 /* mrbconf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mrbconf.h; sourceTree = ""; }; + 88BF355A156C99B200F12AC7 /* array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = array.h; sourceTree = ""; }; + 88BF355B156C99B200F12AC7 /* cdump.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cdump.h; sourceTree = ""; }; + 88BF355C156C99B200F12AC7 /* class.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = class.h; sourceTree = ""; }; + 88BF355D156C99B200F12AC7 /* compile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = compile.h; sourceTree = ""; }; + 88BF355E156C99B200F12AC7 /* data.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = data.h; sourceTree = ""; }; + 88BF355F156C99B200F12AC7 /* dump.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dump.h; sourceTree = ""; }; + 88BF3560156C99B200F12AC7 /* hash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hash.h; sourceTree = ""; }; + 88BF3561156C99B200F12AC7 /* irep.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = irep.h; sourceTree = ""; }; + 88BF3562156C99B200F12AC7 /* khash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = khash.h; sourceTree = ""; }; + 88BF3563156C99B200F12AC7 /* numeric.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = numeric.h; sourceTree = ""; }; + 88BF3564156C99B200F12AC7 /* object.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = object.h; sourceTree = ""; }; + 88BF3565156C99B200F12AC7 /* proc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = proc.h; sourceTree = ""; }; + 88BF3566156C99B200F12AC7 /* range.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = range.h; sourceTree = ""; }; + 88BF3567156C99B200F12AC7 /* string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = string.h; sourceTree = ""; }; + 88BF3568156C99B200F12AC7 /* struct.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = struct.h; sourceTree = ""; }; + 88BF3569156C99B200F12AC7 /* variable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = variable.h; sourceTree = ""; }; + 88BF356A156C99B200F12AC7 /* mruby.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mruby.h; sourceTree = ""; }; + 88BF357E156C99C200F12AC7 /* array.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = array.rb; sourceTree = ""; }; + 88BF3580156C99C200F12AC7 /* compar.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = compar.rb; sourceTree = ""; }; + 88BF3581156C99C200F12AC7 /* enum.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = enum.rb; sourceTree = ""; }; + 88BF3582156C99C200F12AC7 /* error.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = error.rb; sourceTree = ""; }; + 88BF3583156C99C200F12AC7 /* hash.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = hash.rb; sourceTree = ""; }; + 88BF3584156C99C200F12AC7 /* init_mrblib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = init_mrblib.c; sourceTree = ""; }; + 88BF3585156C99C200F12AC7 /* kernel.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = kernel.rb; sourceTree = ""; }; + 88BF3587156C99C200F12AC7 /* numeric.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = numeric.rb; sourceTree = ""; }; + 88BF3588156C99C200F12AC7 /* print.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = print.rb; sourceTree = ""; }; + 88BF3589156C99C200F12AC7 /* range.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = range.rb; sourceTree = ""; }; + 88BF358A156C99C200F12AC7 /* string.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = string.rb; sourceTree = ""; }; + 88BF358B156C99C200F12AC7 /* struct.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = struct.rb; sourceTree = ""; }; + 88BF3598156CA2A300F12AC7 /* mirb */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mirb; path = ../bin/mirb; sourceTree = ""; }; + 88BF3599156CA2A300F12AC7 /* mrbc */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mrbc; path = ../bin/mrbc; sourceTree = ""; }; + 88BF359A156CA2A300F12AC7 /* mruby */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mruby; path = ../bin/mruby; sourceTree = ""; }; + 88BF359D156CA2E400F12AC7 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; }; + 88BF359E156CA2E400F12AC7 /* libmruby.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libmruby.a; sourceTree = ""; }; + 88BF359F156CA2E400F12AC7 /* libmruby_core.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libmruby_core.a; sourceTree = ""; }; + 88BF35A5156CA3ED00F12AC7 /* HelloMRuby */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = HelloMRuby; sourceTree = BUILT_PRODUCTS_DIR; }; + 88BF35A8156CA3ED00F12AC7 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; + 88BF35AA156CA3ED00F12AC7 /* HelloMRuby.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = HelloMRuby.1; sourceTree = ""; }; + 88BF35B0156CA43500F12AC7 /* hello_mruby.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = hello_mruby.c; path = HelloMRuby/hello_mruby.c; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 88BF35A2156CA3ED00F12AC7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 88BF35B4156CA51700F12AC7 /* libmruby.a in Frameworks */, + 88BF35B5156CA51A00F12AC7 /* libmruby_core.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 88BF336F156C992100F12AC7 = { + isa = PBXGroup; + children = ( + 88BF35AF156CA3FC00F12AC7 /* HelloMRuby */, + 88BF357D156C99C200F12AC7 /* mrblib */, + 88BF3557156C99B200F12AC7 /* include */, + 88BF34D3156C998200F12AC7 /* src */, + 88BF34BB156C997100F12AC7 /* tools */, + 88BF35A7156CA3ED00F12AC7 /* HelloMRuby */, + 88BF35A0156CA30F00F12AC7 /* Products */, + 88BF35A5156CA3ED00F12AC7 /* HelloMRuby */, + ); + sourceTree = ""; + }; + 88BF34BB156C997100F12AC7 /* tools */ = { + isa = PBXGroup; + children = ( + 88BF34BD156C997100F12AC7 /* mirb */, + 88BF34C1156C997100F12AC7 /* mrbc */, + 88BF34C5156C997100F12AC7 /* mruby */, + 88BF34C9156C997100F12AC7 /* xpcat */, + ); + name = tools; + path = ../tools; + sourceTree = ""; + }; + 88BF34BD156C997100F12AC7 /* mirb */ = { + isa = PBXGroup; + children = ( + 88BF34C0156C997100F12AC7 /* mirb.c */, + ); + path = mirb; + sourceTree = ""; + }; + 88BF34C1156C997100F12AC7 /* mrbc */ = { + isa = PBXGroup; + children = ( + 88BF34C4156C997100F12AC7 /* mrbc.c */, + ); + path = mrbc; + sourceTree = ""; + }; + 88BF34C5156C997100F12AC7 /* mruby */ = { + isa = PBXGroup; + children = ( + 88BF34C8156C997100F12AC7 /* mruby.c */, + ); + path = mruby; + sourceTree = ""; + }; + 88BF34C9156C997100F12AC7 /* xpcat */ = { + isa = PBXGroup; + children = ( + 88BF34CB156C997100F12AC7 /* xpcat.c */, + ); + path = xpcat; + sourceTree = ""; + }; + 88BF34D3156C998200F12AC7 /* src */ = { + isa = PBXGroup; + children = ( + 88BF34D4156C998200F12AC7 /* array.c */, + 88BF34D5156C998200F12AC7 /* ascii.c */, + 88BF34D6156C998200F12AC7 /* cdump.c */, + 88BF34D7156C998200F12AC7 /* class.c */, + 88BF34D9156C998200F12AC7 /* codegen.c */, + 88BF34DA156C998200F12AC7 /* compar.c */, + 88BF34DB156C998200F12AC7 /* crc.c */, + 88BF34DC156C998200F12AC7 /* dump.c */, + 88BF34DD156C998200F12AC7 /* encoding.c */, + 88BF34DE156C998200F12AC7 /* encoding.h */, + 88BF34DF156C998200F12AC7 /* enum.c */, + 88BF34E0156C998200F12AC7 /* error.c */, + 88BF34E1156C998200F12AC7 /* error.h */, + 88BF34E2156C998200F12AC7 /* etc.c */, + 88BF34E3156C998200F12AC7 /* ext */, + 88BF34E5156C998200F12AC7 /* gc.c */, + 88BF34E6156C998200F12AC7 /* gc.h */, + 88BF34E7156C998200F12AC7 /* hash.c */, + 88BF34E8156C998200F12AC7 /* init.c */, + 88BF34EA156C998200F12AC7 /* init_ext.c */, + 88BF34EB156C998200F12AC7 /* kernel.c */, + 88BF34EC156C998200F12AC7 /* keywords */, + 88BF34ED156C998200F12AC7 /* lex.def */, + 88BF34EE156C998200F12AC7 /* load.c */, + 88BF34F0156C998200F12AC7 /* math.c */, + 88BF34F1156C998200F12AC7 /* math.c.orig */, + 88BF34F2156C998200F12AC7 /* name2ctype.h */, + 88BF34F3156C998200F12AC7 /* node.h */, + 88BF34F4156C998200F12AC7 /* numeric.c */, + 88BF34F5156C998200F12AC7 /* object.c */, + 88BF34F6156C998200F12AC7 /* oniguruma.h */, + 88BF34F7156C998200F12AC7 /* opcode.h */, + 88BF34F8156C998200F12AC7 /* parse.y */, + 88BF34F9156C998200F12AC7 /* pool.c */, + 88BF34FA156C998200F12AC7 /* print.c */, + 88BF34FB156C998200F12AC7 /* proc.c */, + 88BF34FC156C998200F12AC7 /* range.c */, + 88BF34FD156C998200F12AC7 /* re.c */, + 88BF34FE156C998200F12AC7 /* re.h */, + 88BF34FF156C998200F12AC7 /* regcomp.c */, + 88BF3500156C998200F12AC7 /* regenc.c */, + 88BF3501156C998200F12AC7 /* regenc.h */, + 88BF3502156C998200F12AC7 /* regerror.c */, + 88BF3503156C998200F12AC7 /* regex.h */, + 88BF3504156C998200F12AC7 /* regexec.c */, + 88BF3505156C998200F12AC7 /* regint.h */, + 88BF3506156C998200F12AC7 /* regparse.c */, + 88BF3507156C998200F12AC7 /* regparse.h */, + 88BF3508156C998200F12AC7 /* sprintf.c */, + 88BF3509156C998200F12AC7 /* st.c */, + 88BF350A156C998200F12AC7 /* st.h */, + 88BF350B156C998200F12AC7 /* state.c */, + 88BF350C156C998200F12AC7 /* string.c */, + 88BF350D156C998200F12AC7 /* struct.c */, + 88BF350E156C998200F12AC7 /* symbol.c */, + 88BF350F156C998200F12AC7 /* time.c */, + 88BF3510156C998200F12AC7 /* transcode.c */, + 88BF3511156C998200F12AC7 /* transcode_data.h */, + 88BF3512156C998200F12AC7 /* unicode.c */, + 88BF3513156C998200F12AC7 /* us_ascii.c */, + 88BF3514156C998200F12AC7 /* utf_8.c */, + 88BF3515156C998200F12AC7 /* variable.c */, + 88BF3518156C998200F12AC7 /* vm.c */, + ); + name = src; + path = ../src; + sourceTree = ""; + }; + 88BF34E3156C998200F12AC7 /* ext */ = { + isa = PBXGroup; + children = ( + 88BF34E4156C998200F12AC7 /* .gitkeep */, + ); + path = ext; + sourceTree = ""; + }; + 88BF3557156C99B200F12AC7 /* include */ = { + isa = PBXGroup; + children = ( + 88BF3558156C99B200F12AC7 /* mrbconf.h */, + 88BF3559156C99B200F12AC7 /* mruby */, + 88BF356A156C99B200F12AC7 /* mruby.h */, + ); + name = include; + path = ../include; + sourceTree = ""; + }; + 88BF3559156C99B200F12AC7 /* mruby */ = { + isa = PBXGroup; + children = ( + 88BF355A156C99B200F12AC7 /* array.h */, + 88BF355B156C99B200F12AC7 /* cdump.h */, + 88BF355C156C99B200F12AC7 /* class.h */, + 88BF355D156C99B200F12AC7 /* compile.h */, + 88BF355E156C99B200F12AC7 /* data.h */, + 88BF355F156C99B200F12AC7 /* dump.h */, + 88BF3560156C99B200F12AC7 /* hash.h */, + 88BF3561156C99B200F12AC7 /* irep.h */, + 88BF3562156C99B200F12AC7 /* khash.h */, + 88BF3563156C99B200F12AC7 /* numeric.h */, + 88BF3564156C99B200F12AC7 /* object.h */, + 88BF3565156C99B200F12AC7 /* proc.h */, + 88BF3566156C99B200F12AC7 /* range.h */, + 88BF3567156C99B200F12AC7 /* string.h */, + 88BF3568156C99B200F12AC7 /* struct.h */, + 88BF3569156C99B200F12AC7 /* variable.h */, + ); + path = mruby; + sourceTree = ""; + }; + 88BF357D156C99C200F12AC7 /* mrblib */ = { + isa = PBXGroup; + children = ( + 88BF357E156C99C200F12AC7 /* array.rb */, + 88BF3580156C99C200F12AC7 /* compar.rb */, + 88BF3581156C99C200F12AC7 /* enum.rb */, + 88BF3582156C99C200F12AC7 /* error.rb */, + 88BF3583156C99C200F12AC7 /* hash.rb */, + 88BF3584156C99C200F12AC7 /* init_mrblib.c */, + 88BF3585156C99C200F12AC7 /* kernel.rb */, + 88BF3587156C99C200F12AC7 /* numeric.rb */, + 88BF3588156C99C200F12AC7 /* print.rb */, + 88BF3589156C99C200F12AC7 /* range.rb */, + 88BF358A156C99C200F12AC7 /* string.rb */, + 88BF358B156C99C200F12AC7 /* struct.rb */, + ); + name = mrblib; + path = ../mrblib; + sourceTree = ""; + }; + 88BF359B156CA2B000F12AC7 /* bin */ = { + isa = PBXGroup; + children = ( + 88BF3598156CA2A300F12AC7 /* mirb */, + 88BF3599156CA2A300F12AC7 /* mrbc */, + 88BF359A156CA2A300F12AC7 /* mruby */, + ); + name = bin; + sourceTree = ""; + }; + 88BF359C156CA2E400F12AC7 /* lib */ = { + isa = PBXGroup; + children = ( + 88BF359D156CA2E400F12AC7 /* .gitkeep */, + 88BF359E156CA2E400F12AC7 /* libmruby.a */, + 88BF359F156CA2E400F12AC7 /* libmruby_core.a */, + ); + name = lib; + path = ../lib; + sourceTree = ""; + }; + 88BF35A0156CA30F00F12AC7 /* Products */ = { + isa = PBXGroup; + children = ( + 88BF359C156CA2E400F12AC7 /* lib */, + 88BF359B156CA2B000F12AC7 /* bin */, + ); + name = Products; + sourceTree = ""; + }; + 88BF35A7156CA3ED00F12AC7 /* HelloMRuby */ = { + isa = PBXGroup; + children = ( + 88BF35A8156CA3ED00F12AC7 /* main.c */, + 88BF35AA156CA3ED00F12AC7 /* HelloMRuby.1 */, + ); + path = HelloMRuby; + sourceTree = ""; + }; + 88BF35AF156CA3FC00F12AC7 /* HelloMRuby */ = { + isa = PBXGroup; + children = ( + 88BF35B0156CA43500F12AC7 /* hello_mruby.c */, + ); + name = HelloMRuby; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + 88BF3594156CA10D00F12AC7 /* make_mruby */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(ACTION)"; + buildConfigurationList = 88BF3595156CA10D00F12AC7 /* Build configuration list for PBXLegacyTarget "make_mruby" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = "$(SRCROOT)/.."; + dependencies = ( + ); + name = make_mruby; + passBuildSettingsInEnvironment = 1; + productName = make_mruby; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXNativeTarget section */ + 88BF35A4156CA3ED00F12AC7 /* HelloMRuby */ = { + isa = PBXNativeTarget; + buildConfigurationList = 88BF35AC156CA3ED00F12AC7 /* Build configuration list for PBXNativeTarget "HelloMRuby" */; + buildPhases = ( + 88BF35A1156CA3ED00F12AC7 /* Sources */, + 88BF35A2156CA3ED00F12AC7 /* Frameworks */, + 88BF35A3156CA3ED00F12AC7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 88BF35B3156CA4FE00F12AC7 /* PBXTargetDependency */, + ); + name = HelloMRuby; + productName = HelloMRuby; + productReference = 88BF35A5156CA3ED00F12AC7 /* HelloMRuby */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 88BF3371156C992100F12AC7 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0430; + }; + buildConfigurationList = 88BF3374156C992100F12AC7 /* Build configuration list for PBXProject "mruby" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 88BF336F156C992100F12AC7; + productRefGroup = 88BF336F156C992100F12AC7; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 88BF3594156CA10D00F12AC7 /* make_mruby */, + 88BF35A4156CA3ED00F12AC7 /* HelloMRuby */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 88BF35A1156CA3ED00F12AC7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 88BF35B1156CA43500F12AC7 /* hello_mruby.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 88BF35B3156CA4FE00F12AC7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 88BF3594156CA10D00F12AC7 /* make_mruby */; + targetProxy = 88BF35B2156CA4FE00F12AC7 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 88BF337C156C992100F12AC7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_ENABLE_OBJC_ARC = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.7; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + 88BF337D156C992100F12AC7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_ENABLE_OBJC_ARC = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.7; + SDKROOT = macosx; + }; + name = Release; + }; + 88BF3596156CA10D00F12AC7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUGGING_SYMBOLS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 88BF3597156CA10D00F12AC7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 88BF35AD156CA3ED00F12AC7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../lib\""; + PRODUCT_NAME = "$(TARGET_NAME)"; + USER_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + }; + name = Debug; + }; + 88BF35AE156CA3ED00F12AC7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../lib\""; + PRODUCT_NAME = "$(TARGET_NAME)"; + USER_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 88BF3374156C992100F12AC7 /* Build configuration list for PBXProject "mruby" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 88BF337C156C992100F12AC7 /* Debug */, + 88BF337D156C992100F12AC7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 88BF3595156CA10D00F12AC7 /* Build configuration list for PBXLegacyTarget "make_mruby" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 88BF3596156CA10D00F12AC7 /* Debug */, + 88BF3597156CA10D00F12AC7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 88BF35AC156CA3ED00F12AC7 /* Build configuration list for PBXNativeTarget "HelloMRuby" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 88BF35AD156CA3ED00F12AC7 /* Debug */, + 88BF35AE156CA3ED00F12AC7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 88BF3371156C992100F12AC7 /* Project object */; +} diff --git a/xcode/mruby.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/xcode/mruby.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..34652e3bf --- /dev/null +++ b/xcode/mruby.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + -- cgit v1.2.3 From 636d45f76598e970d130c277bb66584064db1360 Mon Sep 17 00:00:00 2001 From: Paolo Bosetti Date: Wed, 30 May 2012 11:39:22 -0700 Subject: Added Xcode template with native target for compiling static libs and tools (mruby, mrbc, mirb) --- xcode/HelloMRuby/hello_mruby.c | 39 -- xcode/build/.gitkeep | 0 xcode/mruby.xcodeproj/project.pbxproj | 711 +++++++++++++++++++++++++++------- 3 files changed, 576 insertions(+), 174 deletions(-) delete mode 100644 xcode/HelloMRuby/hello_mruby.c create mode 100644 xcode/build/.gitkeep diff --git a/xcode/HelloMRuby/hello_mruby.c b/xcode/HelloMRuby/hello_mruby.c deleted file mode 100644 index 2cfa38143..000000000 --- a/xcode/HelloMRuby/hello_mruby.c +++ /dev/null @@ -1,39 +0,0 @@ -// -// hello_mruby.c -// mruby -// -// Created by Paolo Bosetti on 5/22/12. -// Copyright (c) 2012 University of Trento. All rights reserved. -// - -#include -#include - -/* Include the mruby header */ -#include -#include -#include -#include - - - -int main(int argc, const char * argv[]) -{ - struct mrb_parser_state *parse; - mrb_state *mrb = mrb_open(); - char code[] = "p 'hello world!'"; - int n; - - printf("Executing Ruby code from C!\n"); - parse = mrb_parse_string(mrb, code); - n = mrb_generate_code(mrb, parse->tree); - - mrb_run(mrb, mrb_proc_new(mrb, mrb->irep[n]), mrb_top_self(mrb)); - - if (mrb->exc) { - mrb_p(mrb, mrb_obj_value(mrb->exc)); - } - - mrb_close(mrb); - return 0; -} \ No newline at end of file diff --git a/xcode/build/.gitkeep b/xcode/build/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/xcode/mruby.xcodeproj/project.pbxproj b/xcode/mruby.xcodeproj/project.pbxproj index 085d67475..c03a74766 100644 --- a/xcode/mruby.xcodeproj/project.pbxproj +++ b/xcode/mruby.xcodeproj/project.pbxproj @@ -7,34 +7,102 @@ objects = { /* Begin PBXBuildFile section */ - 88BF35B1156CA43500F12AC7 /* hello_mruby.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF35B0156CA43500F12AC7 /* hello_mruby.c */; }; - 88BF35B4156CA51700F12AC7 /* libmruby.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88BF359E156CA2E400F12AC7 /* libmruby.a */; }; - 88BF35B5156CA51A00F12AC7 /* libmruby_core.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88BF359F156CA2E400F12AC7 /* libmruby_core.a */; }; + 88760A97157591E100113BFB /* mrbc.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34C4156C997100F12AC7 /* mrbc.c */; }; + 88760AEA15759F9700113BFB /* y.tab.c in Sources */ = {isa = PBXBuildFile; fileRef = 88EDC30215757CB40098CF0D /* y.tab.c */; }; + 88760AEB15759F9700113BFB /* array.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D4156C998200F12AC7 /* array.c */; }; + 88760AEC15759F9700113BFB /* ascii.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D5156C998200F12AC7 /* ascii.c */; }; + 88760AED15759F9700113BFB /* cdump.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D6156C998200F12AC7 /* cdump.c */; }; + 88760AEE15759F9700113BFB /* class.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D7156C998200F12AC7 /* class.c */; }; + 88760AEF15759F9700113BFB /* codegen.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D9156C998200F12AC7 /* codegen.c */; }; + 88760AF015759F9700113BFB /* compar.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34DA156C998200F12AC7 /* compar.c */; }; + 88760AF115759F9700113BFB /* crc.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34DB156C998200F12AC7 /* crc.c */; }; + 88760AF215759F9700113BFB /* dump.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34DC156C998200F12AC7 /* dump.c */; }; + 88760AF315759F9700113BFB /* encoding.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34DD156C998200F12AC7 /* encoding.c */; }; + 88760AF415759F9700113BFB /* enum.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34DF156C998200F12AC7 /* enum.c */; }; + 88760AF515759F9700113BFB /* error.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34E0156C998200F12AC7 /* error.c */; }; + 88760AF615759F9700113BFB /* etc.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34E2156C998200F12AC7 /* etc.c */; }; + 88760AF715759F9700113BFB /* gc.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34E5156C998200F12AC7 /* gc.c */; }; + 88760AF815759F9700113BFB /* hash.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34E7156C998200F12AC7 /* hash.c */; }; + 88760AF915759F9700113BFB /* init.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34E8156C998200F12AC7 /* init.c */; }; + 88760AFA15759F9700113BFB /* init_ext.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34EA156C998200F12AC7 /* init_ext.c */; }; + 88760AFB15759F9700113BFB /* kernel.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34EB156C998200F12AC7 /* kernel.c */; }; + 88760AFC15759F9700113BFB /* load.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34EE156C998200F12AC7 /* load.c */; }; + 88760AFD15759F9700113BFB /* math.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34F0156C998200F12AC7 /* math.c */; }; + 88760AFE15759F9700113BFB /* numeric.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34F4156C998200F12AC7 /* numeric.c */; }; + 88760AFF15759F9700113BFB /* object.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34F5156C998200F12AC7 /* object.c */; }; + 88760B0015759F9700113BFB /* pool.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34F9156C998200F12AC7 /* pool.c */; }; + 88760B0115759F9700113BFB /* print.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34FA156C998200F12AC7 /* print.c */; }; + 88760B0215759F9700113BFB /* proc.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34FB156C998200F12AC7 /* proc.c */; }; + 88760B0315759F9700113BFB /* range.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34FC156C998200F12AC7 /* range.c */; }; + 88760B0415759F9700113BFB /* re.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34FD156C998200F12AC7 /* re.c */; }; + 88760B0515759F9700113BFB /* regcomp.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34FF156C998200F12AC7 /* regcomp.c */; }; + 88760B0615759F9700113BFB /* regenc.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3500156C998200F12AC7 /* regenc.c */; }; + 88760B0715759F9700113BFB /* regerror.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3502156C998200F12AC7 /* regerror.c */; }; + 88760B0815759F9700113BFB /* regexec.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3504156C998200F12AC7 /* regexec.c */; }; + 88760B0915759F9700113BFB /* regparse.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3506156C998200F12AC7 /* regparse.c */; }; + 88760B0A15759F9700113BFB /* sprintf.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3508156C998200F12AC7 /* sprintf.c */; }; + 88760B0B15759F9700113BFB /* st.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3509156C998200F12AC7 /* st.c */; }; + 88760B0C15759F9700113BFB /* state.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF350B156C998200F12AC7 /* state.c */; }; + 88760B0D15759F9700113BFB /* string.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF350C156C998200F12AC7 /* string.c */; }; + 88760B0E15759F9700113BFB /* struct.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF350D156C998200F12AC7 /* struct.c */; }; + 88760B0F15759F9700113BFB /* symbol.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF350E156C998200F12AC7 /* symbol.c */; }; + 88760B1015759F9700113BFB /* time.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF350F156C998200F12AC7 /* time.c */; }; + 88760B1115759F9700113BFB /* transcode.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3510156C998200F12AC7 /* transcode.c */; }; + 88760B1215759F9700113BFB /* unicode.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3512156C998200F12AC7 /* unicode.c */; }; + 88760B1315759F9700113BFB /* us_ascii.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3513156C998200F12AC7 /* us_ascii.c */; }; + 88760B1415759F9700113BFB /* utf_8.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3514156C998200F12AC7 /* utf_8.c */; }; + 88760B1515759F9700113BFB /* variable.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3515156C998200F12AC7 /* variable.c */; }; + 88760B1615759F9700113BFB /* vm.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3518156C998200F12AC7 /* vm.c */; }; + 88760B1915769C3E00113BFB /* libmruby_core.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88760B1715769BE400113BFB /* libmruby_core.a */; }; + 88760B1D15769CEE00113BFB /* mrblib.c in Sources */ = {isa = PBXBuildFile; fileRef = 88760B1C15769CEE00113BFB /* mrblib.c */; }; + 88760B1E15769D2000113BFB /* libmruby_core.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88760B1715769BE400113BFB /* libmruby_core.a */; }; + 88760B3015769E8D00113BFB /* mruby.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34C8156C997100F12AC7 /* mruby.c */; }; + 88760B3115769E9400113BFB /* libmruby.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88760B1F15769E2D00113BFB /* libmruby.a */; }; + 88760B3815769F3000113BFB /* libmruby.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88760B1F15769E2D00113BFB /* libmruby.a */; }; + 88760B3E15769F5000113BFB /* mirb.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34C0156C997100F12AC7 /* mirb.c */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 88BF35B2156CA4FE00F12AC7 /* PBXContainerItemProxy */ = { + 88760ADE15759C1C00113BFB /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 88BF3371156C992100F12AC7 /* Project object */; proxyType = 1; - remoteGlobalIDString = 88BF3594156CA10D00F12AC7; - remoteInfo = make_mruby; + remoteGlobalIDString = 88760A8A157590F000113BFB; + remoteInfo = mrbc; }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 88BF35A3156CA3ED00F12AC7 /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 8; - dstPath = /usr/share/man/man1/; - dstSubfolderSpec = 0; - files = ( - ); - runOnlyForDeploymentPostprocessing = 1; + 88760B1A15769C5E00113BFB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 88BF3371156C992100F12AC7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 88760AE415759EFE00113BFB; + remoteInfo = mruby_core; + }; + 88760B2E15769E8000113BFB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 88BF3371156C992100F12AC7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 88760AA115759B4F00113BFB; + remoteInfo = ruby_lib; }; -/* End PBXCopyFilesBuildPhase section */ + 88760B3415769F3000113BFB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 88BF3371156C992100F12AC7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 88760AA115759B4F00113BFB; + remoteInfo = ruby_lib; + }; +/* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 88760A8B157590F000113BFB /* mrbc */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; name = mrbc; path = /Users/p4010/Projects/mruby/xcode/build/Release/mrbc; sourceTree = ""; }; + 88760A9D1575991600113BFB /* mrbc */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mrbc; path = build/mrbc; sourceTree = ""; }; + 88760AA215759B4F00113BFB /* libmruby.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libmruby.a; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/libmruby.a"; sourceTree = ""; }; + 88760AE515759EFE00113BFB /* libmruby_core.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libmruby_core.a; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/libmruby_core.a"; sourceTree = ""; }; + 88760B1715769BE400113BFB /* libmruby_core.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; name = libmruby_core.a; path = build/lib/libmruby_core.a; sourceTree = ""; }; + 88760B1C15769CEE00113BFB /* mrblib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mrblib.c; sourceTree = ""; }; + 88760B1F15769E2D00113BFB /* libmruby.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; name = libmruby.a; path = build/lib/libmruby.a; sourceTree = ""; }; + 88760B2415769E6100113BFB /* mruby */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = mruby; sourceTree = BUILT_PRODUCTS_DIR; }; + 88760B3C15769F3000113BFB /* mirb */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = mirb; sourceTree = BUILT_PRODUCTS_DIR; }; 88BF34C0156C997100F12AC7 /* mirb.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mirb.c; sourceTree = ""; }; 88BF34C4156C997100F12AC7 /* mrbc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mrbc.c; sourceTree = ""; }; 88BF34C8156C997100F12AC7 /* mruby.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mruby.c; sourceTree = ""; }; @@ -53,7 +121,6 @@ 88BF34E0156C998200F12AC7 /* error.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = error.c; sourceTree = ""; }; 88BF34E1156C998200F12AC7 /* error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = error.h; sourceTree = ""; }; 88BF34E2156C998200F12AC7 /* etc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = etc.c; sourceTree = ""; }; - 88BF34E4156C998200F12AC7 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; }; 88BF34E5156C998200F12AC7 /* gc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = gc.c; sourceTree = ""; }; 88BF34E6156C998200F12AC7 /* gc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = gc.h; sourceTree = ""; }; 88BF34E7156C998200F12AC7 /* hash.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hash.c; sourceTree = ""; }; @@ -64,7 +131,6 @@ 88BF34ED156C998200F12AC7 /* lex.def */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = lex.def; sourceTree = ""; }; 88BF34EE156C998200F12AC7 /* load.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = load.c; sourceTree = ""; }; 88BF34F0156C998200F12AC7 /* math.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = math.c; sourceTree = ""; }; - 88BF34F1156C998200F12AC7 /* math.c.orig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = math.c.orig; sourceTree = ""; }; 88BF34F2156C998200F12AC7 /* name2ctype.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = name2ctype.h; sourceTree = ""; }; 88BF34F3156C998200F12AC7 /* node.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = node.h; sourceTree = ""; }; 88BF34F4156C998200F12AC7 /* numeric.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = numeric.c; sourceTree = ""; }; @@ -132,42 +198,72 @@ 88BF3589156C99C200F12AC7 /* range.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = range.rb; sourceTree = ""; }; 88BF358A156C99C200F12AC7 /* string.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = string.rb; sourceTree = ""; }; 88BF358B156C99C200F12AC7 /* struct.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = struct.rb; sourceTree = ""; }; - 88BF3598156CA2A300F12AC7 /* mirb */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mirb; path = ../bin/mirb; sourceTree = ""; }; - 88BF3599156CA2A300F12AC7 /* mrbc */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mrbc; path = ../bin/mrbc; sourceTree = ""; }; - 88BF359A156CA2A300F12AC7 /* mruby */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mruby; path = ../bin/mruby; sourceTree = ""; }; - 88BF359D156CA2E400F12AC7 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; }; - 88BF359E156CA2E400F12AC7 /* libmruby.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libmruby.a; sourceTree = ""; }; - 88BF359F156CA2E400F12AC7 /* libmruby_core.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libmruby_core.a; sourceTree = ""; }; - 88BF35A5156CA3ED00F12AC7 /* HelloMRuby */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = HelloMRuby; sourceTree = BUILT_PRODUCTS_DIR; }; - 88BF35A8156CA3ED00F12AC7 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; - 88BF35AA156CA3ED00F12AC7 /* HelloMRuby.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = HelloMRuby.1; sourceTree = ""; }; - 88BF35B0156CA43500F12AC7 /* hello_mruby.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = hello_mruby.c; path = HelloMRuby/hello_mruby.c; sourceTree = ""; }; + 88EDC30215757CB40098CF0D /* y.tab.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = y.tab.c; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 88BF35A2156CA3ED00F12AC7 /* Frameworks */ = { + 88760A88157590F000113BFB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760B1915769C3E00113BFB /* libmruby_core.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 88760A9F15759B4F00113BFB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760B1E15769D2000113BFB /* libmruby_core.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 88760AE215759EFE00113BFB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 88760B2115769E6100113BFB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760B3115769E9400113BFB /* libmruby.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 88760B3715769F3000113BFB /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 88BF35B4156CA51700F12AC7 /* libmruby.a in Frameworks */, - 88BF35B5156CA51A00F12AC7 /* libmruby_core.a in Frameworks */, + 88760B3815769F3000113BFB /* libmruby.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 88760B3F1576A01C00113BFB /* Products */ = { + isa = PBXGroup; + children = ( + 88760B1715769BE400113BFB /* libmruby_core.a */, + 88760A9D1575991600113BFB /* mrbc */, + 88760B1F15769E2D00113BFB /* libmruby.a */, + 88760B2415769E6100113BFB /* mruby */, + 88760B3C15769F3000113BFB /* mirb */, + ); + name = Products; + sourceTree = ""; + }; 88BF336F156C992100F12AC7 = { isa = PBXGroup; children = ( - 88BF35AF156CA3FC00F12AC7 /* HelloMRuby */, 88BF357D156C99C200F12AC7 /* mrblib */, 88BF3557156C99B200F12AC7 /* include */, 88BF34D3156C998200F12AC7 /* src */, 88BF34BB156C997100F12AC7 /* tools */, - 88BF35A7156CA3ED00F12AC7 /* HelloMRuby */, - 88BF35A0156CA30F00F12AC7 /* Products */, - 88BF35A5156CA3ED00F12AC7 /* HelloMRuby */, + 88760B3F1576A01C00113BFB /* Products */, ); sourceTree = ""; }; @@ -218,6 +314,7 @@ 88BF34D3156C998200F12AC7 /* src */ = { isa = PBXGroup; children = ( + 88EDC30215757CB40098CF0D /* y.tab.c */, 88BF34D4156C998200F12AC7 /* array.c */, 88BF34D5156C998200F12AC7 /* ascii.c */, 88BF34D6156C998200F12AC7 /* cdump.c */, @@ -232,7 +329,6 @@ 88BF34E0156C998200F12AC7 /* error.c */, 88BF34E1156C998200F12AC7 /* error.h */, 88BF34E2156C998200F12AC7 /* etc.c */, - 88BF34E3156C998200F12AC7 /* ext */, 88BF34E5156C998200F12AC7 /* gc.c */, 88BF34E6156C998200F12AC7 /* gc.h */, 88BF34E7156C998200F12AC7 /* hash.c */, @@ -243,7 +339,6 @@ 88BF34ED156C998200F12AC7 /* lex.def */, 88BF34EE156C998200F12AC7 /* load.c */, 88BF34F0156C998200F12AC7 /* math.c */, - 88BF34F1156C998200F12AC7 /* math.c.orig */, 88BF34F2156C998200F12AC7 /* name2ctype.h */, 88BF34F3156C998200F12AC7 /* node.h */, 88BF34F4156C998200F12AC7 /* numeric.c */, @@ -286,14 +381,6 @@ path = ../src; sourceTree = ""; }; - 88BF34E3156C998200F12AC7 /* ext */ = { - isa = PBXGroup; - children = ( - 88BF34E4156C998200F12AC7 /* .gitkeep */, - ); - path = ext; - sourceTree = ""; - }; 88BF3557156C99B200F12AC7 /* include */ = { isa = PBXGroup; children = ( @@ -337,6 +424,7 @@ 88BF3582156C99C200F12AC7 /* error.rb */, 88BF3583156C99C200F12AC7 /* hash.rb */, 88BF3584156C99C200F12AC7 /* init_mrblib.c */, + 88760B1C15769CEE00113BFB /* mrblib.c */, 88BF3585156C99C200F12AC7 /* kernel.rb */, 88BF3587156C99C200F12AC7 /* numeric.rb */, 88BF3588156C99C200F12AC7 /* print.rb */, @@ -348,54 +436,24 @@ path = ../mrblib; sourceTree = ""; }; - 88BF359B156CA2B000F12AC7 /* bin */ = { - isa = PBXGroup; - children = ( - 88BF3598156CA2A300F12AC7 /* mirb */, - 88BF3599156CA2A300F12AC7 /* mrbc */, - 88BF359A156CA2A300F12AC7 /* mruby */, - ); - name = bin; - sourceTree = ""; - }; - 88BF359C156CA2E400F12AC7 /* lib */ = { - isa = PBXGroup; - children = ( - 88BF359D156CA2E400F12AC7 /* .gitkeep */, - 88BF359E156CA2E400F12AC7 /* libmruby.a */, - 88BF359F156CA2E400F12AC7 /* libmruby_core.a */, - ); - name = lib; - path = ../lib; - sourceTree = ""; - }; - 88BF35A0156CA30F00F12AC7 /* Products */ = { - isa = PBXGroup; - children = ( - 88BF359C156CA2E400F12AC7 /* lib */, - 88BF359B156CA2B000F12AC7 /* bin */, - ); - name = Products; - sourceTree = ""; - }; - 88BF35A7156CA3ED00F12AC7 /* HelloMRuby */ = { - isa = PBXGroup; - children = ( - 88BF35A8156CA3ED00F12AC7 /* main.c */, - 88BF35AA156CA3ED00F12AC7 /* HelloMRuby.1 */, +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 88760AA015759B4F00113BFB /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( ); - path = HelloMRuby; - sourceTree = ""; + runOnlyForDeploymentPostprocessing = 0; }; - 88BF35AF156CA3FC00F12AC7 /* HelloMRuby */ = { - isa = PBXGroup; - children = ( - 88BF35B0156CA43500F12AC7 /* hello_mruby.c */, + 88760AE315759EFE00113BFB /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( ); - name = HelloMRuby; - sourceTree = ""; + runOnlyForDeploymentPostprocessing = 0; }; -/* End PBXGroup section */ +/* End PBXHeadersBuildPhase section */ /* Begin PBXLegacyTarget section */ 88BF3594156CA10D00F12AC7 /* make_mruby */ = { @@ -415,22 +473,92 @@ /* End PBXLegacyTarget section */ /* Begin PBXNativeTarget section */ - 88BF35A4156CA3ED00F12AC7 /* HelloMRuby */ = { + 88760A8A157590F000113BFB /* mrbc */ = { + isa = PBXNativeTarget; + buildConfigurationList = 88760A92157590F000113BFB /* Build configuration list for PBXNativeTarget "mrbc" */; + buildPhases = ( + 88760A87157590F000113BFB /* Sources */, + 88760A88157590F000113BFB /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 88760B1B15769C5E00113BFB /* PBXTargetDependency */, + ); + name = mrbc; + productName = mrbc; + productReference = 88760A8B157590F000113BFB /* mrbc */; + productType = "com.apple.product-type.tool"; + }; + 88760AA115759B4F00113BFB /* ruby_lib */ = { + isa = PBXNativeTarget; + buildConfigurationList = 88760AA315759B4F00113BFB /* Build configuration list for PBXNativeTarget "ruby_lib" */; + buildPhases = ( + 88760AE015759C3600113BFB /* ShellScript */, + 88760A9E15759B4F00113BFB /* Sources */, + 88760A9F15759B4F00113BFB /* Frameworks */, + 88760AA015759B4F00113BFB /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 88760ADF15759C1C00113BFB /* PBXTargetDependency */, + ); + name = ruby_lib; + productName = ruby_lib; + productReference = 88760AA215759B4F00113BFB /* libmruby.a */; + productType = "com.apple.product-type.library.static"; + }; + 88760AE415759EFE00113BFB /* mruby_core */ = { + isa = PBXNativeTarget; + buildConfigurationList = 88760AE615759EFE00113BFB /* Build configuration list for PBXNativeTarget "mruby_core" */; + buildPhases = ( + 88760AE915759F5E00113BFB /* ShellScript */, + 88760AE115759EFE00113BFB /* Sources */, + 88760AE215759EFE00113BFB /* Frameworks */, + 88760AE315759EFE00113BFB /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = mruby_core; + productName = test; + productReference = 88760AE515759EFE00113BFB /* libmruby_core.a */; + productType = "com.apple.product-type.library.static"; + }; + 88760B2315769E6100113BFB /* mruby */ = { + isa = PBXNativeTarget; + buildConfigurationList = 88760B2B15769E6100113BFB /* Build configuration list for PBXNativeTarget "mruby" */; + buildPhases = ( + 88760B2015769E6100113BFB /* Sources */, + 88760B2115769E6100113BFB /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 88760B2F15769E8000113BFB /* PBXTargetDependency */, + ); + name = mruby; + productName = mruby; + productReference = 88760B2415769E6100113BFB /* mruby */; + productType = "com.apple.product-type.tool"; + }; + 88760B3215769F3000113BFB /* mirb */ = { isa = PBXNativeTarget; - buildConfigurationList = 88BF35AC156CA3ED00F12AC7 /* Build configuration list for PBXNativeTarget "HelloMRuby" */; + buildConfigurationList = 88760B3915769F3000113BFB /* Build configuration list for PBXNativeTarget "mirb" */; buildPhases = ( - 88BF35A1156CA3ED00F12AC7 /* Sources */, - 88BF35A2156CA3ED00F12AC7 /* Frameworks */, - 88BF35A3156CA3ED00F12AC7 /* CopyFiles */, + 88760B3515769F3000113BFB /* Sources */, + 88760B3715769F3000113BFB /* Frameworks */, ); buildRules = ( ); dependencies = ( - 88BF35B3156CA4FE00F12AC7 /* PBXTargetDependency */, + 88760B3315769F3000113BFB /* PBXTargetDependency */, ); - name = HelloMRuby; - productName = HelloMRuby; - productReference = 88BF35A5156CA3ED00F12AC7 /* HelloMRuby */; + name = mirb; + productName = mruby; + productReference = 88760B3C15769F3000113BFB /* mirb */; productType = "com.apple.product-type.tool"; }; /* End PBXNativeTarget section */ @@ -454,31 +582,331 @@ projectRoot = ""; targets = ( 88BF3594156CA10D00F12AC7 /* make_mruby */, - 88BF35A4156CA3ED00F12AC7 /* HelloMRuby */, + 88760AE415759EFE00113BFB /* mruby_core */, + 88760A8A157590F000113BFB /* mrbc */, + 88760AA115759B4F00113BFB /* ruby_lib */, + 88760B2315769E6100113BFB /* mruby */, + 88760B3215769F3000113BFB /* mirb */, ); }; /* End PBXProject section */ +/* Begin PBXShellScriptBuildPhase section */ + 88760AE015759C3600113BFB /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "cd ../mrblib\ncat ./*.rb > mrblib.rbtmp\n../Xcode/build/mrbc -Bmrblib_irep -omrblib.ctmp mrblib.rbtmp\ncat init_mrblib.c mrblib.ctmp > mrblib.c"; + }; + 88760AE915759F5E00113BFB /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "bison -o ../src/y.tab.c ../src/parse.y"; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ - 88BF35A1156CA3ED00F12AC7 /* Sources */ = { + 88760A87157590F000113BFB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760A97157591E100113BFB /* mrbc.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 88760A9E15759B4F00113BFB /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 88BF35B1156CA43500F12AC7 /* hello_mruby.c in Sources */, + 88760B1D15769CEE00113BFB /* mrblib.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 88760AE115759EFE00113BFB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760AEA15759F9700113BFB /* y.tab.c in Sources */, + 88760AEB15759F9700113BFB /* array.c in Sources */, + 88760AEC15759F9700113BFB /* ascii.c in Sources */, + 88760AED15759F9700113BFB /* cdump.c in Sources */, + 88760AEE15759F9700113BFB /* class.c in Sources */, + 88760AEF15759F9700113BFB /* codegen.c in Sources */, + 88760AF015759F9700113BFB /* compar.c in Sources */, + 88760AF115759F9700113BFB /* crc.c in Sources */, + 88760AF215759F9700113BFB /* dump.c in Sources */, + 88760AF315759F9700113BFB /* encoding.c in Sources */, + 88760AF415759F9700113BFB /* enum.c in Sources */, + 88760AF515759F9700113BFB /* error.c in Sources */, + 88760AF615759F9700113BFB /* etc.c in Sources */, + 88760AF715759F9700113BFB /* gc.c in Sources */, + 88760AF815759F9700113BFB /* hash.c in Sources */, + 88760AF915759F9700113BFB /* init.c in Sources */, + 88760AFA15759F9700113BFB /* init_ext.c in Sources */, + 88760AFB15759F9700113BFB /* kernel.c in Sources */, + 88760AFC15759F9700113BFB /* load.c in Sources */, + 88760AFD15759F9700113BFB /* math.c in Sources */, + 88760AFE15759F9700113BFB /* numeric.c in Sources */, + 88760AFF15759F9700113BFB /* object.c in Sources */, + 88760B0015759F9700113BFB /* pool.c in Sources */, + 88760B0115759F9700113BFB /* print.c in Sources */, + 88760B0215759F9700113BFB /* proc.c in Sources */, + 88760B0315759F9700113BFB /* range.c in Sources */, + 88760B0415759F9700113BFB /* re.c in Sources */, + 88760B0515759F9700113BFB /* regcomp.c in Sources */, + 88760B0615759F9700113BFB /* regenc.c in Sources */, + 88760B0715759F9700113BFB /* regerror.c in Sources */, + 88760B0815759F9700113BFB /* regexec.c in Sources */, + 88760B0915759F9700113BFB /* regparse.c in Sources */, + 88760B0A15759F9700113BFB /* sprintf.c in Sources */, + 88760B0B15759F9700113BFB /* st.c in Sources */, + 88760B0C15759F9700113BFB /* state.c in Sources */, + 88760B0D15759F9700113BFB /* string.c in Sources */, + 88760B0E15759F9700113BFB /* struct.c in Sources */, + 88760B0F15759F9700113BFB /* symbol.c in Sources */, + 88760B1015759F9700113BFB /* time.c in Sources */, + 88760B1115759F9700113BFB /* transcode.c in Sources */, + 88760B1215759F9700113BFB /* unicode.c in Sources */, + 88760B1315759F9700113BFB /* us_ascii.c in Sources */, + 88760B1415759F9700113BFB /* utf_8.c in Sources */, + 88760B1515759F9700113BFB /* variable.c in Sources */, + 88760B1615759F9700113BFB /* vm.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 88760B2015769E6100113BFB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760B3015769E8D00113BFB /* mruby.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 88760B3515769F3000113BFB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760B3E15769F5000113BFB /* mirb.c in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 88BF35B3156CA4FE00F12AC7 /* PBXTargetDependency */ = { + 88760ADF15759C1C00113BFB /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 88BF3594156CA10D00F12AC7 /* make_mruby */; - targetProxy = 88BF35B2156CA4FE00F12AC7 /* PBXContainerItemProxy */; + target = 88760A8A157590F000113BFB /* mrbc */; + targetProxy = 88760ADE15759C1C00113BFB /* PBXContainerItemProxy */; + }; + 88760B1B15769C5E00113BFB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 88760AE415759EFE00113BFB /* mruby_core */; + targetProxy = 88760B1A15769C5E00113BFB /* PBXContainerItemProxy */; + }; + 88760B2F15769E8000113BFB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 88760AA115759B4F00113BFB /* ruby_lib */; + targetProxy = 88760B2E15769E8000113BFB /* PBXContainerItemProxy */; + }; + 88760B3315769F3000113BFB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 88760AA115759B4F00113BFB /* ruby_lib */; + targetProxy = 88760B3415769F3000113BFB /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ + 88760A93157590F000113BFB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + INSTALL_PATH = /; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 88760A94157590F000113BFB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + INSTALL_PATH = /; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 88760AA415759B4F00113BFB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + EXECUTABLE_PREFIX = lib; + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + INSTALL_PATH = /lib; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + PRODUCT_NAME = mruby; + }; + name = Debug; + }; + 88760AA515759B4F00113BFB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + EXECUTABLE_PREFIX = lib; + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + INSTALL_PATH = /lib; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + PRODUCT_NAME = mruby; + }; + name = Release; + }; + 88760AE715759EFE00113BFB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + EXECUTABLE_PREFIX = lib; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + "$(inherited)", + ); + HEADER_SEARCH_PATHS = ( + "\"$(SRCROOT)/../include\"", + "\"$(SRCROOT)/../src\"", + ); + INSTALL_PATH = /lib; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + LIBRARY_STYLE = STATIC; + PRODUCT_NAME = "$(TARGET_NAME)"; + USE_HEADERMAP = NO; + }; + name = Debug; + }; + 88760AE815759EFE00113BFB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + EXECUTABLE_PREFIX = lib; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + ); + HEADER_SEARCH_PATHS = ( + "\"$(SRCROOT)/../include\"", + "\"$(SRCROOT)/../src\"", + ); + INSTALL_PATH = /lib; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + LIBRARY_STYLE = STATIC; + PRODUCT_NAME = "$(TARGET_NAME)"; + USE_HEADERMAP = NO; + }; + name = Release; + }; + 88760B2C15769E6100113BFB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + INSTALL_PATH = /; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 88760B2D15769E6100113BFB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + INSTALL_PATH = /; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 88760B3A15769F3000113BFB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + INSTALL_PATH = /; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + PRODUCT_NAME = mirb; + }; + name = Debug; + }; + 88760B3B15769F3000113BFB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + INSTALL_PATH = /; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + PRODUCT_NAME = mirb; + }; + name = Release; + }; 88BF337C156C992100F12AC7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -503,6 +931,7 @@ MACOSX_DEPLOYMENT_TARGET = 10.7; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; + SYMROOT = "\"$(SRCROOT)/build\""; }; name = Debug; }; @@ -523,6 +952,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; MACOSX_DEPLOYMENT_TARGET = 10.7; SDKROOT = macosx; + SYMROOT = "\"$(SRCROOT)/build\""; }; name = Release; }; @@ -547,29 +977,49 @@ }; name = Release; }; - 88BF35AD156CA3ED00F12AC7 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../lib\""; - PRODUCT_NAME = "$(TARGET_NAME)"; - USER_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; - }; - name = Debug; - }; - 88BF35AE156CA3ED00F12AC7 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../lib\""; - PRODUCT_NAME = "$(TARGET_NAME)"; - USER_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 88760A92157590F000113BFB /* Build configuration list for PBXNativeTarget "mrbc" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 88760A93157590F000113BFB /* Debug */, + 88760A94157590F000113BFB /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 88760AA315759B4F00113BFB /* Build configuration list for PBXNativeTarget "ruby_lib" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 88760AA415759B4F00113BFB /* Debug */, + 88760AA515759B4F00113BFB /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 88760AE615759EFE00113BFB /* Build configuration list for PBXNativeTarget "mruby_core" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 88760AE715759EFE00113BFB /* Debug */, + 88760AE815759EFE00113BFB /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 88760B2B15769E6100113BFB /* Build configuration list for PBXNativeTarget "mruby" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 88760B2C15769E6100113BFB /* Debug */, + 88760B2D15769E6100113BFB /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 88760B3915769F3000113BFB /* Build configuration list for PBXNativeTarget "mirb" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 88760B3A15769F3000113BFB /* Debug */, + 88760B3B15769F3000113BFB /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; 88BF3374156C992100F12AC7 /* Build configuration list for PBXProject "mruby" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -588,15 +1038,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 88BF35AC156CA3ED00F12AC7 /* Build configuration list for PBXNativeTarget "HelloMRuby" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 88BF35AD156CA3ED00F12AC7 /* Debug */, - 88BF35AE156CA3ED00F12AC7 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ }; rootObject = 88BF3371156C992100F12AC7 /* Project object */; -- cgit v1.2.3 From ba3d7c98340206d3000bbfa29360cd3f0209750a Mon Sep 17 00:00:00 2001 From: Paolo Bosetti Date: Wed, 30 May 2012 11:44:59 -0700 Subject: Edit in Xcode/.gitignore --- xcode/.gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xcode/.gitignore b/xcode/.gitignore index 4f405ccc6..6c2e56967 100644 --- a/xcode/.gitignore +++ b/xcode/.gitignore @@ -1 +1,3 @@ -xcuserdata \ No newline at end of file +xcuserdata +build/lib +build/m* \ No newline at end of file -- cgit v1.2.3 From 76fd88dfdb9cbc50b121dde2b363d9ea8e374aa0 Mon Sep 17 00:00:00 2001 From: Paolo Bosetti Date: Wed, 30 May 2012 12:06:56 -0700 Subject: Added Xcode native target to build OSX framework --- xcode/mruby.xcodeproj/project.pbxproj | 275 +++++++++++++++++++++++++++++- xcode/mruby_fw/en.lproj/InfoPlist.strings | 2 + xcode/mruby_fw/mruby_fw-Info.plist | 30 ++++ xcode/mruby_fw/mruby_fw-Prefix.pch | 7 + 4 files changed, 310 insertions(+), 4 deletions(-) create mode 100644 xcode/mruby_fw/en.lproj/InfoPlist.strings create mode 100644 xcode/mruby_fw/mruby_fw-Info.plist create mode 100644 xcode/mruby_fw/mruby_fw-Prefix.pch diff --git a/xcode/mruby.xcodeproj/project.pbxproj b/xcode/mruby.xcodeproj/project.pbxproj index c03a74766..96178516b 100644 --- a/xcode/mruby.xcodeproj/project.pbxproj +++ b/xcode/mruby.xcodeproj/project.pbxproj @@ -60,6 +60,27 @@ 88760B3115769E9400113BFB /* libmruby.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88760B1F15769E2D00113BFB /* libmruby.a */; }; 88760B3815769F3000113BFB /* libmruby.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88760B1F15769E2D00113BFB /* libmruby.a */; }; 88760B3E15769F5000113BFB /* mirb.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34C0156C997100F12AC7 /* mirb.c */; }; + 88760B811576A33100113BFB /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 88760B7F1576A33100113BFB /* InfoPlist.strings */; }; + 88760B8C1576A37600113BFB /* mrbconf.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3558156C99B200F12AC7 /* mrbconf.h */; }; + 88760B8D1576A37600113BFB /* array.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF355A156C99B200F12AC7 /* array.h */; }; + 88760B8E1576A37600113BFB /* cdump.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF355B156C99B200F12AC7 /* cdump.h */; }; + 88760B8F1576A37600113BFB /* class.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF355C156C99B200F12AC7 /* class.h */; }; + 88760B901576A37600113BFB /* compile.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF355D156C99B200F12AC7 /* compile.h */; }; + 88760B911576A37600113BFB /* data.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF355E156C99B200F12AC7 /* data.h */; }; + 88760B921576A37600113BFB /* dump.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF355F156C99B200F12AC7 /* dump.h */; }; + 88760B931576A37600113BFB /* hash.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3560156C99B200F12AC7 /* hash.h */; }; + 88760B941576A37600113BFB /* irep.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3561156C99B200F12AC7 /* irep.h */; }; + 88760B951576A37600113BFB /* khash.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3562156C99B200F12AC7 /* khash.h */; }; + 88760B961576A37600113BFB /* numeric.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3563156C99B200F12AC7 /* numeric.h */; }; + 88760B971576A37600113BFB /* object.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3564156C99B200F12AC7 /* object.h */; }; + 88760B981576A37600113BFB /* proc.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3565156C99B200F12AC7 /* proc.h */; }; + 88760B991576A37600113BFB /* range.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3566156C99B200F12AC7 /* range.h */; }; + 88760B9A1576A37600113BFB /* string.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3567156C99B200F12AC7 /* string.h */; }; + 88760B9B1576A37600113BFB /* struct.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3568156C99B200F12AC7 /* struct.h */; }; + 88760B9C1576A37600113BFB /* variable.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF3569156C99B200F12AC7 /* variable.h */; }; + 88760B9D1576A37600113BFB /* mruby.h in Headers */ = {isa = PBXBuildFile; fileRef = 88BF356A156C99B200F12AC7 /* mruby.h */; }; + 88760B9F1576A4A200113BFB /* mrblib.c in Sources */ = {isa = PBXBuildFile; fileRef = 88760B1C15769CEE00113BFB /* mrblib.c */; }; + 88760BA01576A4A700113BFB /* libmruby_core.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88760B1715769BE400113BFB /* libmruby_core.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -91,18 +112,30 @@ remoteGlobalIDString = 88760AA115759B4F00113BFB; remoteInfo = ruby_lib; }; + 88760B891576A35C00113BFB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 88BF3371156C992100F12AC7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 88760AA115759B4F00113BFB; + remoteInfo = ruby_lib; + }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 88760A8B157590F000113BFB /* mrbc */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; name = mrbc; path = /Users/p4010/Projects/mruby/xcode/build/Release/mrbc; sourceTree = ""; }; 88760A9D1575991600113BFB /* mrbc */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mrbc; path = build/mrbc; sourceTree = ""; }; - 88760AA215759B4F00113BFB /* libmruby.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libmruby.a; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/libmruby.a"; sourceTree = ""; }; 88760AE515759EFE00113BFB /* libmruby_core.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libmruby_core.a; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/libmruby_core.a"; sourceTree = ""; }; 88760B1715769BE400113BFB /* libmruby_core.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; name = libmruby_core.a; path = build/lib/libmruby_core.a; sourceTree = ""; }; 88760B1C15769CEE00113BFB /* mrblib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mrblib.c; sourceTree = ""; }; 88760B1F15769E2D00113BFB /* libmruby.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; name = libmruby.a; path = build/lib/libmruby.a; sourceTree = ""; }; 88760B2415769E6100113BFB /* mruby */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = mruby; sourceTree = BUILT_PRODUCTS_DIR; }; 88760B3C15769F3000113BFB /* mirb */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = mirb; sourceTree = BUILT_PRODUCTS_DIR; }; + 88760B7E1576A33100113BFB /* mruby_fw-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "mruby_fw-Info.plist"; sourceTree = ""; }; + 88760B801576A33100113BFB /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 88760B821576A33100113BFB /* mruby_fw-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "mruby_fw-Prefix.pch"; sourceTree = ""; }; + 88760BA11576A53C00113BFB /* mruby.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = mruby.framework; path = build/mruby.framework; sourceTree = ""; }; + 88760BA21576A5BC00113BFB /* mrbc */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; name = mrbc; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/mrbc"; sourceTree = ""; }; + 88760BA41576A5D600113BFB /* libmruby.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libmruby.a; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/libmruby.a"; sourceTree = ""; }; + 88760BA51576A5EB00113BFB /* mruby.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = mruby.framework; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/mruby.framework"; sourceTree = ""; }; 88BF34C0156C997100F12AC7 /* mirb.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mirb.c; sourceTree = ""; }; 88BF34C4156C997100F12AC7 /* mrbc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mrbc.c; sourceTree = ""; }; 88BF34C8156C997100F12AC7 /* mruby.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mruby.c; sourceTree = ""; }; @@ -241,6 +274,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 88760B701576A33100113BFB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760BA01576A4A700113BFB /* libmruby_core.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -256,6 +297,24 @@ name = Products; sourceTree = ""; }; + 88760B7C1576A33100113BFB /* mruby_fw */ = { + isa = PBXGroup; + children = ( + 88760B7D1576A33100113BFB /* Supporting Files */, + ); + path = mruby_fw; + sourceTree = ""; + }; + 88760B7D1576A33100113BFB /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 88760B7E1576A33100113BFB /* mruby_fw-Info.plist */, + 88760B7F1576A33100113BFB /* InfoPlist.strings */, + 88760B821576A33100113BFB /* mruby_fw-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; 88BF336F156C992100F12AC7 = { isa = PBXGroup; children = ( @@ -263,7 +322,9 @@ 88BF3557156C99B200F12AC7 /* include */, 88BF34D3156C998200F12AC7 /* src */, 88BF34BB156C997100F12AC7 /* tools */, + 88760B7C1576A33100113BFB /* mruby_fw */, 88760B3F1576A01C00113BFB /* Products */, + 88760BA11576A53C00113BFB /* mruby.framework */, ); sourceTree = ""; }; @@ -453,6 +514,31 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 88760B711576A33100113BFB /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760B8C1576A37600113BFB /* mrbconf.h in Headers */, + 88760B8D1576A37600113BFB /* array.h in Headers */, + 88760B8E1576A37600113BFB /* cdump.h in Headers */, + 88760B8F1576A37600113BFB /* class.h in Headers */, + 88760B901576A37600113BFB /* compile.h in Headers */, + 88760B911576A37600113BFB /* data.h in Headers */, + 88760B921576A37600113BFB /* dump.h in Headers */, + 88760B931576A37600113BFB /* hash.h in Headers */, + 88760B941576A37600113BFB /* irep.h in Headers */, + 88760B951576A37600113BFB /* khash.h in Headers */, + 88760B961576A37600113BFB /* numeric.h in Headers */, + 88760B971576A37600113BFB /* object.h in Headers */, + 88760B981576A37600113BFB /* proc.h in Headers */, + 88760B991576A37600113BFB /* range.h in Headers */, + 88760B9A1576A37600113BFB /* string.h in Headers */, + 88760B9B1576A37600113BFB /* struct.h in Headers */, + 88760B9C1576A37600113BFB /* variable.h in Headers */, + 88760B9D1576A37600113BFB /* mruby.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXHeadersBuildPhase section */ /* Begin PBXLegacyTarget section */ @@ -487,7 +573,7 @@ ); name = mrbc; productName = mrbc; - productReference = 88760A8B157590F000113BFB /* mrbc */; + productReference = 88760BA21576A5BC00113BFB /* mrbc */; productType = "com.apple.product-type.tool"; }; 88760AA115759B4F00113BFB /* ruby_lib */ = { @@ -506,7 +592,7 @@ ); name = ruby_lib; productName = ruby_lib; - productReference = 88760AA215759B4F00113BFB /* libmruby.a */; + productReference = 88760BA41576A5D600113BFB /* libmruby.a */; productType = "com.apple.product-type.library.static"; }; 88760AE415759EFE00113BFB /* mruby_core */ = { @@ -561,6 +647,26 @@ productReference = 88760B3C15769F3000113BFB /* mirb */; productType = "com.apple.product-type.tool"; }; + 88760B731576A33100113BFB /* mruby_fw */ = { + isa = PBXNativeTarget; + buildConfigurationList = 88760B861576A33100113BFB /* Build configuration list for PBXNativeTarget "mruby_fw" */; + buildPhases = ( + 88760B9E1576A47F00113BFB /* ShellScript */, + 88760B6F1576A33100113BFB /* Sources */, + 88760B701576A33100113BFB /* Frameworks */, + 88760B711576A33100113BFB /* Headers */, + 88760B721576A33100113BFB /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 88760B8A1576A35C00113BFB /* PBXTargetDependency */, + ); + name = mruby_fw; + productName = mruby_fw; + productReference = 88760BA51576A5EB00113BFB /* mruby.framework */; + productType = "com.apple.product-type.framework"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -587,10 +693,22 @@ 88760AA115759B4F00113BFB /* ruby_lib */, 88760B2315769E6100113BFB /* mruby */, 88760B3215769F3000113BFB /* mirb */, + 88760B731576A33100113BFB /* mruby_fw */, ); }; /* End PBXProject section */ +/* Begin PBXResourcesBuildPhase section */ + 88760B721576A33100113BFB /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760B811576A33100113BFB /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + /* Begin PBXShellScriptBuildPhase section */ 88760AE015759C3600113BFB /* ShellScript */ = { isa = PBXShellScriptBuildPhase; @@ -618,6 +736,19 @@ shellPath = /bin/sh; shellScript = "bison -o ../src/y.tab.c ../src/parse.y"; }; + 88760B9E1576A47F00113BFB /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "cd ../mrblib\ncat ./*.rb > mrblib.rbtmp\n../Xcode/build/mrbc -Bmrblib_irep -omrblib.ctmp mrblib.rbtmp\ncat init_mrblib.c mrblib.ctmp > mrblib.c"; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -705,6 +836,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 88760B6F1576A33100113BFB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 88760B9F1576A4A200113BFB /* mrblib.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -728,14 +867,37 @@ target = 88760AA115759B4F00113BFB /* ruby_lib */; targetProxy = 88760B3415769F3000113BFB /* PBXContainerItemProxy */; }; + 88760B8A1576A35C00113BFB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 88760AA115759B4F00113BFB /* ruby_lib */; + targetProxy = 88760B891576A35C00113BFB /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ +/* Begin PBXVariantGroup section */ + 88760B7F1576A33100113BFB /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 88760B801576A33100113BFB /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + /* Begin XCBuildConfiguration section */ 88760A93157590F000113BFB /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; DSTROOT = "$(SRCROOT)/build"; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + "$(inherited)", + ); HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; LIBRARY_SEARCH_PATHS = ( @@ -751,6 +913,11 @@ buildSettings = { DEPLOYMENT_LOCATION = YES; DSTROOT = "$(SRCROOT)/build"; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + ); HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; LIBRARY_SEARCH_PATHS = ( @@ -767,6 +934,13 @@ DEPLOYMENT_LOCATION = YES; DSTROOT = "$(SRCROOT)/build"; EXECUTABLE_PREFIX = lib; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + "$(inherited)", + ); HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /lib; LIBRARY_SEARCH_PATHS = ( @@ -783,6 +957,11 @@ DEPLOYMENT_LOCATION = YES; DSTROOT = "$(SRCROOT)/build"; EXECUTABLE_PREFIX = lib; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + ); HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /lib; LIBRARY_SEARCH_PATHS = ( @@ -852,6 +1031,13 @@ buildSettings = { DEPLOYMENT_LOCATION = YES; DSTROOT = "$(SRCROOT)/build"; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + "$(inherited)", + ); HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; LIBRARY_SEARCH_PATHS = ( @@ -867,6 +1053,11 @@ buildSettings = { DEPLOYMENT_LOCATION = YES; DSTROOT = "$(SRCROOT)/build"; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + ); HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; LIBRARY_SEARCH_PATHS = ( @@ -882,6 +1073,13 @@ buildSettings = { DEPLOYMENT_LOCATION = YES; DSTROOT = "$(SRCROOT)/build"; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + "$(inherited)", + ); HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; LIBRARY_SEARCH_PATHS = ( @@ -897,6 +1095,11 @@ buildSettings = { DEPLOYMENT_LOCATION = YES; DSTROOT = "$(SRCROOT)/build"; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + ); HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; LIBRARY_SEARCH_PATHS = ( @@ -907,6 +1110,62 @@ }; name = Release; }; + 88760B871576A33100113BFB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "mruby_fw/mruby_fw-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + "$(inherited)", + ); + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + INFOPLIST_FILE = "mruby_fw/mruby_fw-Info.plist"; + INSTALL_PATH = /; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + PRODUCT_NAME = mruby; + WRAPPER_EXTENSION = framework; + }; + name = Debug; + }; + 88760B881576A33100113BFB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "mruby_fw/mruby_fw-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_STRING_H, + HAVE_FLOAT_H, + ); + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + INFOPLIST_FILE = "mruby_fw/mruby_fw-Info.plist"; + INSTALL_PATH = /; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/lib\"", + ); + PRODUCT_NAME = mruby; + WRAPPER_EXTENSION = framework; + }; + name = Release; + }; 88BF337C156C992100F12AC7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1020,6 +1279,14 @@ ); defaultConfigurationIsVisible = 0; }; + 88760B861576A33100113BFB /* Build configuration list for PBXNativeTarget "mruby_fw" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 88760B871576A33100113BFB /* Debug */, + 88760B881576A33100113BFB /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; 88BF3374156C992100F12AC7 /* Build configuration list for PBXProject "mruby" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/xcode/mruby_fw/en.lproj/InfoPlist.strings b/xcode/mruby_fw/en.lproj/InfoPlist.strings new file mode 100644 index 000000000..477b28ff8 --- /dev/null +++ b/xcode/mruby_fw/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/xcode/mruby_fw/mruby_fw-Info.plist b/xcode/mruby_fw/mruby_fw-Info.plist new file mode 100644 index 000000000..6721d7109 --- /dev/null +++ b/xcode/mruby_fw/mruby_fw-Info.plist @@ -0,0 +1,30 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.github.mruby.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + NSHumanReadableCopyright + Copyright © 2012 mruby Authors. All rights reserved. + NSPrincipalClass + + + diff --git a/xcode/mruby_fw/mruby_fw-Prefix.pch b/xcode/mruby_fw/mruby_fw-Prefix.pch new file mode 100644 index 000000000..8be6acecb --- /dev/null +++ b/xcode/mruby_fw/mruby_fw-Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'mruby_fw' target in the 'mruby_fw' project +// + +#ifdef __OBJC__ + #import +#endif -- cgit v1.2.3 From eb9c3c0c28ef6ee77011f7a9faf8463c1c6cea1d Mon Sep 17 00:00:00 2001 From: Paolo Bosetti Date: Wed, 30 May 2012 17:49:29 -0700 Subject: Rearranged settings of native target in a more modular way. --- xcode/mruby.xcodeproj/project.pbxproj | 202 ++++++++++------------------------ 1 file changed, 56 insertions(+), 146 deletions(-) diff --git a/xcode/mruby.xcodeproj/project.pbxproj b/xcode/mruby.xcodeproj/project.pbxproj index 96178516b..20c295b1f 100644 --- a/xcode/mruby.xcodeproj/project.pbxproj +++ b/xcode/mruby.xcodeproj/project.pbxproj @@ -122,8 +122,11 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 8844353B1576F1A3007F95A4 /* libmruby_core.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libmruby_core.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 8844353C1576F1A3007F95A4 /* mrbc */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = mrbc; sourceTree = BUILT_PRODUCTS_DIR; }; + 8844353E1576F1A3007F95A4 /* libmruby.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libmruby.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 8844353F1576F1A3007F95A4 /* mruby.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = mruby.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 88760A9D1575991600113BFB /* mrbc */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mrbc; path = build/mrbc; sourceTree = ""; }; - 88760AE515759EFE00113BFB /* libmruby_core.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libmruby_core.a; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/libmruby_core.a"; sourceTree = ""; }; 88760B1715769BE400113BFB /* libmruby_core.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; name = libmruby_core.a; path = build/lib/libmruby_core.a; sourceTree = ""; }; 88760B1C15769CEE00113BFB /* mrblib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mrblib.c; sourceTree = ""; }; 88760B1F15769E2D00113BFB /* libmruby.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; name = libmruby.a; path = build/lib/libmruby.a; sourceTree = ""; }; @@ -132,10 +135,6 @@ 88760B7E1576A33100113BFB /* mruby_fw-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "mruby_fw-Info.plist"; sourceTree = ""; }; 88760B801576A33100113BFB /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 88760B821576A33100113BFB /* mruby_fw-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "mruby_fw-Prefix.pch"; sourceTree = ""; }; - 88760BA11576A53C00113BFB /* mruby.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = mruby.framework; path = build/mruby.framework; sourceTree = ""; }; - 88760BA21576A5BC00113BFB /* mrbc */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; name = mrbc; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/mrbc"; sourceTree = ""; }; - 88760BA41576A5D600113BFB /* libmruby.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libmruby.a; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/libmruby.a"; sourceTree = ""; }; - 88760BA51576A5EB00113BFB /* mruby.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = mruby.framework; path = "/Users/p4010/Projects/mruby/xcode/\"/Users/p4010/Projects/mruby/xcode/build\"/Release/mruby.framework"; sourceTree = ""; }; 88BF34C0156C997100F12AC7 /* mirb.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mirb.c; sourceTree = ""; }; 88BF34C4156C997100F12AC7 /* mrbc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mrbc.c; sourceTree = ""; }; 88BF34C8156C997100F12AC7 /* mruby.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mruby.c; sourceTree = ""; }; @@ -324,7 +323,10 @@ 88BF34BB156C997100F12AC7 /* tools */, 88760B7C1576A33100113BFB /* mruby_fw */, 88760B3F1576A01C00113BFB /* Products */, - 88760BA11576A53C00113BFB /* mruby.framework */, + 8844353B1576F1A3007F95A4 /* libmruby_core.a */, + 8844353C1576F1A3007F95A4 /* mrbc */, + 8844353E1576F1A3007F95A4 /* libmruby.a */, + 8844353F1576F1A3007F95A4 /* mruby.framework */, ); sourceTree = ""; }; @@ -573,7 +575,7 @@ ); name = mrbc; productName = mrbc; - productReference = 88760BA21576A5BC00113BFB /* mrbc */; + productReference = 8844353C1576F1A3007F95A4 /* mrbc */; productType = "com.apple.product-type.tool"; }; 88760AA115759B4F00113BFB /* ruby_lib */ = { @@ -592,7 +594,7 @@ ); name = ruby_lib; productName = ruby_lib; - productReference = 88760BA41576A5D600113BFB /* libmruby.a */; + productReference = 8844353E1576F1A3007F95A4 /* libmruby.a */; productType = "com.apple.product-type.library.static"; }; 88760AE415759EFE00113BFB /* mruby_core */ = { @@ -610,7 +612,7 @@ ); name = mruby_core; productName = test; - productReference = 88760AE515759EFE00113BFB /* libmruby_core.a */; + productReference = 8844353B1576F1A3007F95A4 /* libmruby_core.a */; productType = "com.apple.product-type.library.static"; }; 88760B2315769E6100113BFB /* mruby */ = { @@ -664,7 +666,7 @@ ); name = mruby_fw; productName = mruby_fw; - productReference = 88760BA51576A5EB00113BFB /* mruby.framework */; + productReference = 8844353F1576F1A3007F95A4 /* mruby.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ @@ -890,20 +892,7 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; - GCC_C_LANGUAGE_STANDARD = "compiler-default"; - GCC_OPTIMIZATION_LEVEL = 3; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, - "$(inherited)", - ); - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/build/lib\"", - ); PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -912,18 +901,7 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; - GCC_C_LANGUAGE_STANDARD = "compiler-default"; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, - ); - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/build/lib\"", - ); PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; @@ -932,21 +910,13 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; EXECUTABLE_PREFIX = lib; GCC_C_LANGUAGE_STANDARD = "compiler-default"; - GCC_OPTIMIZATION_LEVEL = 3; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, + HEADER_SEARCH_PATHS = ( "$(inherited)", + "\"$(SRCROOT)/../src\"", ); - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /lib; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/build/lib\"", - ); PRODUCT_NAME = mruby; }; name = Debug; @@ -955,19 +925,13 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; EXECUTABLE_PREFIX = lib; GCC_C_LANGUAGE_STANDARD = "compiler-default"; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, - ); - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; - INSTALL_PATH = /lib; - LIBRARY_SEARCH_PATHS = ( + HEADER_SEARCH_PATHS = ( "$(inherited)", - "\"$(SRCROOT)/build/lib\"", + "\"$(SRCROOT)/../src\"", ); + INSTALL_PATH = /lib; PRODUCT_NAME = mruby; }; name = Release; @@ -976,27 +940,17 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; EXECUTABLE_PREFIX = lib; GCC_C_LANGUAGE_STANDARD = "compiler-default"; GCC_OPTIMIZATION_LEVEL = 3; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, - "$(inherited)", - ); HEADER_SEARCH_PATHS = ( - "\"$(SRCROOT)/../include\"", + "$(inherited)", "\"$(SRCROOT)/../src\"", ); INSTALL_PATH = /lib; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/build/lib\"", - ); LIBRARY_STYLE = STATIC; PRODUCT_NAME = "$(TARGET_NAME)"; - USE_HEADERMAP = NO; + USE_HEADERMAP = "$(inherited)"; }; name = Debug; }; @@ -1004,25 +958,16 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; EXECUTABLE_PREFIX = lib; GCC_C_LANGUAGE_STANDARD = "compiler-default"; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, - ); HEADER_SEARCH_PATHS = ( - "\"$(SRCROOT)/../include\"", + "$(inherited)", "\"$(SRCROOT)/../src\"", ); INSTALL_PATH = /lib; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/build/lib\"", - ); LIBRARY_STYLE = STATIC; PRODUCT_NAME = "$(TARGET_NAME)"; - USE_HEADERMAP = NO; + USE_HEADERMAP = "$(inherited)"; }; name = Release; }; @@ -1030,20 +975,12 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; GCC_C_LANGUAGE_STANDARD = "compiler-default"; - GCC_OPTIMIZATION_LEVEL = 3; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, + HEADER_SEARCH_PATHS = ( "$(inherited)", + "\"$(SRCROOT)/../src\"", ); - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/build/lib\"", - ); PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -1052,18 +989,12 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; GCC_C_LANGUAGE_STANDARD = "compiler-default"; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, - ); - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; - INSTALL_PATH = /; - LIBRARY_SEARCH_PATHS = ( + HEADER_SEARCH_PATHS = ( "$(inherited)", - "\"$(SRCROOT)/build/lib\"", + "\"$(SRCROOT)/../src\"", ); + INSTALL_PATH = /; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; @@ -1072,20 +1003,8 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; GCC_C_LANGUAGE_STANDARD = "compiler-default"; - GCC_OPTIMIZATION_LEVEL = 3; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, - "$(inherited)", - ); - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/build/lib\"", - ); PRODUCT_NAME = mirb; }; name = Debug; @@ -1094,18 +1013,8 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; GCC_C_LANGUAGE_STANDARD = "compiler-default"; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, - ); - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INSTALL_PATH = /; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/build/lib\"", - ); PRODUCT_NAME = mirb; }; name = Release; @@ -1114,26 +1023,18 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; FRAMEWORK_VERSION = A; GCC_C_LANGUAGE_STANDARD = "compiler-default"; - GCC_OPTIMIZATION_LEVEL = 3; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "mruby_fw/mruby_fw-Prefix.pch"; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, + HEADER_SEARCH_PATHS = ( "$(inherited)", + "\"$(SRCROOT)/../src\"", ); - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INFOPLIST_FILE = "mruby_fw/mruby_fw-Info.plist"; INSTALL_PATH = /; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/build/lib\"", - ); PRODUCT_NAME = mruby; WRAPPER_EXTENSION = framework; }; @@ -1143,24 +1044,18 @@ isa = XCBuildConfiguration; buildSettings = { DEPLOYMENT_LOCATION = YES; - DSTROOT = "$(SRCROOT)/build"; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; FRAMEWORK_VERSION = A; GCC_C_LANGUAGE_STANDARD = "compiler-default"; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "mruby_fw/mruby_fw-Prefix.pch"; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_STRING_H, - HAVE_FLOAT_H, + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/../src\"", ); - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; INFOPLIST_FILE = "mruby_fw/mruby_fw-Info.plist"; INSTALL_PATH = /; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/build/lib\"", - ); PRODUCT_NAME = mruby; WRAPPER_EXTENSION = framework; }; @@ -1169,49 +1064,58 @@ 88BF337C156C992100F12AC7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_ARC = YES; COPY_PHASE_STRIP = NO; + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_OPTIMIZATION_LEVEL = 0; + GCC_OPTIMIZATION_LEVEL = 3; GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_FLOAT_H, + HAVE_STRING_H, "DEBUG=1", "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../lib\""; MACOSX_DEPLOYMENT_TARGET = 10.7; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; - SYMROOT = "\"$(SRCROOT)/build\""; + USE_HEADERMAP = NO; }; name = Debug; }; 88BF337D156C992100F12AC7 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = "$(ARCHS_STANDARD_64_BIT)"; - CLANG_ENABLE_OBJC_ARC = YES; COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEPLOYMENT_LOCATION = YES; + DSTROOT = "$(SRCROOT)/build"; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_FLOAT_H, + HAVE_STRING_H, + "DEBUG=1", + "$(inherited)", + ); GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../include\""; + LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../lib\""; MACOSX_DEPLOYMENT_TARGET = 10.7; SDKROOT = macosx; - SYMROOT = "\"$(SRCROOT)/build\""; + USE_HEADERMAP = NO; }; name = Release; }; @@ -1246,6 +1150,7 @@ 88760A94157590F000113BFB /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; 88760AA315759B4F00113BFB /* Build configuration list for PBXNativeTarget "ruby_lib" */ = { isa = XCConfigurationList; @@ -1254,6 +1159,7 @@ 88760AA515759B4F00113BFB /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; 88760AE615759EFE00113BFB /* Build configuration list for PBXNativeTarget "mruby_core" */ = { isa = XCConfigurationList; @@ -1262,6 +1168,7 @@ 88760AE815759EFE00113BFB /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; 88760B2B15769E6100113BFB /* Build configuration list for PBXNativeTarget "mruby" */ = { isa = XCConfigurationList; @@ -1270,6 +1177,7 @@ 88760B2D15769E6100113BFB /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; 88760B3915769F3000113BFB /* Build configuration list for PBXNativeTarget "mirb" */ = { isa = XCConfigurationList; @@ -1278,6 +1186,7 @@ 88760B3B15769F3000113BFB /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; 88760B861576A33100113BFB /* Build configuration list for PBXNativeTarget "mruby_fw" */ = { isa = XCConfigurationList; @@ -1286,6 +1195,7 @@ 88760B881576A33100113BFB /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; 88BF3374156C992100F12AC7 /* Build configuration list for PBXProject "mruby" */ = { isa = XCConfigurationList; -- cgit v1.2.3 From 1da34f46f4ff4ddff8f5c525aab13fdfd7eb4a99 Mon Sep 17 00:00:00 2001 From: Paolo Bosetti Date: Wed, 30 May 2012 22:03:30 -0700 Subject: [Xcode] Added native target for mrbtest suite --- xcode/mruby.xcodeproj/project.pbxproj | 198 ++++++++++++++++++++++++++++++++++ 1 file changed, 198 insertions(+) diff --git a/xcode/mruby.xcodeproj/project.pbxproj b/xcode/mruby.xcodeproj/project.pbxproj index 20c295b1f..42d2eb87c 100644 --- a/xcode/mruby.xcodeproj/project.pbxproj +++ b/xcode/mruby.xcodeproj/project.pbxproj @@ -7,6 +7,9 @@ objects = { /* Begin PBXBuildFile section */ + 8844359B157730E1007F95A4 /* mrbtest.c in Sources */ = {isa = PBXBuildFile; fileRef = 8844359A157730DB007F95A4 /* mrbtest.c */; }; + 8844359C15773120007F95A4 /* libmruby.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8844353E1576F1A3007F95A4 /* libmruby.a */; }; + 8844359F15773215007F95A4 /* driver.c in Sources */ = {isa = PBXBuildFile; fileRef = 8844356415772EF0007F95A4 /* driver.c */; }; 88760A97157591E100113BFB /* mrbc.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34C4156C997100F12AC7 /* mrbc.c */; }; 88760AEA15759F9700113BFB /* y.tab.c in Sources */ = {isa = PBXBuildFile; fileRef = 88EDC30215757CB40098CF0D /* y.tab.c */; }; 88760AEB15759F9700113BFB /* array.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D4156C998200F12AC7 /* array.c */; }; @@ -84,6 +87,13 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 8844359D15773126007F95A4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 88BF3371156C992100F12AC7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 88760AA115759B4F00113BFB; + remoteInfo = ruby_lib; + }; 88760ADE15759C1C00113BFB /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 88BF3371156C992100F12AC7 /* Project object */; @@ -126,6 +136,45 @@ 8844353C1576F1A3007F95A4 /* mrbc */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = mrbc; sourceTree = BUILT_PRODUCTS_DIR; }; 8844353E1576F1A3007F95A4 /* libmruby.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libmruby.a; sourceTree = BUILT_PRODUCTS_DIR; }; 8844353F1576F1A3007F95A4 /* mruby.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = mruby.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 8844356215772EF0007F95A4 /* assert.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = assert.rb; sourceTree = ""; }; + 8844356415772EF0007F95A4 /* driver.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = driver.c; sourceTree = ""; }; + 8844356515772EF0007F95A4 /* init_mrbtest.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = init_mrbtest.c; sourceTree = ""; }; + 8844356815772EF0007F95A4 /* argumenterror.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = argumenterror.rb; sourceTree = ""; }; + 8844356915772EF0007F95A4 /* array.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = array.rb; sourceTree = ""; }; + 8844356A15772EF0007F95A4 /* bs_block.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = bs_block.rb; sourceTree = ""; }; + 8844356B15772EF0007F95A4 /* bs_literal.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = bs_literal.rb; sourceTree = ""; }; + 8844356C15772EF0007F95A4 /* class.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = class.rb; sourceTree = ""; }; + 8844356D15772EF0007F95A4 /* enumerable.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = enumerable.rb; sourceTree = ""; }; + 8844356E15772EF0007F95A4 /* exception.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = exception.rb; sourceTree = ""; }; + 8844356F15772EF0007F95A4 /* false.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = false.rb; sourceTree = ""; }; + 8844357015772EF0007F95A4 /* float.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = float.rb; sourceTree = ""; }; + 8844357115772EF0007F95A4 /* hash.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = hash.rb; sourceTree = ""; }; + 8844357215772EF0007F95A4 /* indexerror.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = indexerror.rb; sourceTree = ""; }; + 8844357315772EF0007F95A4 /* integer.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = integer.rb; sourceTree = ""; }; + 8844357415772EF0007F95A4 /* kernel.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = kernel.rb; sourceTree = ""; }; + 8844357515772EF0007F95A4 /* literals.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = literals.rb; sourceTree = ""; }; + 8844357615772EF0007F95A4 /* localjumperror.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = localjumperror.rb; sourceTree = ""; }; + 8844357715772EF0007F95A4 /* math.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = math.rb; sourceTree = ""; }; + 8844357815772EF0007F95A4 /* module.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = module.rb; sourceTree = ""; }; + 8844357915772EF0007F95A4 /* nameerror.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = nameerror.rb; sourceTree = ""; }; + 8844357A15772EF0007F95A4 /* nil.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = nil.rb; sourceTree = ""; }; + 8844357B15772EF0007F95A4 /* nomethoderror.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = nomethoderror.rb; sourceTree = ""; }; + 8844357C15772EF0007F95A4 /* numeric.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = numeric.rb; sourceTree = ""; }; + 8844357D15772EF0007F95A4 /* object.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = object.rb; sourceTree = ""; }; + 8844357E15772EF0007F95A4 /* proc.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = proc.rb; sourceTree = ""; }; + 8844357F15772EF0007F95A4 /* range.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = range.rb; sourceTree = ""; }; + 8844358015772EF0007F95A4 /* rangeerror.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = rangeerror.rb; sourceTree = ""; }; + 8844358115772EF0007F95A4 /* regexperror.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = regexperror.rb; sourceTree = ""; }; + 8844358215772EF0007F95A4 /* runtimeerror.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = runtimeerror.rb; sourceTree = ""; }; + 8844358315772EF0007F95A4 /* standarderror.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = standarderror.rb; sourceTree = ""; }; + 8844358415772EF0007F95A4 /* string.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = string.rb; sourceTree = ""; }; + 8844358515772EF0007F95A4 /* struct.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = struct.rb; sourceTree = ""; }; + 8844358615772EF0007F95A4 /* symbol.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = symbol.rb; sourceTree = ""; }; + 8844358715772EF0007F95A4 /* time.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = time.rb; sourceTree = ""; }; + 8844358815772EF0007F95A4 /* true.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = true.rb; sourceTree = ""; }; + 8844358915772EF0007F95A4 /* typeerror.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = typeerror.rb; sourceTree = ""; }; + 8844358F1577301B007F95A4 /* mrbtest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = mrbtest; sourceTree = BUILT_PRODUCTS_DIR; }; + 8844359A157730DB007F95A4 /* mrbtest.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = mrbtest.c; sourceTree = ""; }; 88760A9D1575991600113BFB /* mrbc */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mrbc; path = build/mrbc; sourceTree = ""; }; 88760B1715769BE400113BFB /* libmruby_core.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; name = libmruby_core.a; path = build/lib/libmruby_core.a; sourceTree = ""; }; 88760B1C15769CEE00113BFB /* mrblib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mrblib.c; sourceTree = ""; }; @@ -234,6 +283,14 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 8844358C1577301B007F95A4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8844359C15773120007F95A4 /* libmruby.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 88760A88157590F000113BFB /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -284,6 +341,60 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 8844356115772EF0007F95A4 /* test */ = { + isa = PBXGroup; + children = ( + 8844359A157730DB007F95A4 /* mrbtest.c */, + 8844356215772EF0007F95A4 /* assert.rb */, + 8844356415772EF0007F95A4 /* driver.c */, + 8844356515772EF0007F95A4 /* init_mrbtest.c */, + 8844356715772EF0007F95A4 /* t */, + ); + name = test; + path = ../test; + sourceTree = ""; + }; + 8844356715772EF0007F95A4 /* t */ = { + isa = PBXGroup; + children = ( + 8844356815772EF0007F95A4 /* argumenterror.rb */, + 8844356915772EF0007F95A4 /* array.rb */, + 8844356A15772EF0007F95A4 /* bs_block.rb */, + 8844356B15772EF0007F95A4 /* bs_literal.rb */, + 8844356C15772EF0007F95A4 /* class.rb */, + 8844356D15772EF0007F95A4 /* enumerable.rb */, + 8844356E15772EF0007F95A4 /* exception.rb */, + 8844356F15772EF0007F95A4 /* false.rb */, + 8844357015772EF0007F95A4 /* float.rb */, + 8844357115772EF0007F95A4 /* hash.rb */, + 8844357215772EF0007F95A4 /* indexerror.rb */, + 8844357315772EF0007F95A4 /* integer.rb */, + 8844357415772EF0007F95A4 /* kernel.rb */, + 8844357515772EF0007F95A4 /* literals.rb */, + 8844357615772EF0007F95A4 /* localjumperror.rb */, + 8844357715772EF0007F95A4 /* math.rb */, + 8844357815772EF0007F95A4 /* module.rb */, + 8844357915772EF0007F95A4 /* nameerror.rb */, + 8844357A15772EF0007F95A4 /* nil.rb */, + 8844357B15772EF0007F95A4 /* nomethoderror.rb */, + 8844357C15772EF0007F95A4 /* numeric.rb */, + 8844357D15772EF0007F95A4 /* object.rb */, + 8844357E15772EF0007F95A4 /* proc.rb */, + 8844357F15772EF0007F95A4 /* range.rb */, + 8844358015772EF0007F95A4 /* rangeerror.rb */, + 8844358115772EF0007F95A4 /* regexperror.rb */, + 8844358215772EF0007F95A4 /* runtimeerror.rb */, + 8844358315772EF0007F95A4 /* standarderror.rb */, + 8844358415772EF0007F95A4 /* string.rb */, + 8844358515772EF0007F95A4 /* struct.rb */, + 8844358615772EF0007F95A4 /* symbol.rb */, + 8844358715772EF0007F95A4 /* time.rb */, + 8844358815772EF0007F95A4 /* true.rb */, + 8844358915772EF0007F95A4 /* typeerror.rb */, + ); + path = t; + sourceTree = ""; + }; 88760B3F1576A01C00113BFB /* Products */ = { isa = PBXGroup; children = ( @@ -322,9 +433,11 @@ 88BF34D3156C998200F12AC7 /* src */, 88BF34BB156C997100F12AC7 /* tools */, 88760B7C1576A33100113BFB /* mruby_fw */, + 8844356115772EF0007F95A4 /* test */, 88760B3F1576A01C00113BFB /* Products */, 8844353B1576F1A3007F95A4 /* libmruby_core.a */, 8844353C1576F1A3007F95A4 /* mrbc */, + 8844358F1577301B007F95A4 /* mrbtest */, 8844353E1576F1A3007F95A4 /* libmruby.a */, 8844353F1576F1A3007F95A4 /* mruby.framework */, ); @@ -561,6 +674,24 @@ /* End PBXLegacyTarget section */ /* Begin PBXNativeTarget section */ + 8844358E1577301B007F95A4 /* mrbtest */ = { + isa = PBXNativeTarget; + buildConfigurationList = 884435961577301B007F95A4 /* Build configuration list for PBXNativeTarget "mrbtest" */; + buildPhases = ( + 8844359915773052007F95A4 /* ShellScript */, + 8844358B1577301B007F95A4 /* Sources */, + 8844358C1577301B007F95A4 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 8844359E15773126007F95A4 /* PBXTargetDependency */, + ); + name = mrbtest; + productName = mrbtest; + productReference = 8844358F1577301B007F95A4 /* mrbtest */; + productType = "com.apple.product-type.tool"; + }; 88760A8A157590F000113BFB /* mrbc */ = { isa = PBXNativeTarget; buildConfigurationList = 88760A92157590F000113BFB /* Build configuration list for PBXNativeTarget "mrbc" */; @@ -695,6 +826,7 @@ 88760AA115759B4F00113BFB /* ruby_lib */, 88760B2315769E6100113BFB /* mruby */, 88760B3215769F3000113BFB /* mirb */, + 8844358E1577301B007F95A4 /* mrbtest */, 88760B731576A33100113BFB /* mruby_fw */, ); }; @@ -712,6 +844,19 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 8844359915773052007F95A4 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "cd ../test\ncat ./assert.rb ./t/*.rb > mrbtest.rbtmp\n../Xcode/build/mrbc -Bmrbtest_irep -omrbtest.ctmp mrbtest.rbtmp\ncat init_mrbtest.c mrbtest.ctmp > mrbtest.c"; + }; 88760AE015759C3600113BFB /* ShellScript */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -754,6 +899,15 @@ /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 8844358B1577301B007F95A4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8844359B157730E1007F95A4 /* mrbtest.c in Sources */, + 8844359F15773215007F95A4 /* driver.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 88760A87157590F000113BFB /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -849,6 +1003,11 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 8844359E15773126007F95A4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 88760AA115759B4F00113BFB /* ruby_lib */; + targetProxy = 8844359D15773126007F95A4 /* PBXContainerItemProxy */; + }; 88760ADF15759C1C00113BFB /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 88760A8A157590F000113BFB /* mrbc */; @@ -888,6 +1047,36 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + 884435971577301B007F95A4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/../src\"", + ); + INSTALL_PATH = /; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 884435981577301B007F95A4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/../src\"", + ); + INSTALL_PATH = /; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; 88760A93157590F000113BFB /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1143,6 +1332,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 884435961577301B007F95A4 /* Build configuration list for PBXNativeTarget "mrbtest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 884435971577301B007F95A4 /* Debug */, + 884435981577301B007F95A4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 88760A92157590F000113BFB /* Build configuration list for PBXNativeTarget "mrbc" */ = { isa = XCConfigurationList; buildConfigurations = ( -- cgit v1.2.3 From 8fafbe7e03b089cdbab5334a63f0f01499f394ca Mon Sep 17 00:00:00 2001 From: Paolo Bosetti Date: Thu, 31 May 2012 19:12:19 -0700 Subject: Updated list of source file in project list after removal of encoding.h and related files. --- xcode/mruby.xcodeproj/project.pbxproj | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/xcode/mruby.xcodeproj/project.pbxproj b/xcode/mruby.xcodeproj/project.pbxproj index 42d2eb87c..97247e264 100644 --- a/xcode/mruby.xcodeproj/project.pbxproj +++ b/xcode/mruby.xcodeproj/project.pbxproj @@ -13,14 +13,12 @@ 88760A97157591E100113BFB /* mrbc.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34C4156C997100F12AC7 /* mrbc.c */; }; 88760AEA15759F9700113BFB /* y.tab.c in Sources */ = {isa = PBXBuildFile; fileRef = 88EDC30215757CB40098CF0D /* y.tab.c */; }; 88760AEB15759F9700113BFB /* array.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D4156C998200F12AC7 /* array.c */; }; - 88760AEC15759F9700113BFB /* ascii.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D5156C998200F12AC7 /* ascii.c */; }; 88760AED15759F9700113BFB /* cdump.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D6156C998200F12AC7 /* cdump.c */; }; 88760AEE15759F9700113BFB /* class.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D7156C998200F12AC7 /* class.c */; }; 88760AEF15759F9700113BFB /* codegen.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34D9156C998200F12AC7 /* codegen.c */; }; 88760AF015759F9700113BFB /* compar.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34DA156C998200F12AC7 /* compar.c */; }; 88760AF115759F9700113BFB /* crc.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34DB156C998200F12AC7 /* crc.c */; }; 88760AF215759F9700113BFB /* dump.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34DC156C998200F12AC7 /* dump.c */; }; - 88760AF315759F9700113BFB /* encoding.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34DD156C998200F12AC7 /* encoding.c */; }; 88760AF415759F9700113BFB /* enum.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34DF156C998200F12AC7 /* enum.c */; }; 88760AF515759F9700113BFB /* error.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34E0156C998200F12AC7 /* error.c */; }; 88760AF615759F9700113BFB /* etc.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF34E2156C998200F12AC7 /* etc.c */; }; @@ -50,10 +48,6 @@ 88760B0E15759F9700113BFB /* struct.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF350D156C998200F12AC7 /* struct.c */; }; 88760B0F15759F9700113BFB /* symbol.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF350E156C998200F12AC7 /* symbol.c */; }; 88760B1015759F9700113BFB /* time.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF350F156C998200F12AC7 /* time.c */; }; - 88760B1115759F9700113BFB /* transcode.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3510156C998200F12AC7 /* transcode.c */; }; - 88760B1215759F9700113BFB /* unicode.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3512156C998200F12AC7 /* unicode.c */; }; - 88760B1315759F9700113BFB /* us_ascii.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3513156C998200F12AC7 /* us_ascii.c */; }; - 88760B1415759F9700113BFB /* utf_8.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3514156C998200F12AC7 /* utf_8.c */; }; 88760B1515759F9700113BFB /* variable.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3515156C998200F12AC7 /* variable.c */; }; 88760B1615759F9700113BFB /* vm.c in Sources */ = {isa = PBXBuildFile; fileRef = 88BF3518156C998200F12AC7 /* vm.c */; }; 88760B1915769C3E00113BFB /* libmruby_core.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 88760B1715769BE400113BFB /* libmruby_core.a */; }; @@ -189,14 +183,12 @@ 88BF34C8156C997100F12AC7 /* mruby.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mruby.c; sourceTree = ""; }; 88BF34CB156C997100F12AC7 /* xpcat.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = xpcat.c; sourceTree = ""; }; 88BF34D4156C998200F12AC7 /* array.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = array.c; sourceTree = ""; }; - 88BF34D5156C998200F12AC7 /* ascii.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ascii.c; sourceTree = ""; }; 88BF34D6156C998200F12AC7 /* cdump.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cdump.c; sourceTree = ""; }; 88BF34D7156C998200F12AC7 /* class.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = class.c; sourceTree = ""; }; 88BF34D9156C998200F12AC7 /* codegen.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = codegen.c; sourceTree = ""; }; 88BF34DA156C998200F12AC7 /* compar.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = compar.c; sourceTree = ""; }; 88BF34DB156C998200F12AC7 /* crc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = crc.c; sourceTree = ""; }; 88BF34DC156C998200F12AC7 /* dump.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dump.c; sourceTree = ""; }; - 88BF34DD156C998200F12AC7 /* encoding.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = encoding.c; sourceTree = ""; }; 88BF34DE156C998200F12AC7 /* encoding.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = encoding.h; sourceTree = ""; }; 88BF34DF156C998200F12AC7 /* enum.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = enum.c; sourceTree = ""; }; 88BF34E0156C998200F12AC7 /* error.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = error.c; sourceTree = ""; }; @@ -242,11 +234,6 @@ 88BF350D156C998200F12AC7 /* struct.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = struct.c; sourceTree = ""; }; 88BF350E156C998200F12AC7 /* symbol.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = symbol.c; sourceTree = ""; }; 88BF350F156C998200F12AC7 /* time.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = time.c; sourceTree = ""; }; - 88BF3510156C998200F12AC7 /* transcode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = transcode.c; sourceTree = ""; }; - 88BF3511156C998200F12AC7 /* transcode_data.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = transcode_data.h; sourceTree = ""; }; - 88BF3512156C998200F12AC7 /* unicode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = unicode.c; sourceTree = ""; }; - 88BF3513156C998200F12AC7 /* us_ascii.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = us_ascii.c; sourceTree = ""; }; - 88BF3514156C998200F12AC7 /* utf_8.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = utf_8.c; sourceTree = ""; }; 88BF3515156C998200F12AC7 /* variable.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = variable.c; sourceTree = ""; }; 88BF3518156C998200F12AC7 /* vm.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = vm.c; sourceTree = ""; }; 88BF3558156C99B200F12AC7 /* mrbconf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mrbconf.h; sourceTree = ""; }; @@ -492,14 +479,12 @@ children = ( 88EDC30215757CB40098CF0D /* y.tab.c */, 88BF34D4156C998200F12AC7 /* array.c */, - 88BF34D5156C998200F12AC7 /* ascii.c */, 88BF34D6156C998200F12AC7 /* cdump.c */, 88BF34D7156C998200F12AC7 /* class.c */, 88BF34D9156C998200F12AC7 /* codegen.c */, 88BF34DA156C998200F12AC7 /* compar.c */, 88BF34DB156C998200F12AC7 /* crc.c */, 88BF34DC156C998200F12AC7 /* dump.c */, - 88BF34DD156C998200F12AC7 /* encoding.c */, 88BF34DE156C998200F12AC7 /* encoding.h */, 88BF34DF156C998200F12AC7 /* enum.c */, 88BF34E0156C998200F12AC7 /* error.c */, @@ -545,11 +530,6 @@ 88BF350D156C998200F12AC7 /* struct.c */, 88BF350E156C998200F12AC7 /* symbol.c */, 88BF350F156C998200F12AC7 /* time.c */, - 88BF3510156C998200F12AC7 /* transcode.c */, - 88BF3511156C998200F12AC7 /* transcode_data.h */, - 88BF3512156C998200F12AC7 /* unicode.c */, - 88BF3513156C998200F12AC7 /* us_ascii.c */, - 88BF3514156C998200F12AC7 /* utf_8.c */, 88BF3515156C998200F12AC7 /* variable.c */, 88BF3518156C998200F12AC7 /* vm.c */, ); @@ -930,14 +910,12 @@ files = ( 88760AEA15759F9700113BFB /* y.tab.c in Sources */, 88760AEB15759F9700113BFB /* array.c in Sources */, - 88760AEC15759F9700113BFB /* ascii.c in Sources */, 88760AED15759F9700113BFB /* cdump.c in Sources */, 88760AEE15759F9700113BFB /* class.c in Sources */, 88760AEF15759F9700113BFB /* codegen.c in Sources */, 88760AF015759F9700113BFB /* compar.c in Sources */, 88760AF115759F9700113BFB /* crc.c in Sources */, 88760AF215759F9700113BFB /* dump.c in Sources */, - 88760AF315759F9700113BFB /* encoding.c in Sources */, 88760AF415759F9700113BFB /* enum.c in Sources */, 88760AF515759F9700113BFB /* error.c in Sources */, 88760AF615759F9700113BFB /* etc.c in Sources */, @@ -967,10 +945,6 @@ 88760B0E15759F9700113BFB /* struct.c in Sources */, 88760B0F15759F9700113BFB /* symbol.c in Sources */, 88760B1015759F9700113BFB /* time.c in Sources */, - 88760B1115759F9700113BFB /* transcode.c in Sources */, - 88760B1215759F9700113BFB /* unicode.c in Sources */, - 88760B1315759F9700113BFB /* us_ascii.c in Sources */, - 88760B1415759F9700113BFB /* utf_8.c in Sources */, 88760B1515759F9700113BFB /* variable.c in Sources */, 88760B1615759F9700113BFB /* vm.c in Sources */, ); -- cgit v1.2.3