Update README.md

This commit is contained in:
Jack Andersen 2016-03-12 21:13:47 -10:00
parent 4946174f55
commit caa43b46e0
1 changed files with 22 additions and 21 deletions

View File

@ -25,9 +25,7 @@ Everything else is much too experimental to make portable/stable release builds
* **[OS X]** [Xcode Tools](https://developer.apple.com/xcode/download/) * **[OS X]** [Xcode Tools](https://developer.apple.com/xcode/download/)
* **[Linux]** recent development packages of `udev`, `xorg+xcb`, `xinput`, `glx`, `asound` * **[Linux]** recent development packages of `udev`, `xorg+xcb`, `xinput`, `glx`, `asound`
### Build Directions (Release) ### Prep Directions
#### make
```sh ```sh
git clone https://github.com/AxioDL/urde.git git clone https://github.com/AxioDL/urde.git
@ -35,31 +33,39 @@ mkdir urde-build
cd urde cd urde
git submodule update --init --recursive git submodule update --init --recursive
cd ../urde-build cd ../urde-build
cmake -DCMAKE_BUILD_TYPE=Release ../urde ```
### Build Directions (Debug)
#### make
```sh
cmake -DCMAKE_BUILD_TYPE=Debug ../urde
make make
``` ```
#### Qt Creator *(main development / debugging IDE)*
Open the repository's `CMakeLists.txt` via File > Open Project.
Configure the desired CMake targets to build in the *Projects* area of the IDE.
Build / Debug / Run on Windows, OS X and Linux in a unified way.
#### Visual Studio #### Visual Studio
Using *Git Shell* with [GitHub for Windows](https://desktop.github.com/) Using *Git Shell* with [GitHub for Windows](https://desktop.github.com/)
```sh Windows 7/8 users should run:
git clone https://github.com/AxioDL/urde.git
mkdir urde-build
cd urde
git submodule update --init --recursive
cd ../urde-build
```
Windows 7/8 users should then run:
```sh ```sh
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Release ../urde cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Debug ../urde
``` ```
Windows 10 users should then run: Windows 10 users should run:
```sh ```sh
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_SYSTEM_VERSION=10.0 -DCMAKE_BUILD_TYPE=Release ../urde cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_SYSTEM_VERSION=10.0 -DCMAKE_BUILD_TYPE=Debug ../urde
``` ```
Then open `urde.sln` Then open `urde.sln`
@ -67,12 +73,7 @@ Then open `urde.sln`
#### Xcode #### Xcode
```sh ```sh
git clone https://github.com/AxioDL/urde.git cmake -G Xcode -DCMAKE_BUILD_TYPE=Debug -DLLVM_ROOT_DIR=<path-to-llvm-dev-package> ../urde
mkdir urde-build
cd urde
git submodule update --init --recursive
cd ../urde-build
cmake -G Xcode -DCMAKE_BUILD_TYPE=Release -DLLVM_ROOT_DIR=<path-to-llvm-dev-lib-package> ../urde
``` ```
Then open `urde.xcodeproj` Then open `urde.xcodeproj`