Commit 0a7a5799 authored by Nick Sharp's avatar Nick Sharp
Browse files

Make build instructions more clear

parent fd737fa5
...@@ -18,43 +18,19 @@ This will create a folder with all the source files. ...@@ -18,43 +18,19 @@ This will create a folder with all the source files.
In order to ease the process of running on different platforms, we will be using [CMake](http://www.cmake.org/) for our assignments. You will need a CMake installation of version 2.8+ to build the code for this assignment. It should also be relatively easy to build the assignment and work locally on your OSX or 64-bit version of Linux. Building on Windows is in beta support, and the project can be run by SSH'ing through Andrew Linux using MobaXterm. In order to ease the process of running on different platforms, we will be using [CMake](http://www.cmake.org/) for our assignments. You will need a CMake installation of version 2.8+ to build the code for this assignment. It should also be relatively easy to build the assignment and work locally on your OSX or 64-bit version of Linux. Building on Windows is in beta support, and the project can be run by SSH'ing through Andrew Linux using MobaXterm.
If you are working on OS X and do not have CMake installed, we recommend installing it through [Macports](https://www.macports.org/): #### OS X/Linux Build Instructions
``` If you are working on OS X and do not have CMake installed, we recommend installing it through [Homebrew](http://brew.sh/): `$ brew install cmake`. If you are working on Linux, you should be able to install dependencies with your system's package manager as needed.
$ sudo port install cmake
```
Or [Homebrew](http://brew.sh/):
```
$ brew install cmake
```
To build your code for this assignment: To build your code for this assignment:
- Create a directory to build your code:
``` ```
$ cd DrawSVG && mkdir build && cd build $ cd DrawSVG && mkdir build && cd build
```
- Run CMake to generate makefile:
```
$ cmake .. $ cmake ..
```
- Build your code:
```
$ make $ make
``` ```
- Install the executable to your project root directory: These steps (1) create an out-of-source build directory, (2) configure the project using CMake, and (3) compile the project. If all goes well, you should see an executable `drawsvg` in the build directory. As you work, simply typing `make` in the build directory will recompile the project.
```
$ make install
```
#### Windows Build Instructions #### Windows Build Instructions
...@@ -312,4 +288,4 @@ In addition to what you have implemented already, the [SVG Basic Shapes](http:// ...@@ -312,4 +288,4 @@ In addition to what you have implemented already, the [SVG Basic Shapes](http://
- [Rasterization Rules in Direct3D 11](https://msdn.microsoft.com/en-us/library/windows/desktop/cc627092(v=vs.85).aspx) - [Rasterization Rules in Direct3D 11](https://msdn.microsoft.com/en-us/library/windows/desktop/cc627092(v=vs.85).aspx)
- [Rasterization in OpenGL 4.0](https://www.opengl.org/registry/doc/glspec40.core.20100311.pdf#page=156) - [Rasterization in OpenGL 4.0](https://www.opengl.org/registry/doc/glspec40.core.20100311.pdf#page=156)
- [Bryce Summer's C++ Programming Guide](https://github.com/Bryce-Summers/Writings/blob/master/Programming%20Guides/C_plus_plus_guide.pdf) - [Bryce Summer's C++ Programming Guide](https://github.com/Bryce-Summers/Writings/blob/master/Programming%20Guides/C_plus_plus_guide.pdf)
- [NeHe OpenGL Tutorials Lessons 01~05](http://nehe.gamedev.net/tutorial/lessons_01__05/22004/) - [NeHe OpenGL Tutorials Lessons 01~05](http://nehe.gamedev.net/tutorial/lessons_01__05/22004/)
\ No newline at end of file
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