Is there any way to get VS to print the compilation settings that it is
invoking as it is calling all the compiler tools, for instance
instead of
Compiling...
stdafx.cpp
myprog.cpp
Linking...
I want
cl.exe ...blah blah blah...
link.exe ...blah blah blah...
so I know what options it is using, in order to find out how it builds a
damn static library!
If I try compiling with /D"_LIB", it complains that entry point must be
defined, and tries to create an .exe. If I use /LDd, then it outputs a .LIB
file - fine, but it outputs a DLL aswell, and it's the DLL where the
functions are! I want ALL the functions to be in the .lib file, not just
their stubs. But I want to do this without using Visual Studio.
If a combination of cl.exe and link.exe can't create a static library, then
how the bloody hell does Visual Studio do it????!!!
Why don't I use Visual Studio you might ask? Well however immoral nicking it
is, to nick it for the purposes of building an application that I intend to
sell is something that I would be a bit hypocritical if I did - especially
when the application I'm building is to help other people build *their*
applications. So I'm sticking to the SDK.
Please DON'T say why don't I use the Express edition - answer, because it
can't create resource files which my application needs (and someone at
Microsoft has confirmed this to be an issue that isn't likely to be fixed, as
the resource editor relies on ATL in some way).