Map maker for Soldat.
Binary builds: Download for Windows
The project is written in C++ and depends on:
- wxWidgets 3.1.0
- OpenGL 3.3
- GLM
Tests depend on:
Finally, documentation relies on:
Run this from root directory to compile:
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install
The executable file is in polybobin's bin/ directory.
To run tests, you can:
- run
make test
from root directory to run them all at once. - run binaries in build/test/ directory individually.
First of all, make sure you have CMake installed. Open Command Prompt and navigate to root directory. Then run this:
mkdir build
cd build
cmake ..
CMake might complain about missing libraries. This can be solved by downloading and building the necessary libraries and listing their paths in environment variables.
CMake expects to find libraries by looking at paths provided in these environment variables:
GLM_ROOT_DIR
-> path of GLM's root directory.
GMOCK_ROOT
-> path of GMock's root directory AND path of GMock's .lib file after it's compiled (paths separated by semicolon).
GTEST_ROOT
-> path of GTest's root directory AND path of GTest's .lib file after it's compiled (paths separated by semicolon).
WXWIN
-> path of wxWidgets' root directory.
Now open the polybobin solution in build/ directory and build it.
Building "INSTALL" project will move polybobin's executable file to bin/ directory.
Building "RUN_TESTS" project will run tests.
Conan is a portable package manager for C/C++ libraries. It can be used to download all dependencies needed to build polybobin, without needing to install system packages. Visit https://conan.io/downloads.html to download conan.
Once conan has been installed, follow those steps to build polybobin:
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan # add required repository
mkdir build
cd build
conan install ..
cmake .. -DBUILD_CONAN=1
You should now be able to build polybobin with make install
on linux or to open generated solution in visual studio on windows.
To generate documentation, run doxygen doxygen.config
.