My project is an EXE, and there is __declspec(dllexport) thus after linking a lib file is generated which takes a long time. Since I do not need this LIB file, I would like to disable it. What is the linker option that I should use to achieve this.

Creating library .\Debug/myproject.lib and object .\Debug/myproject.exp