Usually .obj files are related to object files. This is the source file in its compiled form. For example, main.cpp and foo.cpp will create main.obj and foo.obj .
It is then that the task of the linkers binds them together so that main.obj can reach the functions defined in foo.obj and vice versa. The compiler will output your binary, which is .lib (or .a , or .exe , or .dll,, etc.).
So, in a free sense, yes, binary output ( .lib in your case) is a collection of related .obj files. After you finish compiling and want to use the library, you only need other programs to communicate with .lib . .obj is what is considered an intermediate file and is not required after the layout is complete.
source share