From 80d56dbb85e360e6c6253203a2a033518d9006e2 Mon Sep 17 00:00:00 2001 From: jonforums Date: Fri, 1 Jun 2012 12:17:13 -0700 Subject: [PATCH] Add initial CMake Visual Studio build instructions --- Building-mruby.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Building-mruby.md b/Building-mruby.md index 0ba3f11..5fe9326 100644 --- a/Building-mruby.md +++ b/Building-mruby.md @@ -44,10 +44,15 @@ _in process_, see this [introductory post](http://jonforums.github.com/ruby/2012 _in process_, see this [basic cross compiling post](http://jonforums.github.com/ruby/2012/05/13/cross-compiling-mruby.html) in the interm. -### Native OS X builds from Xcode IDE +### Native OS X builds from the Xcode IDE From mruby's root directory, run `cmake -G Xcode .` to generate Xcode project files. Open the `mruby.xcodeproj` file in Xcode and hack away as you would with any other project. **Note:** do not run CMake outside the root directory in another build directory because mruby's source files will be _copied_ to the build directory. Any edits will occur to the _copied_ source files rather than -the real mruby source files, resulting in a very awkward, and potentially broken, workflow. \ No newline at end of file +the real mruby source files, resulting in a very awkward, and potentially broken, workflow. + +### Native Windows builds from the Visual Studio IDE + +Run `cmake -G "Visual Studio 10" .` (or similar) from mruby's root directory to generate Visual +Studio project files. _in process_ \ No newline at end of file