Skip to content

Latest commit

 

History

History
67 lines (60 loc) · 1.08 KB

README.md

File metadata and controls

67 lines (60 loc) · 1.08 KB

Installation

Linux

Install the following tools

sudo apt-get install antlr4
sudo apt-get install clang-format
sudo apt-get install cmake
sudo apt-get install g++
sudo apt-get install gcc
sudo apt-get install libantlr4-runtime-dev
sudo apt-get install libcli11-dev
sudo apt-get install libfmt-dev
sudo apt-get install libfmt8
sudo apt-get install libgtest-dev
sudo apt-get install libgtextutils-dev
sudo apt-get install libspdlog-dev
sudo apt-get install llvm
sudo apt-get install spdlog

MacOS

brew install antlr 
brew install antlr4-cpp-runtime
brew install clang-format
brew install cli11
brew install cmake
brew install fmt
brew install googletest
brew install llvm
brew install spdlog

Checkout

git clone [email protected]:michaelrolnik/referee.git
cd referee
git submodule init
git submodule update

Building

Regular

cd referee
cmake -GNinja ..
ninja

Run Tests

./tests

Code Coverage

cd referee
cmake -GNinja -DCODE_COVERAGE=ON ..
ninja

Run Tests

(This does not work on MacOS)

ninja ccov-tests