When I pop up context menu of a Delphi project's build configuration, I see menu items of "Make", "Build" and "Clean".
What is the different between "Make" and "Build"? It seems that both perform same task.
When I pop up context menu of a Delphi project's build configuration, I see menu items of "Make", "Build" and "Clean".
What is the different between "Make" and "Build"? It seems that both perform same task.
Note that make is actually a little more complex. A unit, let us say unitA, can require re-compilation during a make even if unitA has not changed. This happens when unitA uses another unit, unitB, and the interface section of unitB has changed since the last make or build.
The documentation for Build states:
Rebuilds all files in your current project regardless of whether they have changed. Building is useful when you are unsure which files have changed, or if you have changed project or compiler options.
The documentation for Make states:
Compiles only those files that have changed since the last build, as well as any files that depend on them.
Make compiles outdated modules (the ones that were changed since the last project compilation), while build (re)compiles all modules.
I would add a related information : what "Clean" do compared to "Build" and "Make". It appears to delete the "pre-compiled header" database.