cmake build is easy now.

Generally in many repo using cmake. We do the following

git clone <repo>
cd <repo>
mkdir build
cd build
cmake .. # may be with more args. For now, KISS!
make

Now in the recent cmake version. We can do the last 4 steps in 2 lines.

# starting with CMake 3.13, use a simpler form:
cmake -S . -B "build" # -DCMAKE_BUILD_TYPE=Release
# Build the library.
cmake --build "build" # --config Release
★ 1 min read · Rajesh Pandian M · cmake , coding