This is correct, a .lib file on Windows has a bunch of .obj files in it that you can then link together.
You can also use command files[1] to pass options in instead of using the command line.
[1] https://docs.microsoft.com/en-us/cpp/build/reference/linking... to pass