I'm not sure I fully understood your question.
Compilation is only part of the build process (which consists of preprocessing, compilation, linking, and possibly others). It creates object files, which the linker then associates with the executable, so compilation is not enough.
If your question really is whether you should run a complete build of your software, sometimes you don’t need to, if you only changed the implementation files (.cpp), but if you also changed the declarations (i.e. the headers) then you most likely you will need to do this. In any case, you will have to completely create the affected component, and not just compile it.
Zdeslav vojkovic
source share