How to generate an import library for a .dll?

I’m trying to make a windows .dll work.
I’ve compiled a dll without any problems, but .lib(import library) is not appearing. I had a look juce_StandardHeader.h to see guts of JUCE_API just to see if it contains all necessary __declspec stuff, but it just seems to complex to me.
dumpbin of outcomming dll doesn’t contain any exported symbols, should dllimport/dllexport enabled by default and I’m doing something wrong?

It’s not really JUCE’s job to do anything for you in terms of how you deal with exported symbols - you’d that in whatever way suits you, as you would if you were writing a non-JUCE DLL.