I have a large Visual Studio project with C and C++ code. The Target Extension is .dll and the Configuration Type is Dynamic Link Library. It builds the .dll just fine and outputs tons of .obj files. How do I get Visual Studio to give me one .lib (object library) file instead of tons of .obj files?
I've tried entering a value for the Import Library option but it doesn't change anything. I need the .lib because when I create a new test program referencing my .dll I get tons of error LNK2001: unresolved external symbol
errors, which indicates that I need the object library.
Close vote: this question is well within What topics can I ask here?