You can remove exe. Thus, it needs to be rebuilt, which is a simple link.
Although, if you use different libraries, you need different headers for them, if you need to delete objects - in this case, it is probably best to dive the rebuild of the main project.
Probably the most complete alternative, but the most difficult to implement, is to touch (i.e. change the timestamp of the change) the library and headers that you want to use, and then building Visual Studio will make a minimal build.
source share