Update readme

This commit is contained in:
Vinyl Darkscratch 2018-10-02 14:28:54 -07:00
parent 34cfb264f5
commit 07f0b1ca13
1 changed files with 8 additions and 0 deletions

View File

@ -48,8 +48,16 @@ Next, you can install all the required packages:
conan install . --build=missing conan install . --build=missing
``` ```
Finally, you can build the project by running the following:
```sh
conan build .
```
### Building with QMake (Old) ### Building with QMake (Old)
The `make-oneshot-mac.command` and `make-oneshot-linux.sh` files automate the entire process for you. Just run the applicable file to compile and install the engine into OneShot's default Steam directory.
qmake will use pkg-config to locate the respective include/library paths. If you installed any dependencies into non-standard prefixes, make sure to adjust your `PKG_CONFIG_PATH` variable accordingly. qmake will use pkg-config to locate the respective include/library paths. If you installed any dependencies into non-standard prefixes, make sure to adjust your `PKG_CONFIG_PATH` variable accordingly.
The exception is boost, which is weird in that it still hasn't managed to pull off pkg-config support (seriously?). *If you installed boost in a non-standard prefix*, you will need to pass its include path via `BOOST_I` and library path via `BOOST_L`, either as direct arguments to qmake (`qmake BOOST_I="/usr/include" ...`) or via environment variables. You can specify a library suffix (eg. "-mt") via `BOOST_LIB_SUFFIX` if needed. The exception is boost, which is weird in that it still hasn't managed to pull off pkg-config support (seriously?). *If you installed boost in a non-standard prefix*, you will need to pass its include path via `BOOST_I` and library path via `BOOST_L`, either as direct arguments to qmake (`qmake BOOST_I="/usr/include" ...`) or via environment variables. You can specify a library suffix (eg. "-mt") via `BOOST_LIB_SUFFIX` if needed.