a simple triangle calculator lib with a thin CLI wrapper
vcpkg, a guide can be found here CMake a cpp compiler (clang, g++ or mvsc)
git clone https://github.com/Encoded404/cppTriangleCalculator cd cppTriangleCalculator
cmake -S . -B build --preset default
cmake --build build
you can also only build one config if that is wanted cmake --build build --preset debug (debug|release|relwithdebinfo)
ctest --test-dir build/ -C Debug (Debug|Release|RelWithDebInfo)
Linux:
- ./build/src/app/Debug/TriangleCalculator --help
- ./build/src/app/Debug/TriangleCalculator -c 60 ? ? 5 ? 5