Update Conan_Usage authored by Ali Can Demiralp's avatar Ali Can Demiralp
...@@ -7,26 +7,35 @@ ...@@ -7,26 +7,35 @@
pip install conan pip install conan
``` ```
* configure conan to use our package repository for packages we (still) need to provide orselves: * configure conan to use our package repository for packages we (still) need to provide ourselves:
``` ```
conan remote add rwth-vr--bintray https://api.bintray.com/conan/rwth-vr/conan conan remote add rwth-vr--bintray https://api.bintray.com/conan/rwth-vr/conan
``` ```
## Build your project (from terminal) ## Build your project (from terminal)
### Windows
* Open "Developer Prompt for VS2017".
* Ensure that cmake is appended to your path variable. Otherwise:
``` ```
cd <build directory> set PATH=%PATH%;<cmake binary directory>
conan install --build=missing <relative path to source directory>
cmake <relative path to source directory>
``` ```
You can also use CMake-GUI for the last step.
* If you have multiple versions of Visual Studio installed: * Run the following commands:
``` ```
cd <build directory>
conan install --build=missing -s compiler="Visual Studio" -s compiler.version=15 <relative path to source directory> conan install --build=missing -s compiler="Visual Studio" -s compiler.version=15 <relative path to source directory>
cmake <relative path to source directory>
``` ```
* If you are working on Apple Mac w/ apple-clang ### Apple
* Run the following commands:
``` ```
cd <build directory>
conan install --build=missing -s compiler="apple-clang" -s compiler.version="8.1" <relative path to source directory> conan install --build=missing -s compiler="apple-clang" -s compiler.version="8.1" <relative path to source directory>
``` cmake <relative path to source directory>
\ No newline at end of file ```
* You can also use CMake-GUI for the last step.