+ 5
Make and CMake
What is Make and CMake, Why do we need them and what can we do using them?
7 ответов
+ 2
Make is a program, used on Unix machines, to executes a set of commands which can depend on one another's result specified in a Makefile with a specific syntax. It's simplest use in programming is to compile different files sequentially and link them once they are compiled.
https://en.m.wikipedia.org/wiki/Make_%28software%29?wprov=sfla1
CMake, on the other end is a system independent build generator. You can specify the dependency between different pieces of your program and it will create a build system with which you can create your program. For example on Unix it can simply generate a Makefile while on Windows could generate a visual studio project
0
Ace, Make executes Makefile scripts, CMake generates them.
- 1
Ace when we have a lot of object code file or archived code files and want to make one program make is easy way to build it? Does it correct?