Download Boost 1.68
cdto the Boost directory and build the system library by running./bootstrap.sh --prefix=. --with-libraries=system && ./b2 cxxflags=-std=c++14 installgit clone --recursive https://github.com/delta/codecharacter-simulator.gitInstall CMake (>= v3.11.1)
Install Protobuf
Install Clang++ (>=4.0)
mkdir build && cd buildexport LD_LIBRARY_PATH=<repo_install_location>/libcmake .. -DCMAKE_INSTALL_PREFIX=<repo_install_location> -DBOOST_ROOT=<boost_download_location> -DCMAKE_CXX_COMPILER=clang++make install
To run the simulator, <your_install_location>/bin/simulator
To run the unit tests, <your_install_location>/bin/test
Pass -DBUILD_PROJECT=<project_name> to cmake to build only a specific module. Passing no_tests as the project name builds everything but the unit tests.