make 和 make install 的区别
make 是编译,make install 是将编译后的包复制到指定文件夹。
参考链接:1
make 和 cmake 的区别
cmake
is a system to generate make files based on the platform (i.e. CMake is cross platform) which you can then make using the generated makefiles.
While make
is you directly writing Makefile for a specific platform that you are working with.
If your product is crossplatform, then cmake
is a better choice over make
. Since cmake
also supports a lot of other custom commands/rules, even if your product is not crossplatform, there is a good reason to choose cmake
as your make system.