+ 5

Make and CMake

What is Make and CMake, Why do we need them and what can we do using them?

12th Jan 2019, 9:11 PM
GiGeNCo
GiGeNCo - avatar
7 Answers
+ 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
13th Jan 2019, 6:12 PM
Stefano Caiazza (Trisk)
Stefano Caiazza (Trisk) - avatar
0
Ace, Make executes Makefile scripts, CMake generates them.
13th Jan 2019, 6:04 PM
Stefano Caiazza (Trisk)
Stefano Caiazza (Trisk) - avatar
- 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?
13th Jan 2019, 7:48 AM
GiGeNCo
GiGeNCo - avatar