Note: Requires C++20 or newer.
- Clone the repository
- cd graph.cpp
- mkdir -p build
- cd build
- cmake ..
- cmake --build .
To set the compiler (for instance, if your system default G++ version does not support C++20), you can set environment variables:
export CXX=g++-11
export CC=gcc-11
First, follow the build process.
- cd build
- ./test_graph
First, follow the build process.
- cd build
- ./graph_main