Commit e634ca18 authored by Paolo Bosetti's avatar Paolo Bosetti

Created Xcode 4 project, using the make target to build the tools, and with a...

Created Xcode 4 project, using the make target to build the tools, and with a native Xcode target to build a hello world example.
parent 91b49296
//
// hello_mruby.c
// mruby
//
// Created by Paolo Bosetti on 5/22/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#include <stdio.h>
xcuserdata
\ No newline at end of file
//
// hello_mruby.c
// mruby
//
// Created by Paolo Bosetti on 5/22/12.
// Copyright (c) 2012 University of Trento. All rights reserved.
//
#include <stdlib.h>
#include <stdio.h>
/* Include the mruby header */
#include <mruby.h>
#include <mruby/proc.h>
#include <mruby/data.h>
#include <mruby/compile.h>
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
// !$*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 = "<group>"; };
88BF34C4156C997100F12AC7 /* mrbc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mrbc.c; sourceTree = "<group>"; };
88BF34C8156C997100F12AC7 /* mruby.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mruby.c; sourceTree = "<group>"; };
88BF34CB156C997100F12AC7 /* xpcat.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = xpcat.c; sourceTree = "<group>"; };
88BF34D4156C998200F12AC7 /* array.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = array.c; sourceTree = "<group>"; };
88BF34D5156C998200F12AC7 /* ascii.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ascii.c; sourceTree = "<group>"; };
88BF34D6156C998200F12AC7 /* cdump.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cdump.c; sourceTree = "<group>"; };
88BF34D7156C998200F12AC7 /* class.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = class.c; sourceTree = "<group>"; };
88BF34D9156C998200F12AC7 /* codegen.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = codegen.c; sourceTree = "<group>"; };
88BF34DA156C998200F12AC7 /* compar.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = compar.c; sourceTree = "<group>"; };
88BF34DB156C998200F12AC7 /* crc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = crc.c; sourceTree = "<group>"; };
88BF34DC156C998200F12AC7 /* dump.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dump.c; sourceTree = "<group>"; };
88BF34DD156C998200F12AC7 /* encoding.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = encoding.c; sourceTree = "<group>"; };
88BF34DE156C998200F12AC7 /* encoding.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = encoding.h; sourceTree = "<group>"; };
88BF34DF156C998200F12AC7 /* enum.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = enum.c; sourceTree = "<group>"; };
88BF34E0156C998200F12AC7 /* error.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = error.c; sourceTree = "<group>"; };
88BF34E1156C998200F12AC7 /* error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = error.h; sourceTree = "<group>"; };
88BF34E2156C998200F12AC7 /* etc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = etc.c; sourceTree = "<group>"; };
88BF34E4156C998200F12AC7 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
88BF34E5156C998200F12AC7 /* gc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = gc.c; sourceTree = "<group>"; };
88BF34E6156C998200F12AC7 /* gc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = gc.h; sourceTree = "<group>"; };
88BF34E7156C998200F12AC7 /* hash.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hash.c; sourceTree = "<group>"; };
88BF34E8156C998200F12AC7 /* init.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = init.c; sourceTree = "<group>"; };
88BF34EA156C998200F12AC7 /* init_ext.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = init_ext.c; sourceTree = "<group>"; };
88BF34EB156C998200F12AC7 /* kernel.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = kernel.c; sourceTree = "<group>"; };
88BF34EC156C998200F12AC7 /* keywords */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = keywords; sourceTree = "<group>"; };
88BF34ED156C998200F12AC7 /* lex.def */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = lex.def; sourceTree = "<group>"; };
88BF34EE156C998200F12AC7 /* load.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = load.c; sourceTree = "<group>"; };
88BF34F0156C998200F12AC7 /* math.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = math.c; sourceTree = "<group>"; };
88BF34F1156C998200F12AC7 /* math.c.orig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = math.c.orig; sourceTree = "<group>"; };
88BF34F2156C998200F12AC7 /* name2ctype.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = name2ctype.h; sourceTree = "<group>"; };
88BF34F3156C998200F12AC7 /* node.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = node.h; sourceTree = "<group>"; };
88BF34F4156C998200F12AC7 /* numeric.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = numeric.c; sourceTree = "<group>"; };
88BF34F5156C998200F12AC7 /* object.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = object.c; sourceTree = "<group>"; };
88BF34F6156C998200F12AC7 /* oniguruma.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = oniguruma.h; sourceTree = "<group>"; };
88BF34F7156C998200F12AC7 /* opcode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = opcode.h; sourceTree = "<group>"; };
88BF34F8156C998200F12AC7 /* parse.y */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.yacc; path = parse.y; sourceTree = "<group>"; };
88BF34F9156C998200F12AC7 /* pool.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pool.c; sourceTree = "<group>"; };
88BF34FA156C998200F12AC7 /* print.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = print.c; sourceTree = "<group>"; };
88BF34FB156C998200F12AC7 /* proc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = proc.c; sourceTree = "<group>"; };
88BF34FC156C998200F12AC7 /* range.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = range.c; sourceTree = "<group>"; };
88BF34FD156C998200F12AC7 /* re.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = re.c; sourceTree = "<group>"; };
88BF34FE156C998200F12AC7 /* re.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = re.h; sourceTree = "<group>"; };
88BF34FF156C998200F12AC7 /* regcomp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = regcomp.c; sourceTree = "<group>"; };
88BF3500156C998200F12AC7 /* regenc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = regenc.c; sourceTree = "<group>"; };
88BF3501156C998200F12AC7 /* regenc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = regenc.h; sourceTree = "<group>"; };
88BF3502156C998200F12AC7 /* regerror.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = regerror.c; sourceTree = "<group>"; };
88BF3503156C998200F12AC7 /* regex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = regex.h; sourceTree = "<group>"; };
88BF3504156C998200F12AC7 /* regexec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = regexec.c; sourceTree = "<group>"; };
88BF3505156C998200F12AC7 /* regint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = regint.h; sourceTree = "<group>"; };
88BF3506156C998200F12AC7 /* regparse.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = regparse.c; sourceTree = "<group>"; };
88BF3507156C998200F12AC7 /* regparse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = regparse.h; sourceTree = "<group>"; };
88BF3508156C998200F12AC7 /* sprintf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sprintf.c; sourceTree = "<group>"; };
88BF3509156C998200F12AC7 /* st.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = st.c; sourceTree = "<group>"; };
88BF350A156C998200F12AC7 /* st.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = st.h; sourceTree = "<group>"; };
88BF350B156C998200F12AC7 /* state.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = state.c; sourceTree = "<group>"; };
88BF350C156C998200F12AC7 /* string.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = string.c; sourceTree = "<group>"; };
88BF350D156C998200F12AC7 /* struct.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = struct.c; sourceTree = "<group>"; };
88BF350E156C998200F12AC7 /* symbol.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = symbol.c; sourceTree = "<group>"; };
88BF350F156C998200F12AC7 /* time.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = time.c; sourceTree = "<group>"; };
88BF3510156C998200F12AC7 /* transcode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = transcode.c; sourceTree = "<group>"; };
88BF3511156C998200F12AC7 /* transcode_data.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = transcode_data.h; sourceTree = "<group>"; };
88BF3512156C998200F12AC7 /* unicode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = unicode.c; sourceTree = "<group>"; };
88BF3513156C998200F12AC7 /* us_ascii.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = us_ascii.c; sourceTree = "<group>"; };
88BF3514156C998200F12AC7 /* utf_8.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = utf_8.c; sourceTree = "<group>"; };
88BF3515156C998200F12AC7 /* variable.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = variable.c; sourceTree = "<group>"; };
88BF3518156C998200F12AC7 /* vm.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = vm.c; sourceTree = "<group>"; };
88BF3558156C99B200F12AC7 /* mrbconf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mrbconf.h; sourceTree = "<group>"; };
88BF355A156C99B200F12AC7 /* array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = array.h; sourceTree = "<group>"; };
88BF355B156C99B200F12AC7 /* cdump.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cdump.h; sourceTree = "<group>"; };
88BF355C156C99B200F12AC7 /* class.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = class.h; sourceTree = "<group>"; };
88BF355D156C99B200F12AC7 /* compile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = compile.h; sourceTree = "<group>"; };
88BF355E156C99B200F12AC7 /* data.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = data.h; sourceTree = "<group>"; };
88BF355F156C99B200F12AC7 /* dump.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dump.h; sourceTree = "<group>"; };
88BF3560156C99B200F12AC7 /* hash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hash.h; sourceTree = "<group>"; };
88BF3561156C99B200F12AC7 /* irep.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = irep.h; sourceTree = "<group>"; };
88BF3562156C99B200F12AC7 /* khash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = khash.h; sourceTree = "<group>"; };
88BF3563156C99B200F12AC7 /* numeric.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = numeric.h; sourceTree = "<group>"; };
88BF3564156C99B200F12AC7 /* object.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = object.h; sourceTree = "<group>"; };
88BF3565156C99B200F12AC7 /* proc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = proc.h; sourceTree = "<group>"; };
88BF3566156C99B200F12AC7 /* range.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = range.h; sourceTree = "<group>"; };
88BF3567156C99B200F12AC7 /* string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = string.h; sourceTree = "<group>"; };
88BF3568156C99B200F12AC7 /* struct.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = struct.h; sourceTree = "<group>"; };
88BF3569156C99B200F12AC7 /* variable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = variable.h; sourceTree = "<group>"; };
88BF356A156C99B200F12AC7 /* mruby.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mruby.h; sourceTree = "<group>"; };
88BF357E156C99C200F12AC7 /* array.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = array.rb; sourceTree = "<group>"; };
88BF3580156C99C200F12AC7 /* compar.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = compar.rb; sourceTree = "<group>"; };
88BF3581156C99C200F12AC7 /* enum.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = enum.rb; sourceTree = "<group>"; };
88BF3582156C99C200F12AC7 /* error.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = error.rb; sourceTree = "<group>"; };
88BF3583156C99C200F12AC7 /* hash.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = hash.rb; sourceTree = "<group>"; };
88BF3584156C99C200F12AC7 /* init_mrblib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = init_mrblib.c; sourceTree = "<group>"; };
88BF3585156C99C200F12AC7 /* kernel.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = kernel.rb; sourceTree = "<group>"; };
88BF3587156C99C200F12AC7 /* numeric.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = numeric.rb; sourceTree = "<group>"; };
88BF3588156C99C200F12AC7 /* print.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = print.rb; sourceTree = "<group>"; };
88BF3589156C99C200F12AC7 /* range.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = range.rb; sourceTree = "<group>"; };
88BF358A156C99C200F12AC7 /* string.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = string.rb; sourceTree = "<group>"; };
88BF358B156C99C200F12AC7 /* struct.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = struct.rb; sourceTree = "<group>"; };
88BF3598156CA2A300F12AC7 /* mirb */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mirb; path = ../bin/mirb; sourceTree = "<group>"; };
88BF3599156CA2A300F12AC7 /* mrbc */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mrbc; path = ../bin/mrbc; sourceTree = "<group>"; };
88BF359A156CA2A300F12AC7 /* mruby */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = mruby; path = ../bin/mruby; sourceTree = "<group>"; };
88BF359D156CA2E400F12AC7 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = "<group>"; };
88BF359E156CA2E400F12AC7 /* libmruby.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libmruby.a; sourceTree = "<group>"; };
88BF359F156CA2E400F12AC7 /* libmruby_core.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libmruby_core.a; sourceTree = "<group>"; };
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 = "<group>"; };
88BF35AA156CA3ED00F12AC7 /* HelloMRuby.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = HelloMRuby.1; sourceTree = "<group>"; };
88BF35B0156CA43500F12AC7 /* hello_mruby.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = hello_mruby.c; path = HelloMRuby/hello_mruby.c; sourceTree = "<group>"; };
/* 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 = "<group>";
};
88BF34BB156C997100F12AC7 /* tools */ = {
isa = PBXGroup;
children = (
88BF34BD156C997100F12AC7 /* mirb */,
88BF34C1156C997100F12AC7 /* mrbc */,
88BF34C5156C997100F12AC7 /* mruby */,
88BF34C9156C997100F12AC7 /* xpcat */,
);
name = tools;
path = ../tools;
sourceTree = "<group>";
};
88BF34BD156C997100F12AC7 /* mirb */ = {
isa = PBXGroup;
children = (
88BF34C0156C997100F12AC7 /* mirb.c */,
);
path = mirb;
sourceTree = "<group>";
};
88BF34C1156C997100F12AC7 /* mrbc */ = {
isa = PBXGroup;
children = (
88BF34C4156C997100F12AC7 /* mrbc.c */,
);
path = mrbc;
sourceTree = "<group>";
};
88BF34C5156C997100F12AC7 /* mruby */ = {
isa = PBXGroup;
children = (
88BF34C8156C997100F12AC7 /* mruby.c */,
);
path = mruby;
sourceTree = "<group>";
};
88BF34C9156C997100F12AC7 /* xpcat */ = {
isa = PBXGroup;
children = (
88BF34CB156C997100F12AC7 /* xpcat.c */,
);
path = xpcat;
sourceTree = "<group>";
};
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 = "<group>";
};
88BF34E3156C998200F12AC7 /* ext */ = {
isa = PBXGroup;
children = (
88BF34E4156C998200F12AC7 /* .gitkeep */,
);
path = ext;
sourceTree = "<group>";
};
88BF3557156C99B200F12AC7 /* include */ = {
isa = PBXGroup;
children = (
88BF3558156C99B200F12AC7 /* mrbconf.h */,
88BF3559156C99B200F12AC7 /* mruby */,
88BF356A156C99B200F12AC7 /* mruby.h */,
);
name = include;
path = ../include;
sourceTree = "<group>";
};
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 = "<group>";
};
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 = "<group>";
};
88BF359B156CA2B000F12AC7 /* bin */ = {
isa = PBXGroup;
children = (
88BF3598156CA2A300F12AC7 /* mirb */,
88BF3599156CA2A300F12AC7 /* mrbc */,
88BF359A156CA2A300F12AC7 /* mruby */,
);
name = bin;
sourceTree = "<group>";
};
88BF359C156CA2E400F12AC7 /* lib */ = {
isa = PBXGroup;
children = (
88BF359D156CA2E400F12AC7 /* .gitkeep */,
88BF359E156CA2E400F12AC7 /* libmruby.a */,
88BF359F156CA2E400F12AC7 /* libmruby_core.a */,
);
name = lib;
path = ../lib;
sourceTree = "<group>";
};
88BF35A0156CA30F00F12AC7 /* Products */ = {
isa = PBXGroup;
children = (
88BF359C156CA2E400F12AC7 /* lib */,
88BF359B156CA2B000F12AC7 /* bin */,
);
name = Products;
sourceTree = "<group>";
};
88BF35A7156CA3ED00F12AC7 /* HelloMRuby */ = {
isa = PBXGroup;
children = (
88BF35A8156CA3ED00F12AC7 /* main.c */,
88BF35AA156CA3ED00F12AC7 /* HelloMRuby.1 */,
);
path = HelloMRuby;
sourceTree = "<group>";
};
88BF35AF156CA3FC00F12AC7 /* HelloMRuby */ = {
isa = PBXGroup;
children = (
88BF35B0156CA43500F12AC7 /* hello_mruby.c */,
);
name = HelloMRuby;
sourceTree = "<group>";
};
/* 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 */;
}
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:mruby.xcodeproj">
</FileRef>
</Workspace>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment