terrain-gen/README.md

34 lines
835 B
Markdown

# TerrainGen
## Dependencies
[Qt](https://www.qt.io/), [libnoise](http://libnoise.sourceforge.net/) and a C++ 11 compiler are required to build this project. The libraries installation steps are detailled bellow.
### Archlinux
```
# Both libraries are available in the official repos
pacman -S qt5-base libnoise
```
## Others
* Install Qt using the appropriate method for your plateform.
* Build libnoise, [this fork](https://github.com/eXpl0it3r/libnoise/) provide working build files using cmake, and install it.
## Build instruction
```shell
# Clone git repo
git clone https://git.blacksponge.net/BlackSponge/terrain-gen.git
cd terrain-get
# Create output directory
mkdir build
# Build executable
qmake ..
make -j4
# Create symlink to shaders directory next to executable
ln -s ../shaders .
# Run program
./terrain-gen
```