I have a theoretical question about the difference between compile and build. I\'m programming in a c++ project that takes a lot of time to build, so I have told to do build
Compiling is the process of converting the high level code to machine level code
Building is the process of converting the high level language to a executable. It would involve compiling and linking .
In case of modification of a header file, the header file might affect several c++ files and hence to get a final executable you need to build it
There is no use in compiling alone as it does not produce the final excutable and hence you need to build always.