Skip to content

huangsam/cpp-trial

Repository files navigation

C++ Trial

GitHub Actions Workflow Status

Coding in C++ to explore tools like CMake and GoogleTest.

C++

Getting started

For everyone:

# Install developer tools
brew install --formula cmake llvm ninja

# Build binaries
cmake --preset dev
cmake --build --preset dev

# Run binaries in their original form
./build/bin/main.out
./build/bin/test.out

For contributors:

# Ensure all files are formatted before PR
git ls-files '*.cpp' '*.h' | xargs clang-format -i

Helpful resources