make vs ninja
make vs ninja
In this blog post, we'll looking how to build c++ apps with make and ninja.
We'll be using cmake to create the build files.
Sample C++ Hello World Program
CMakeLists.txt file :
Cmake command to generate the build files for Unix Makefiles :
Cmake command to generate the build files for Ninja :
To build the application with make :
To Build the application with ninja