Steps to generate the Makefile:
mkdir build
cd build
cmake ..
To compile we need to run make:
make
After running the above commands, you will see the calc
executable file inside the build directory.
A simple CMake
Steps to generate the Makefile:
mkdir build
cd build
cmake ..
To compile we need to run make:
make
After running the above commands, you will see the calc
executable file inside the build directory.
A simple CMake