-
Notifications
You must be signed in to change notification settings - Fork 0
Building
Filip Tomaszewski edited this page Aug 8, 2019
·
9 revisions
SMAM uses Conan to manage its dependencies and build the project. Recommended installation is through pip: pip install conan. More info on installing Conan on its wiki.
Building SMAM is supported only on Linux. Windows and OSX builds are planned.
As the build system installs dependencies on your system, I strongly recommend you perform these steps in a venv.
- Clone the repo and cd to it:
git clone https://github.com/Phil25/SMAM && cd SMAM - Designate a directory for building:
mkdir build && cd build - Install build dependencies and set up CMake using Conan.
conan install .. --build missing- For development and unit testing, append
-s build_type=Debug
- Build the project:
conan build ..
From the previously created build directory:
-
./bin/smamto run SMAM. -
./bin/teststo run unit tests (only inDebugbuild). -
python -m pytest ..to run integration tests (should be inDebugbuild)