Coding in C++ to explore tools like CMake and GoogleTest.
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
- https://cplusplus.com/
- https://en.cppreference.com/w/
- https://google.github.io/styleguide/cppguide.html
- https://google.github.io/googletest/reference/assertions.html
- https://cmake.org/cmake/help/git-master/manual/cmake-commands.7.html
- https://clang.llvm.org/docs/ClangFormatStyleOptions.html
- https://clang.llvm.org/extra/clang-tidy/checks/list.html
- https://github.com/fffaraz/awesome-cpp