Add initial CMake Visual Studio build instructions

jonforums
2012-06-01 12:17:13 -07:00
parent dce5f15bd9
commit 80d56dbb85
+7 -2
@@ -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.
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_